Class CreateHealthCheckRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.CreateHealthCheckRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateHealthCheckRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
> A complex type that contains information about the request to create a health check.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateHealthCheckRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHealthCheckRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCallerReference()
A unique string that identifies the request and that allows failedCreateHealthCheck
requests to be retried without the risk of executing the operation twice.HealthCheckConfig
getHealthCheckConfig()
A complex type that contains health check configuration.int
hashCode()
void
setCallerReference(String callerReference)
A unique string that identifies the request and that allows failedCreateHealthCheck
requests to be retried without the risk of executing the operation twice.void
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateHealthCheckRequest
withCallerReference(String callerReference)
A unique string that identifies the request and that allows failedCreateHealthCheck
requests to be retried without the risk of executing the operation twice.CreateHealthCheckRequest
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.-
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
-
setCallerReference
public void setCallerReference(String callerReference)
A unique string that identifies the request and that allows failed
CreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
- Parameters:
callerReference
- A unique string that identifies the request and that allows failedCreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
-
getCallerReference
public String getCallerReference()
A unique string that identifies the request and that allows failed
CreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
- Returns:
- A unique string that identifies the request and that allows
failed
CreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
-
withCallerReference
public CreateHealthCheckRequest withCallerReference(String callerReference)
A unique string that identifies the request and that allows failed
CreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
- Parameters:
callerReference
- A unique string that identifies the request and that allows failedCreateHealthCheck
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
string every time you create a health check.CallerReference
can be any unique string; you might choose to use a string that identifies your project.Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthCheckConfig
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.
- Parameters:
healthCheckConfig
- A complex type that contains health check configuration.
-
getHealthCheckConfig
public HealthCheckConfig getHealthCheckConfig()
A complex type that contains health check configuration.
- Returns:
- A complex type that contains health check configuration.
-
withHealthCheckConfig
public CreateHealthCheckRequest withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.
- Parameters:
healthCheckConfig
- A complex type that contains health check configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CreateHealthCheckRequest 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()
-
-