Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class DeleteHealthCheckRequest

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

public class DeleteHealthCheckRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DeleteHealthCheck operation.

This action deletes a health check. To delete a health check, send a DELETE request to the 2012-12-12/healthcheck/health check ID resource.

IMPORTANT: You can delete a health check only if there are no resource record sets associated with this health check. If resource record sets are associated with this health check, you must disassociate them before you can delete your health check. If you try to delete a health check that is associated with resource record sets, Route 53 will deny your request with a HealthCheckInUse error. For information about disassociating the records from your health check, see ChangeResourceRecordSets.

See Also:
AmazonRoute53.deleteHealthCheck(DeleteHealthCheckRequest), Serialized Form

Constructor Summary
DeleteHealthCheckRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHealthCheckId()
          The ID of the health check to delete.
 int hashCode()
           
 void setHealthCheckId(java.lang.String healthCheckId)
          The ID of the health check to delete.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteHealthCheckRequest withHealthCheckId(java.lang.String healthCheckId)
          The ID of the health check to delete.
 
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

DeleteHealthCheckRequest

public DeleteHealthCheckRequest()
Method Detail

getHealthCheckId

public java.lang.String getHealthCheckId()
The ID of the health check to delete.

Constraints:
Length: 0 - 64

Returns:
The ID of the health check to delete.

setHealthCheckId

public void setHealthCheckId(java.lang.String healthCheckId)
The ID of the health check to delete.

Constraints:
Length: 0 - 64

Parameters:
healthCheckId - The ID of the health check to delete.

withHealthCheckId

public DeleteHealthCheckRequest withHealthCheckId(java.lang.String healthCheckId)
The ID of the health check to delete.

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

Constraints:
Length: 0 - 64

Parameters:
healthCheckId - The ID of the health check to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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