@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHealthCheckRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains the health check request information.
NOOP| Constructor and Description |
|---|
CreateHealthCheckRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateHealthCheckRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck
request without the risk of creating two identical health checks: |
HealthCheckConfig |
getHealthCheckConfig()
A complex type that contains settings for a new health check.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck
request without the risk of creating two identical health checks: |
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains settings for a new health check.
|
String |
toString()
Returns a string representation of this object.
|
CreateHealthCheckRequest |
withCallerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck
request without the risk of creating two identical health checks: |
CreateHealthCheckRequest |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains settings for a new health check.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCallerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck
request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and settings as a
previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health
check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a deleted
health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with the same CallerReference as an existing
health check but with different settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but settings
identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
callerReference - A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and
settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health
check. If the health check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a
deleted health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck request with the same CallerReference as an
existing health check but with different settings, Route 53 returns a
HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but
settings identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
public String getCallerReference()
A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck
request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and settings as a
previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health
check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a deleted
health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with the same CallerReference as an existing
health check but with different settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but settings
identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
CreateHealthCheck request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and
settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health
check. If the health check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a
deleted health check, regardless of the settings, Route 53 returns a
HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with the same CallerReference as an
existing health check but with different settings, Route 53 returns a
HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but
settings identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
public CreateHealthCheckRequest withCallerReference(String callerReference)
A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck
request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and settings as a
previous request, and if the health check doesn't exist, Amazon Route 53 creates the health check. If the health
check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a deleted
health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with the same CallerReference as an existing
health check but with different settings, Route 53 returns a HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but settings
identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
callerReference - A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheck request without the risk of creating two identical health checks:
If you send a CreateHealthCheck request with the same CallerReference and
settings as a previous request, and if the health check doesn't exist, Amazon Route 53 creates the health
check. If the health check does exist, Route 53 returns the settings for the existing health check.
If you send a CreateHealthCheck request with the same CallerReference as a
deleted health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists
error.
If you send a CreateHealthCheck request with the same CallerReference as an
existing health check but with different settings, Route 53 returns a
HealthCheckAlreadyExists error.
If you send a CreateHealthCheck request with a unique CallerReference but
settings identical to an existing health check, Route 53 creates the health check.
Route 53 does not store the CallerReference for a deleted health check indefinitely. The
CallerReference for a deleted health check will be deleted after a number of days.
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains settings for a new health check.
healthCheckConfig - A complex type that contains settings for a new health check.public HealthCheckConfig getHealthCheckConfig()
A complex type that contains settings for a new health check.
public CreateHealthCheckRequest withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains settings for a new health check.
healthCheckConfig - A complex type that contains settings for a new health check.public String toString()
toString in class ObjectObject.toString()public CreateHealthCheckRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()