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 CreateHealthCheckRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCallerReference()A unique string that identifies the request and that allows failedCreateHealthCheckrequests to be retried without the risk of executing the operation twice.HealthCheckConfiggetHealthCheckConfig()A complex type that contains health check configuration.inthashCode()voidsetCallerReference(String callerReference)A unique string that identifies the request and that allows failedCreateHealthCheckrequests to be retried without the risk of executing the operation twice.voidsetHealthCheckConfig(HealthCheckConfig healthCheckConfig)A complex type that contains health check configuration.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateHealthCheckRequestwithCallerReference(String callerReference)A unique string that identifies the request and that allows failedCreateHealthCheckrequests to be retried without the risk of executing the operation twice.CreateHealthCheckRequestwithHealthCheckConfig(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
CreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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 failedCreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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
CreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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
CreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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
CreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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 failedCreateHealthCheckrequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you create a health check.CallerReferencecan 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateHealthCheckRequest 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()
-
-