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:
  • Constructor Details

    • CreateHealthCheckRequest

      public CreateHealthCheckRequest()
  • Method Details

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

      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.

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

      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.

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

      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:
      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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateHealthCheckRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: