public class CreateHealthCheckRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateHealthCheck operation.
This action creates a new health check.
To create a new health check, send a POST request to the 2012-12-12/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.
| コンストラクタと説明 |
|---|
CreateHealthCheckRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getVersion()
Specify the api version.
|
int |
hashCode() |
void |
setCallerReference(java.lang.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.
|
void |
setVersion(java.lang.String version)
Specify the api version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateHealthCheckRequest |
withCallerReference(java.lang.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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object