Class UpdateHealthCheckRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.UpdateHealthCheckRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateHealthCheckRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
> A complex type that contains information about the request to update a health check.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateHealthCheckRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateHealthCheckRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)AlarmIdentifiergetAlarmIdentifier()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.StringgetHealthCheckId()The ID of the health check to update.LonggetHealthCheckVersion()Optional.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()BooleangetInverted()A boolean value that indicates whether the status of health check should be inverted.StringgetIPAddress()The IP address of the resource that you want to check.IntegergetPort()The port on which you want Amazon Route 53 to open a connection to perform health checks.List<String>getRegions()A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.StringgetResourcePath()The path that you want Amazon Route 53 to request when performing health checks.StringgetSearchString()If the value ofTypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource.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.voidsetAlarmIdentifier(AlarmIdentifier alarmIdentifier)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.voidsetHealthCheckId(String healthCheckId)The ID of the health check to update.voidsetHealthCheckVersion(Long healthCheckVersion)Optional.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)voidsetInsufficientDataHealthStatus(String insufficientDataHealthStatus)voidsetInverted(Boolean inverted)A boolean value that indicates whether the status of health check should be inverted.voidsetIPAddress(String iPAddress)The IP address of the resource that you want to check.voidsetPort(Integer port)The port on which you want Amazon Route 53 to open a connection to perform health checks.voidsetRegions(Collection<String> regions)A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.voidsetResourcePath(String resourcePath)The path that you want Amazon Route 53 to request when performing health checks.voidsetSearchString(String searchString)If the value ofTypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateHealthCheckRequestwithAlarmIdentifier(AlarmIdentifier alarmIdentifier)UpdateHealthCheckRequestwithChildHealthChecks(String... childHealthChecks)For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.UpdateHealthCheckRequestwithChildHealthChecks(Collection<String> childHealthChecks)For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.UpdateHealthCheckRequestwithEnableSNI(Boolean enableSNI)Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainNameto the endpoint in theclient_hellomessage during TLS negotiation.UpdateHealthCheckRequestwithFailureThreshold(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.UpdateHealthCheckRequestwithFullyQualifiedDomainName(String fullyQualifiedDomainName)Fully qualified domain name of the instance to be health checked.UpdateHealthCheckRequestwithHealthCheckId(String healthCheckId)The ID of the health check to update.UpdateHealthCheckRequestwithHealthCheckVersion(Long healthCheckVersion)Optional.UpdateHealthCheckRequestwithHealthThreshold(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.UpdateHealthCheckRequestwithInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)UpdateHealthCheckRequestwithInsufficientDataHealthStatus(String insufficientDataHealthStatus)UpdateHealthCheckRequestwithInverted(Boolean inverted)A boolean value that indicates whether the status of health check should be inverted.UpdateHealthCheckRequestwithIPAddress(String iPAddress)The IP address of the resource that you want to check.UpdateHealthCheckRequestwithPort(Integer port)The port on which you want Amazon Route 53 to open a connection to perform health checks.UpdateHealthCheckRequestwithRegions(HealthCheckRegion... regions)A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequestwithRegions(String... regions)A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequestwithRegions(Collection<String> regions)A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequestwithResourcePath(String resourcePath)The path that you want Amazon Route 53 to request when performing health checks.UpdateHealthCheckRequestwithSearchString(String searchString)If the value ofTypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setHealthCheckId
public void setHealthCheckId(String healthCheckId)
The ID of the health check to update.
- Parameters:
healthCheckId- The ID of the health check to update.
-
getHealthCheckId
public String getHealthCheckId()
The ID of the health check to update.
- Returns:
- The ID of the health check to update.
-
withHealthCheckId
public UpdateHealthCheckRequest withHealthCheckId(String healthCheckId)
The ID of the health check to update.
- Parameters:
healthCheckId- The ID of the health check to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthCheckVersion
public void setHealthCheckVersion(Long healthCheckVersion)
Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. Using
HealthCheckVersionlets you prevent overwriting another change to the health check.- Parameters:
healthCheckVersion- Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. UsingHealthCheckVersionlets you prevent overwriting another change to the health check.
-
getHealthCheckVersion
public Long getHealthCheckVersion()
Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. Using
HealthCheckVersionlets you prevent overwriting another change to the health check.- Returns:
- Optional. When you specify a health check version, Amazon Route
53 compares this value with the current value in the health
check, which prevents you from updating the health check when the
versions don't match. Using
HealthCheckVersionlets you prevent overwriting another change to the health check.
-
withHealthCheckVersion
public UpdateHealthCheckRequest withHealthCheckVersion(Long healthCheckVersion)
Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. Using
HealthCheckVersionlets you prevent overwriting another change to the health check.- Parameters:
healthCheckVersion- Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don't match. UsingHealthCheckVersionlets you prevent overwriting another change to the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIPAddress
public void setIPAddress(String iPAddress)
The IP address of the resource that you want to check.
Specify this value only if you want to change it.
- Parameters:
iPAddress- The IP address of the resource that you want to check.Specify this value only if you want to change it.
-
getIPAddress
public String getIPAddress()
The IP address of the resource that you want to check.
Specify this value only if you want to change it.
- Returns:
- The IP address of the resource that you want to check.
Specify this value only if you want to change it.
-
withIPAddress
public UpdateHealthCheckRequest withIPAddress(String iPAddress)
The IP address of the resource that you want to check.
Specify this value only if you want to change it.
- Parameters:
iPAddress- The IP address of the resource that you want to check.Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
public void setPort(Integer port)
The port on which you want Amazon Route 53 to open a connection to perform health checks.
Specify this value only if you want to change it.
- Parameters:
port- The port on which you want Amazon Route 53 to open a connection to perform health checks.Specify this value only if you want to change it.
-
getPort
public Integer getPort()
The port on which you want Amazon Route 53 to open a connection to perform health checks.
Specify this value only if you want to change it.
- Returns:
- The port on which you want Amazon Route 53 to open a connection
to perform health checks.
Specify this value only if you want to change it.
-
withPort
public UpdateHealthCheckRequest withPort(Integer port)
The port on which you want Amazon Route 53 to open a connection to perform health checks.
Specify this value only if you want to change it.
- Parameters:
port- The port on which you want Amazon Route 53 to open a connection to perform health checks.Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourcePath
public void setResourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.
Specify this value only if you want to change it.
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.Specify this value only if you want to change it.
-
getResourcePath
public String getResourcePath()
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.
Specify this value only if you want to change it.
- Returns:
- The path that you want Amazon Route 53 to request when performing
health checks. The path can be any value for which your endpoint
will return an HTTP status code of 2xx or 3xx when the endpoint
is healthy, for example the file /docs/route53-health-check.html.
Specify this value only if you want to change it.
-
withResourcePath
public UpdateHealthCheckRequest withResourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.
Specify this value only if you want to change it.
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html.Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
- Parameters:
fullyQualifiedDomainName- Fully qualified domain name of the instance to be health checked.Specify this value only if you want to change it.
-
getFullyQualifiedDomainName
public String getFullyQualifiedDomainName()
Fully qualified domain name of the instance to be health checked.
Specify this value only if you want to change it.
- Returns:
- Fully qualified domain name of the instance to be health
checked.
Specify this value only if you want to change it.
-
withFullyQualifiedDomainName
public UpdateHealthCheckRequest withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.
Specify this value only if you want to change it.
- Parameters:
fullyQualifiedDomainName- Fully qualified domain name of the instance to be health checked.Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSearchString
public void setSearchString(String searchString)
If the value of
TypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
- Parameters:
searchString- If the value ofTypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
-
getSearchString
public String getSearchString()
If the value of
TypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
- Returns:
- If the value of
TypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
-
withSearchString
public UpdateHealthCheckRequest withSearchString(String searchString)
If the value of
TypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
- Parameters:
searchString- If the value ofTypeisHTTP_STR_MATCHorHTTP_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching forSearchStringin the response body.Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
-
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.
Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
-
withFailureThreshold
public UpdateHealthCheckRequest 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.
Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
withInverted
public UpdateHealthCheckRequest 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
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.
Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
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.
Specify this value only if you want to change it.
- 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.
Specify this value only if you want to change it.
-
withHealthThreshold
public UpdateHealthCheckRequest 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.
Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- Returns:
- For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
-
setChildHealthChecks
public void setChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
- Parameters:
childHealthChecks- For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
-
withChildHealthChecks
public UpdateHealthCheckRequest withChildHealthChecks(String... childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
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.Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withChildHealthChecks
public UpdateHealthCheckRequest withChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list of
HealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
- Parameters:
childHealthChecks- For a specified parent health check, a list ofHealthCheckIdvalues for the associated child health checks.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
withEnableSNI
public UpdateHealthCheckRequest 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
- 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.Specify this value only if you want to change it.
-
getRegions
public List<String> getRegions()
A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Returns:
- A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- See Also:
HealthCheckRegion
-
setRegions
public void setRegions(Collection<String> regions)
A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Parameters:
regions- A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- See Also:
HealthCheckRegion
-
withRegions
public UpdateHealthCheckRequest withRegions(String... regions)
A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
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 specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
withRegions
public UpdateHealthCheckRequest withRegions(Collection<String> regions)
A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Parameters:
regions- A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
withRegions
public UpdateHealthCheckRequest withRegions(HealthCheckRegion... regions)
A list of
HealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Parameters:
regions- A list ofHealthCheckRegionvalues that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region. Specify this value only if you want to change it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthCheckRegion
-
setAlarmIdentifier
public void setAlarmIdentifier(AlarmIdentifier alarmIdentifier)
- Parameters:
alarmIdentifier-
-
getAlarmIdentifier
public AlarmIdentifier getAlarmIdentifier()
- Returns:
-
withAlarmIdentifier
public UpdateHealthCheckRequest withAlarmIdentifier(AlarmIdentifier alarmIdentifier)
- Parameters:
alarmIdentifier-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInsufficientDataHealthStatus
public void setInsufficientDataHealthStatus(String insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus-- See Also:
InsufficientDataHealthStatus
-
getInsufficientDataHealthStatus
public String getInsufficientDataHealthStatus()
- Returns:
- See Also:
InsufficientDataHealthStatus
-
withInsufficientDataHealthStatus
public UpdateHealthCheckRequest withInsufficientDataHealthStatus(String insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsufficientDataHealthStatus
-
setInsufficientDataHealthStatus
public void setInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus-- See Also:
InsufficientDataHealthStatus
-
withInsufficientDataHealthStatus
public UpdateHealthCheckRequest withInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus-- 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 UpdateHealthCheckRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-