Class HealthCheckConfig
- java.lang.Object
-
- com.amazonaws.services.route53.model.HealthCheckConfig
-
- All Implemented Interfaces:
Serializable,Cloneable
public class HealthCheckConfig extends Object implements Serializable, Cloneable
A complex type that contains the health check configuration.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HealthCheckConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckConfigclone()booleanequals(Object obj)AlarmIdentifiergetAlarmIdentifier()A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.List<String>getChildHealthChecks()For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.BooleangetEnableSNI()Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation.IntegergetFailureThreshold()The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.StringgetFullyQualifiedDomainName()Fully qualified domain name of the instance to be health checked.IntegergetHealthThreshold()The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy.StringgetInsufficientDataHealthStatus()The status of the health check when CloudWatch has insufficient data about the state of associated alarm.BooleangetInverted()A boolean value that indicates whether the status of health check should be inverted.StringgetIPAddress()IP Address of the instance being checked.BooleangetMeasureLatency()A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.IntegergetPort()Port on which connection will be opened to the instance to health check.List<String>getRegions()A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint.IntegergetRequestInterval()The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.StringgetResourcePath()Path to ping on the instance to check the health.StringgetSearchString()A string to search for in the body of a health check response.StringgetType()The type of health check to be performed.inthashCode()BooleanisEnableSNI()Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation.BooleanisInverted()A boolean value that indicates whether the status of health check should be inverted.BooleanisMeasureLatency()A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.voidsetAlarmIdentifier(AlarmIdentifier alarmIdentifier)A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.voidsetChildHealthChecks(Collection<String> childHealthChecks)For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.voidsetEnableSNI(Boolean enableSNI)Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation.voidsetFailureThreshold(Integer failureThreshold)The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.voidsetFullyQualifiedDomainName(String fullyQualifiedDomainName)Fully qualified domain name of the instance to be health checked.voidsetHealthThreshold(Integer healthThreshold)The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy.voidsetInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)The status of the health check when CloudWatch has insufficient data about the state of associated alarm.voidsetInsufficientDataHealthStatus(String insufficientDataHealthStatus)The status of the health check when CloudWatch has insufficient data about the state of associated alarm.voidsetInverted(Boolean inverted)A boolean value that indicates whether the status of health check should be inverted.voidsetIPAddress(String iPAddress)IP Address of the instance being checked.voidsetMeasureLatency(Boolean measureLatency)A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.voidsetPort(Integer port)Port on which connection will be opened to the instance to health check.voidsetRegions(Collection<String> regions)A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint.voidsetRequestInterval(Integer requestInterval)The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.voidsetResourcePath(String resourcePath)Path to ping on the instance to check the health.voidsetSearchString(String searchString)A string to search for in the body of a health check response.voidsetType(HealthCheckType type)The type of health check to be performed.voidsetType(String type)The type of health check to be performed.StringtoString()Returns a string representation of this object; useful for testing and debugging.HealthCheckConfigwithAlarmIdentifier(AlarmIdentifier alarmIdentifier)A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.HealthCheckConfigwithChildHealthChecks(String... childHealthChecks)For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.HealthCheckConfigwithChildHealthChecks(Collection<String> childHealthChecks)For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.HealthCheckConfigwithEnableSNI(Boolean enableSNI)Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation.HealthCheckConfigwithFailureThreshold(Integer failureThreshold)The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.HealthCheckConfigwithFullyQualifiedDomainName(String fullyQualifiedDomainName)Fully qualified domain name of the instance to be health checked.HealthCheckConfigwithHealthThreshold(Integer healthThreshold)The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy.HealthCheckConfigwithInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)The status of the health check when CloudWatch has insufficient data about the state of associated alarm.HealthCheckConfigwithInsufficientDataHealthStatus(String insufficientDataHealthStatus)The status of the health check when CloudWatch has insufficient data about the state of associated alarm.HealthCheckConfigwithInverted(Boolean inverted)A boolean value that indicates whether the status of health check should be inverted.HealthCheckConfigwithIPAddress(String iPAddress)IP Address of the instance being checked.HealthCheckConfigwithMeasureLatency(Boolean measureLatency)A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.HealthCheckConfigwithPort(Integer port)Port on which connection will be opened to the instance to health check.HealthCheckConfigwithRegions(HealthCheckRegion... regions)A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint.HealthCheckConfigwithRegions(String... regions)A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint.HealthCheckConfigwithRegions(Collection<String> regions)A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint.HealthCheckConfigwithRequestInterval(Integer requestInterval)The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.HealthCheckConfigwithResourcePath(String resourcePath)Path to ping on the instance to check the health.HealthCheckConfigwithSearchString(String searchString)A string to search for in the body of a health check response.HealthCheckConfigwithType(HealthCheckType type)The type of health check to be performed.HealthCheckConfigwithType(String type)The type of health check to be performed.
-
-
-
Method Detail
-
setIPAddress
public void setIPAddress(String iPAddress)
IP Address of the instance being checked.
- Parameters:
iPAddress- IP Address of the instance being checked.
-
getIPAddress
public String getIPAddress()
IP Address of the instance being checked.
- Returns:
- IP Address of the instance being checked.
-
withIPAddress
public HealthCheckConfig withIPAddress(String iPAddress)
IP Address of the instance being checked.
- Parameters:
iPAddress- IP Address of the instance being checked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
public void setPort(Integer port)
Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
- Parameters:
port- Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
-
getPort
public Integer getPort()
Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
- Returns:
- Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
-
withPort
public HealthCheckConfig withPort(Integer port)
Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.
- Parameters:
port- Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
public void setType(String type)
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- Parameters:
type- The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.- See Also:
HealthCheckType
-
getType
public String getType()
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- Returns:
- The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- See Also:
HealthCheckType
-
withType
public HealthCheckConfig withType(String type)
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- Parameters:
type- The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckType
-
setType
public void setType(HealthCheckType type)
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- Parameters:
type- The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.- See Also:
HealthCheckType
-
withType
public HealthCheckConfig withType(HealthCheckType type)
The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.
- Parameters:
type- The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckType
-
setResourcePath
public void setResourcePath(String resourcePath)
Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.
- Parameters:
resourcePath- Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.
-
getResourcePath
public String getResourcePath()
Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.
- Returns:
- Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.
-
withResourcePath
public HealthCheckConfig withResourcePath(String resourcePath)
Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.
- Parameters:
resourcePath- Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFullyQualifiedDomainName
public void setFullyQualifiedDomainName(String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.
- Parameters:
fullyQualifiedDomainName- Fully qualified domain name of the instance to be health checked.
-
getFullyQualifiedDomainName
public String getFullyQualifiedDomainName()
Fully qualified domain name of the instance to be health checked.
- Returns:
- Fully qualified domain name of the instance to be health checked.
-
withFullyQualifiedDomainName
public HealthCheckConfig withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.
- Parameters:
fullyQualifiedDomainName- Fully qualified domain name of the instance to be health checked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSearchString
public void setSearchString(String searchString)
A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching for
SearchStringin the response body.- Parameters:
searchString- A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching forSearchStringin the response body.
-
getSearchString
public String getSearchString()
A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching for
SearchStringin the response body.- Returns:
- A string to search for in the body of a health check response.
Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks.
Amazon Route 53 considers case when searching for
SearchStringin the response body.
-
withSearchString
public HealthCheckConfig withSearchString(String searchString)
A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching for
SearchStringin the response body.- Parameters:
searchString- A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching forSearchStringin the response body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequestInterval
public void setRequestInterval(Integer requestInterval)
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
-
getRequestInterval
public Integer getRequestInterval()
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
- Returns:
- The number of seconds between the time that Amazon Route 53 gets
a response from your endpoint and the time that it sends the next
health-check request.
Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
-
withRequestInterval
public HealthCheckConfig withRequestInterval(Integer requestInterval)
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailureThreshold
public void setFailureThreshold(Integer failureThreshold)
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
-
getFailureThreshold
public Integer getFailureThreshold()
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
- Returns:
- The number of consecutive health checks that an endpoint must
pass or fail for Amazon Route 53 to change the current status of
the endpoint from unhealthy to healthy or vice versa.
Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
-
withFailureThreshold
public HealthCheckConfig withFailureThreshold(Integer failureThreshold)
The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.
Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa.Valid values are integers between 1 and 10. For more information, see "How Amazon Route 53 Determines Whether an Endpoint Is Healthy" in the Amazon Route 53 Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMeasureLatency
public void setMeasureLatency(Boolean measureLatency)
A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
- Parameters:
measureLatency- A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
-
getMeasureLatency
public Boolean getMeasureLatency()
A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
- Returns:
- A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
-
withMeasureLatency
public HealthCheckConfig withMeasureLatency(Boolean measureLatency)
A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
- Parameters:
measureLatency- A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMeasureLatency
public Boolean isMeasureLatency()
A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
- Returns:
- A Boolean value that indicates whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Amazon Route 53 console.
-
setInverted
public void setInverted(Boolean inverted)
A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.- Parameters:
inverted- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy butInvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.
-
getInverted
public Boolean getInverted()
A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.- Returns:
- A boolean value that indicates whether the status of health check
should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.
-
withInverted
public HealthCheckConfig withInverted(Boolean inverted)
A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.- Parameters:
inverted- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy butInvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isInverted
public Boolean isInverted()
A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.- Returns:
- A boolean value that indicates whether the status of health check
should be inverted. For example, if a health check is healthy but
InvertedisTrue, then Amazon Route 53 considers the health check to be unhealthy.
-
setHealthThreshold
public void setHealthThreshold(Integer healthThreshold)
The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.
- Parameters:
healthThreshold- The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.
-
getHealthThreshold
public Integer getHealthThreshold()
The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.
- Returns:
- The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.
-
withHealthThreshold
public HealthCheckConfig withHealthThreshold(Integer healthThreshold)
The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.
- Parameters:
healthThreshold- The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getChildHealthChecks
public List<String> getChildHealthChecks()
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.- Returns:
- For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.
-
setChildHealthChecks
public void setChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.- Parameters:
childHealthChecks- For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.
-
withChildHealthChecks
public HealthCheckConfig withChildHealthChecks(String... childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.NOTE: This method appends the values to the existing list (if any). Use
setChildHealthChecks(java.util.Collection)orwithChildHealthChecks(java.util.Collection)if you want to override the existing values.- Parameters:
childHealthChecks- For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withChildHealthChecks
public HealthCheckConfig withChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.- Parameters:
childHealthChecks- For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnableSNI
public void setEnableSNI(Boolean enableSNI)
Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.- Parameters:
enableSNI- Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.
-
getEnableSNI
public Boolean getEnableSNI()
Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.- Returns:
- Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.
-
withEnableSNI
public HealthCheckConfig withEnableSNI(Boolean enableSNI)
Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.- Parameters:
enableSNI- Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableSNI
public Boolean isEnableSNI()
Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.- Returns:
- Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation. If you don't specify a value forEnableSNI, Amazon Route 53 defaults totruewhenTypeisHTTPSorHTTPS_STR_MATCHand defaults tofalsewhenTypeis any other value.
-
getRegions
public List<String> getRegions()
A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Returns:
- A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions. - See Also:
HealthCheckRegion
-
setRegions
public void setRegions(Collection<String> regions)
A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Parameters:
regions- A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- See Also:
HealthCheckRegion
-
withRegions
public HealthCheckConfig withRegions(String... regions)
A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)orwithRegions(java.util.Collection)if you want to override the existing values.- Parameters:
regions- A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
withRegions
public HealthCheckConfig withRegions(Collection<String> regions)
A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Parameters:
regions- A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
withRegions
public HealthCheckConfig withRegions(HealthCheckRegion... regions)
A list of
HealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Parameters:
regions- A list ofHealthCheckRegionvalues that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
setAlarmIdentifier
public void setAlarmIdentifier(AlarmIdentifier alarmIdentifier)
A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
- Parameters:
alarmIdentifier- A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
-
getAlarmIdentifier
public AlarmIdentifier getAlarmIdentifier()
A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
- Returns:
- A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
-
withAlarmIdentifier
public HealthCheckConfig withAlarmIdentifier(AlarmIdentifier alarmIdentifier)
A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.
- Parameters:
alarmIdentifier- A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInsufficientDataHealthStatus
public void setInsufficientDataHealthStatus(String insufficientDataHealthStatus)
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus.- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values areHealthy,UnhealthyandLastKnownStatus.- See Also:
InsufficientDataHealthStatus
-
getInsufficientDataHealthStatus
public String getInsufficientDataHealthStatus()
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus.- Returns:
- The status of the health check when CloudWatch has insufficient
data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus. - See Also:
InsufficientDataHealthStatus
-
withInsufficientDataHealthStatus
public HealthCheckConfig withInsufficientDataHealthStatus(String insufficientDataHealthStatus)
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus.- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values areHealthy,UnhealthyandLastKnownStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsufficientDataHealthStatus
-
setInsufficientDataHealthStatus
public void setInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus.- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values areHealthy,UnhealthyandLastKnownStatus.- See Also:
InsufficientDataHealthStatus
-
withInsufficientDataHealthStatus
public HealthCheckConfig withInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are
Healthy,UnhealthyandLastKnownStatus.- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values areHealthy,UnhealthyandLastKnownStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsufficientDataHealthStatus
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HealthCheckConfig clone()
-
-