public static final class LbHttpsMonitor.Builder
extends java.lang.Object
LbHttpsMonitor
.Constructor and Description |
---|
Builder(java.lang.String resourceType)
Constructor with parameters for the required properties of
LbHttpsMonitor . |
Modifier and Type | Method and Description |
---|---|
LbHttpsMonitor |
build() |
LbHttpsMonitor.Builder |
setCertificateChainDepth(java.lang.Long certificateChainDepth)
authentication depth is used to set the verification depth in the server
certificates chain.
|
LbHttpsMonitor.Builder |
setCipherGroupLabel(java.lang.String cipherGroupLabel)
Possible values are:
LbHttpsMonitor.CIPHER_GROUP_LABEL_BALANCED
LbHttpsMonitor.CIPHER_GROUP_LABEL_HIGH_SECURITY
LbHttpsMonitor.CIPHER_GROUP_LABEL_HIGH_COMPATIBILITY
LbHttpsMonitor.CIPHER_GROUP_LABEL_CUSTOM
It is a label of cipher group which is mostly consumed by GUI. |
LbHttpsMonitor.Builder |
setCiphers(java.util.List<java.lang.String> ciphers)
Possible values are:
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_CBC_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_GCM_SHA384
supported SSL cipher list to servers |
LbHttpsMonitor.Builder |
setClientCertificateId(java.lang.String clientCertificateId)
client certificate can be specified to support client authentication.
|
LbHttpsMonitor.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setDescription(java.lang.String description)
Description of this resource
|
LbHttpsMonitor.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LbHttpsMonitor.Builder |
setFallCount(java.lang.Long fallCount)
num of consecutive checks must fail before marking it down format: int64
|
LbHttpsMonitor.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
LbHttpsMonitor.Builder |
setInterval(java.lang.Long interval)
the frequency at which the system issues the monitor check (in second) format:
int64
|
LbHttpsMonitor.Builder |
setIsFips(java.lang.Boolean isFips)
This flag is set to true when all the ciphers and protocols are FIPS compliant.
|
LbHttpsMonitor.Builder |
setIsSecure(java.lang.Boolean isSecure)
This flag is set to true when all the ciphers and protocols are secure.
|
LbHttpsMonitor.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LbHttpsMonitor.Builder |
setMonitorPort(java.lang.String monitorPort)
If the monitor port is specified, it would override pool member port setting for
healthcheck.
|
LbHttpsMonitor.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
LbHttpsMonitor.Builder |
setProtocols(java.util.List<java.lang.String> protocols)
Possible values are:
LbHttpsMonitor.PROTOCOLS_SSL_V2 LbHttpsMonitor.PROTOCOLS_SSL_V3 LbHttpsMonitor.PROTOCOLS_TLS_V1 LbHttpsMonitor.PROTOCOLS_TLS_V1_1 LbHttpsMonitor.PROTOCOLS_TLS_V1_2 SSL versions
TLS1.1 and TLS1.2 are supported and enabled by default. |
LbHttpsMonitor.Builder |
setRequestBody(java.lang.String requestBody)
String to send as part of HTTP health check request body.
|
LbHttpsMonitor.Builder |
setRequestHeaders(java.util.List<LbHttpRequestHeader> requestHeaders)
Array of HTTP request headers
|
LbHttpsMonitor.Builder |
setRequestMethod(java.lang.String requestMethod)
Possible values are:
LbHttpsMonitor.REQUEST_METHOD_GET LbHttpsMonitor.REQUEST_METHOD_OPTIONS LbHttpsMonitor.REQUEST_METHOD_POST LbHttpsMonitor.REQUEST_METHOD_HEAD LbHttpsMonitor.REQUEST_METHOD_PUT the health
check method for HTTP monitor type |
LbHttpsMonitor.Builder |
setRequestUrl(java.lang.String requestUrl)
URL used for HTTP monitor
|
LbHttpsMonitor.Builder |
setRequestVersion(java.lang.String requestVersion)
Possible values are:
LbHttpsMonitor.REQUEST_VERSION_0 LbHttpsMonitor.REQUEST_VERSION_1 HTTP request
version |
LbHttpsMonitor.Builder |
setResponseBody(java.lang.String responseBody)
If HTTP response body match string (regular expressions not supported) is
specified (using LbHttpMonitor.response_body) then the healthcheck HTTP response
body is matched against the specified string and server is considered healthy
only if there is a match.
|
LbHttpsMonitor.Builder |
setResponseStatusCodes(java.util.List<java.lang.Long> responseStatusCodes)
The HTTP response status code should be a valid HTTP status code.
|
LbHttpsMonitor.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LbHttpsMonitor.Builder |
setRiseCount(java.lang.Long riseCount)
num of consecutive checks must pass before marking it up format: int64
|
LbHttpsMonitor.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setSelf(SelfResourceLink self) |
LbHttpsMonitor.Builder |
setServerAuth(java.lang.String serverAuth)
Possible values are:
LbHttpsMonitor.SERVER_AUTH_REQUIRED LbHttpsMonitor.SERVER_AUTH_IGNORE server
authentication mode |
LbHttpsMonitor.Builder |
setServerAuthCaIds(java.util.List<java.lang.String> serverAuthCaIds)
If server auth type is REQUIRED, server certificate must be signed by one of the
trusted Certificate Authorities (CAs), also referred to as root CAs, whose self
signed certificates are specified.
|
LbHttpsMonitor.Builder |
setServerAuthCrlIds(java.util.List<java.lang.String> serverAuthCrlIds)
A Certificate Revocation List (CRL) can be specified in the server-side SSL
profile binding to disallow compromised server certificates.
|
LbHttpsMonitor.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbHttpsMonitor.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
LbHttpsMonitor.Builder |
setTimeout(java.lang.Long timeout)
the number of seconds the target has in which to respond to the monitor request
format: int64
|
public Builder(java.lang.String resourceType)
LbHttpsMonitor
.public LbHttpsMonitor.Builder setCertificateChainDepth(java.lang.Long certificateChainDepth)
certificateChainDepth
- New value for the property.public LbHttpsMonitor.Builder setCipherGroupLabel(java.lang.String cipherGroupLabel)
cipherGroupLabel
- New value for the property.public LbHttpsMonitor.Builder setCiphers(java.util.List<java.lang.String> ciphers)
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_RSA_WITH_3DES_EDE_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_CBC_SHA256
LbHttpsMonitor.CIPHERS_RSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_CBC_SHA256
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_128_GCM_SHA256
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_CBC_SHA384
LbHttpsMonitor.CIPHERS_ECDH_RSA_WITH_AES_256_GCM_SHA384
ciphers
- New value for the property.public LbHttpsMonitor.Builder setClientCertificateId(java.lang.String clientCertificateId)
clientCertificateId
- New value for the property.public LbHttpsMonitor.Builder setIsFips(java.lang.Boolean isFips)
isFips
- New value for the property.public LbHttpsMonitor.Builder setIsSecure(java.lang.Boolean isSecure)
isSecure
- New value for the property.public LbHttpsMonitor.Builder setProtocols(java.util.List<java.lang.String> protocols)
protocols
- New value for the property.public LbHttpsMonitor.Builder setRequestBody(java.lang.String requestBody)
requestBody
- New value for the property.public LbHttpsMonitor.Builder setRequestHeaders(java.util.List<LbHttpRequestHeader> requestHeaders)
requestHeaders
- New value for the property.public LbHttpsMonitor.Builder setRequestMethod(java.lang.String requestMethod)
requestMethod
- New value for the property.public LbHttpsMonitor.Builder setRequestUrl(java.lang.String requestUrl)
requestUrl
- New value for the property.public LbHttpsMonitor.Builder setRequestVersion(java.lang.String requestVersion)
requestVersion
- New value for the property.public LbHttpsMonitor.Builder setResponseBody(java.lang.String responseBody)
responseBody
- New value for the property.public LbHttpsMonitor.Builder setResponseStatusCodes(java.util.List<java.lang.Long> responseStatusCodes)
responseStatusCodes
- New value for the property.public LbHttpsMonitor.Builder setServerAuth(java.lang.String serverAuth)
serverAuth
- New value for the property.public LbHttpsMonitor.Builder setServerAuthCaIds(java.util.List<java.lang.String> serverAuthCaIds)
serverAuthCaIds
- New value for the property.public LbHttpsMonitor.Builder setServerAuthCrlIds(java.util.List<java.lang.String> serverAuthCrlIds)
serverAuthCrlIds
- New value for the property.public LbHttpsMonitor.Builder setFallCount(java.lang.Long fallCount)
fallCount
- New value for the property.public LbHttpsMonitor.Builder setInterval(java.lang.Long interval)
interval
- New value for the property.public LbHttpsMonitor.Builder setMonitorPort(java.lang.String monitorPort)
monitorPort
- New value for the property.public LbHttpsMonitor.Builder setRiseCount(java.lang.Long riseCount)
riseCount
- New value for the property.public LbHttpsMonitor.Builder setTimeout(java.lang.Long timeout)
timeout
- New value for the property.public LbHttpsMonitor.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public LbHttpsMonitor.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public LbHttpsMonitor.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public LbHttpsMonitor.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public LbHttpsMonitor.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public LbHttpsMonitor.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public LbHttpsMonitor.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public LbHttpsMonitor.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public LbHttpsMonitor.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public LbHttpsMonitor.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public LbHttpsMonitor.Builder setDescription(java.lang.String description)
description
- New value for the property.public LbHttpsMonitor.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public LbHttpsMonitor.Builder setId(java.lang.String id)
id
- New value for the property.public LbHttpsMonitor.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public LbHttpsMonitor build()