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 UpdateHealthCheckRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
AlarmIdentifier
getAlarmIdentifier()
List<String>
getChildHealthChecks()
For a specified parent health check, a list ofHealthCheckId
values for the associated child health checks.Boolean
getEnableSNI()
Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation.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.String
getFullyQualifiedDomainName()
Fully qualified domain name of the instance to be health checked.String
getHealthCheckId()
The ID of the health check to update.Long
getHealthCheckVersion()
Optional.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.String
getInsufficientDataHealthStatus()
Boolean
getInverted()
A boolean value that indicates whether the status of health check should be inverted.String
getIPAddress()
The IP address of the resource that you want to check.Integer
getPort()
The port on which you want Amazon Route 53 to open a connection to perform health checks.List<String>
getRegions()
A list ofHealthCheckRegion
values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.String
getResourcePath()
The path that you want Amazon Route 53 to request when performing health checks.String
getSearchString()
If the value ofType
isHTTP_STR_MATCH
orHTTP_STR_MATCH
, the string that you want Amazon Route 53 to search for in the response body from the specified resource.int
hashCode()
Boolean
isEnableSNI()
Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation.Boolean
isInverted()
A boolean value that indicates whether the status of health check should be inverted.void
setAlarmIdentifier(AlarmIdentifier alarmIdentifier)
void
setChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list ofHealthCheckId
values for the associated child health checks.void
setEnableSNI(Boolean enableSNI)
Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation.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.void
setFullyQualifiedDomainName(String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.void
setHealthCheckId(String healthCheckId)
The ID of the health check to update.void
setHealthCheckVersion(Long healthCheckVersion)
Optional.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.void
setInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
void
setInsufficientDataHealthStatus(String insufficientDataHealthStatus)
void
setInverted(Boolean inverted)
A boolean value that indicates whether the status of health check should be inverted.void
setIPAddress(String iPAddress)
The IP address of the resource that you want to check.void
setPort(Integer port)
The port on which you want Amazon Route 53 to open a connection to perform health checks.void
setRegions(Collection<String> regions)
A list ofHealthCheckRegion
values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.void
setResourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks.void
setSearchString(String searchString)
If the value ofType
isHTTP_STR_MATCH
orHTTP_STR_MATCH
, the string that you want Amazon Route 53 to search for in the response body from the specified resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateHealthCheckRequest
withAlarmIdentifier(AlarmIdentifier alarmIdentifier)
UpdateHealthCheckRequest
withChildHealthChecks(String... childHealthChecks)
For a specified parent health check, a list ofHealthCheckId
values for the associated child health checks.UpdateHealthCheckRequest
withChildHealthChecks(Collection<String> childHealthChecks)
For a specified parent health check, a list ofHealthCheckId
values for the associated child health checks.UpdateHealthCheckRequest
withEnableSNI(Boolean enableSNI)
Specify whether you want Amazon Route 53 to send the value ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation.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.UpdateHealthCheckRequest
withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Fully qualified domain name of the instance to be health checked.UpdateHealthCheckRequest
withHealthCheckId(String healthCheckId)
The ID of the health check to update.UpdateHealthCheckRequest
withHealthCheckVersion(Long healthCheckVersion)
Optional.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.UpdateHealthCheckRequest
withInsufficientDataHealthStatus(InsufficientDataHealthStatus insufficientDataHealthStatus)
UpdateHealthCheckRequest
withInsufficientDataHealthStatus(String insufficientDataHealthStatus)
UpdateHealthCheckRequest
withInverted(Boolean inverted)
A boolean value that indicates whether the status of health check should be inverted.UpdateHealthCheckRequest
withIPAddress(String iPAddress)
The IP address of the resource that you want to check.UpdateHealthCheckRequest
withPort(Integer port)
The port on which you want Amazon Route 53 to open a connection to perform health checks.UpdateHealthCheckRequest
withRegions(HealthCheckRegion... regions)
A list ofHealthCheckRegion
values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequest
withRegions(String... regions)
A list ofHealthCheckRegion
values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequest
withRegions(Collection<String> regions)
A list ofHealthCheckRegion
values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks.UpdateHealthCheckRequest
withResourcePath(String resourcePath)
The path that you want Amazon Route 53 to request when performing health checks.UpdateHealthCheckRequest
withSearchString(String searchString)
If the value ofType
isHTTP_STR_MATCH
orHTTP_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
HealthCheckVersion
lets 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. UsingHealthCheckVersion
lets 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
HealthCheckVersion
lets 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
HealthCheckVersion
lets 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
HealthCheckVersion
lets 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. UsingHealthCheckVersion
lets 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
Type
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.Specify this value only if you want to change it.
- Parameters:
searchString
- If the value ofType
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.Specify this value only if you want to change it.
-
getSearchString
public String getSearchString()
If the value of
Type
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.Specify this value only if you want to change it.
- Returns:
- If the value of
Type
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.Specify this value only if you want to change it.
-
withSearchString
public UpdateHealthCheckRequest withSearchString(String searchString)
If the value of
Type
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in the response body.Specify this value only if you want to change it.
- Parameters:
searchString
- If the value ofType
isHTTP_STR_MATCH
orHTTP_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 forSearchString
in 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
Inverted
isTrue
, 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 butInverted
isTrue
, 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
Inverted
isTrue
, 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
Inverted
isTrue
, 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
Inverted
isTrue
, 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 butInverted
isTrue
, 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
Inverted
isTrue
, 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
Inverted
isTrue
, 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
HealthCheckId
values 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
HealthCheckId
values 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
HealthCheckId
values 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 ofHealthCheckId
values 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
HealthCheckId
values 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 ofHealthCheckId
values 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
HealthCheckId
values 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 ofHealthCheckId
values 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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 ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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 ofFullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is 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
FullyQualifiedDomainName
to the endpoint in theclient_hello
message during TLS negotiation. If you don't specify a value forEnableSNI
, Amazon Route 53 defaults totrue
whenType
isHTTPS
orHTTPS_STR_MATCH
and defaults tofalse
whenType
is any other value.Specify this value only if you want to change it.
-
getRegions
public List<String> getRegions()
A list of
HealthCheckRegion
values 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
HealthCheckRegion
values 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
HealthCheckRegion
values 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 ofHealthCheckRegion
values 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
HealthCheckRegion
values 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 ofHealthCheckRegion
values 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
HealthCheckRegion
values 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 ofHealthCheckRegion
values 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
HealthCheckRegion
values 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 ofHealthCheckRegion
values 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateHealthCheckRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-