com.amazonaws.services.simpledb.model
Class DeleteDomainRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.DeleteDomainRequest

public class DeleteDomainRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteDomain operation.

The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain are deleted as well. The DeleteDomain operation might take 10 or more seconds to complete.

NOTE: Running DeleteDomain on a domain that does not exist or running the function multiple times using the same domain name will not result in an error response.

See Also:
AmazonSimpleDB.deleteDomain(DeleteDomainRequest)

Constructor Summary
DeleteDomainRequest()
          Default constructor for a new DeleteDomainRequest object.
DeleteDomainRequest(String domainName)
          Constructs a new DeleteDomainRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDomainName()
          The name of the domain to delete.
 int hashCode()
           
 void setDomainName(String domainName)
          The name of the domain to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteDomainRequest withDomainName(String domainName)
          The name of the domain to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteDomainRequest

public DeleteDomainRequest()
Default constructor for a new DeleteDomainRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteDomainRequest

public DeleteDomainRequest(String domainName)
Constructs a new DeleteDomainRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
domainName - The name of the domain to delete.
Method Detail

getDomainName

public String getDomainName()
The name of the domain to delete.

Returns:
The name of the domain to delete.

setDomainName

public void setDomainName(String domainName)
The name of the domain to delete.

Parameters:
domainName - The name of the domain to delete.

withDomainName

public DeleteDomainRequest withDomainName(String domainName)
The name of the domain to delete.

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

Parameters:
domainName - The name of the domain to delete.
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.