public class CreateHealthCheckRequest extends AmazonWebServiceRequest implements Serializable
CreateHealthCheck operation.
This action creates a new health check.
To create a new health check, send a POST request to the
2013-04-01/healthcheck resource. The request body must
include an XML document with a CreateHealthCheckRequest
element. The response returns the
CreateHealthCheckResponse element that contains metadata
about the health check.
NOOP| Constructor and Description |
|---|
CreateHealthCheckRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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. |
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 failed
CreateHealthCheck 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 failed
CreateHealthCheck requests to be retried without the risk
of executing the operation twice. |
CreateHealthCheckRequest |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCallerReference()
CreateHealthCheck requests to be retried without the risk
of executing the operation twice. You must use a unique
CallerReference 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.
Constraints:
Length: 1 - 64
CreateHealthCheck requests to be retried without the risk
of executing the operation twice. You must use a unique
CallerReference 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.
public void setCallerReference(String callerReference)
CreateHealthCheck requests to be retried without the risk
of executing the operation twice. You must use a unique
CallerReference 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.
Constraints:
Length: 1 - 64
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 unique
CallerReference 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.
public CreateHealthCheckRequest withCallerReference(String callerReference)
CreateHealthCheck requests to be retried without the risk
of executing the operation twice. You must use a unique
CallerReference 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 reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
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 unique
CallerReference 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.
public HealthCheckConfig getHealthCheckConfig()
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig - A complex type that contains health check configuration.public CreateHealthCheckRequest withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Returns a reference to this object so that method calls can be chained together.
healthCheckConfig - A complex type that contains health check configuration.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.