Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class CreateHealthCheckRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.route53.model.CreateHealthCheckRequest
All Implemented Interfaces:
Serializable

public class CreateHealthCheckRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonRoute53.createHealthCheck(CreateHealthCheckRequest), Serialized Form

Constructor Summary
CreateHealthCheckRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateHealthCheckRequest

public CreateHealthCheckRequest()
Method Detail

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 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

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 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.


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 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

Parameters:
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.


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 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

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheckConfig

public HealthCheckConfig getHealthCheckConfig()
A complex type that contains health check configuration.

Returns:
A complex type that contains health check configuration.

setHealthCheckConfig

public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.

Parameters:
healthCheckConfig - A complex type that contains health check configuration.

withHealthCheckConfig

public CreateHealthCheckRequest withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains health check configuration.

Returns a reference to this object so that method calls can be chained together.

Parameters:
healthCheckConfig - A complex type that contains health check configuration.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.