public class HealthCheckConfig
extends java.lang.Object
implements java.io.Serializable
A complex type that contains the health check configuration.
| コンストラクタと説明 |
|---|
HealthCheckConfig() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFullyQualifiedDomainName()
Fully qualified domain name of the instance to be health checked.
|
java.lang.String |
getIPAddress()
IP Address of the instance being checked.
|
java.lang.Integer |
getPort()
Port on which connection will be opened to the instance to health
check.
|
java.lang.String |
getResourcePath()
Path to ping on the instance to check the health.
|
java.lang.String |
getType()
The type of health check to be performed.
|
int |
hashCode() |
void |
setFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.
|
void |
setIPAddress(java.lang.String iPAddress)
IP Address of the instance being checked.
|
void |
setPort(java.lang.Integer port)
Port on which connection will be opened to the instance to health
check.
|
void |
setResourcePath(java.lang.String resourcePath)
Path to ping on the instance to check the health.
|
void |
setType(HealthCheckType type)
The type of health check to be performed.
|
void |
setType(java.lang.String type)
The type of health check to be performed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HealthCheckConfig |
withFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.
|
HealthCheckConfig |
withIPAddress(java.lang.String iPAddress)
IP Address of the instance being checked.
|
HealthCheckConfig |
withPort(java.lang.Integer port)
Port on which connection will be opened to the instance to health
check.
|
HealthCheckConfig |
withResourcePath(java.lang.String resourcePath)
Path to ping on the instance to check the health.
|
HealthCheckConfig |
withType(HealthCheckType type)
The type of health check to be performed.
|
HealthCheckConfig |
withType(java.lang.String type)
The type of health check to be performed.
|
public java.lang.String getIPAddress()
Constraints:
Length: 0 - 15
Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
public void setIPAddress(java.lang.String iPAddress)
Constraints:
Length: 0 - 15
Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
iPAddress - IP Address of the instance being checked.public HealthCheckConfig withIPAddress(java.lang.String iPAddress)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 15
Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
iPAddress - IP Address of the instance being checked.public java.lang.Integer getPort()
Constraints:
Range: 1 - 65535
public void setPort(java.lang.Integer port)
Constraints:
Range: 1 - 65535
port - Port on which connection will be opened to the instance to health
check. For HTTP this defaults to 80 if the port is not specified.public HealthCheckConfig withPort(java.lang.Integer port)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 65535
port - Port on which connection will be opened to the instance to health
check. For HTTP this defaults to 80 if the port is not specified.public java.lang.String getType()
Constraints:
Allowed Values: HTTP, TCP
HealthCheckTypepublic void setType(java.lang.String type)
Constraints:
Allowed Values: HTTP, TCP
type - The type of health check to be performed. Currently supported
protocols are TCP and HTTP.HealthCheckTypepublic HealthCheckConfig withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: HTTP, TCP
type - The type of health check to be performed. Currently supported
protocols are TCP and HTTP.HealthCheckTypepublic void setType(HealthCheckType type)
Constraints:
Allowed Values: HTTP, TCP
type - The type of health check to be performed. Currently supported
protocols are TCP and HTTP.HealthCheckTypepublic HealthCheckConfig withType(HealthCheckType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: HTTP, TCP
type - The type of health check to be performed. Currently supported
protocols are TCP and HTTP.HealthCheckTypepublic java.lang.String getResourcePath()
Constraints:
Length: 0 - 255
public void setResourcePath(java.lang.String resourcePath)
Constraints:
Length: 0 - 255
resourcePath - Path to ping on the instance to check the health. Required only for
HTTP health checks, HTTP request is issued to the instance on the
given port and path.public HealthCheckConfig withResourcePath(java.lang.String resourcePath)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
resourcePath - Path to ping on the instance to check the health. Required only for
HTTP health checks, HTTP request is issued to the instance on the
given port and path.public java.lang.String getFullyQualifiedDomainName()
Constraints:
Length: 0 - 255
public void setFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
Constraints:
Length: 0 - 255
fullyQualifiedDomainName - Fully qualified domain name of the instance to be health checked.public HealthCheckConfig withFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
fullyQualifiedDomainName - Fully qualified domain name of the instance to be health checked.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object