|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.route53.model.DeleteHostedZoneRequest
public class DeleteHostedZoneRequest
Container for the parameters to the DeleteHostedZone operation
.
This action deletes a hosted zone. To delete a hosted zone, send a DELETE
request to the 2012-02-29/hostedzone/hosted zone ID
resource.
For more information about deleting a hosted zone, see Deleting a Hosted Zone in the Amazon Route 53 Developer Guide.
IMPORTANT: You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Route 53 will deny your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.
AmazonRoute53.deleteHostedZone(DeleteHostedZoneRequest)
Constructor Summary | |
---|---|
DeleteHostedZoneRequest()
Default constructor for a new DeleteHostedZoneRequest object. |
|
DeleteHostedZoneRequest(java.lang.String id)
Constructs a new DeleteHostedZoneRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getId()
The ID of the request. |
int |
hashCode()
|
void |
setId(java.lang.String id)
The ID of the request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteHostedZoneRequest |
withId(java.lang.String id)
The ID of the request. |
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 |
---|
public DeleteHostedZoneRequest()
public DeleteHostedZoneRequest(java.lang.String id)
id
- The ID of the request. Include this ID in a call to
GetChange to track when the change has propagated to all Route
53 DNS servers.Method Detail |
---|
public java.lang.String getId()
Constraints:
Length: 0 - 32
public void setId(java.lang.String id)
Constraints:
Length: 0 - 32
id
- The ID of the request. Include this ID in a call to GetChange
to track when the change has propagated to all Route 53 DNS servers.public DeleteHostedZoneRequest withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
id
- The ID of the request. Include this ID in a call to GetChange
to track when the change has propagated to all Route 53 DNS servers.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |