public class DeleteDomainRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DeleteDomainRequest()
Default constructor for a new DeleteDomainRequest object.
|
DeleteDomainRequest(String domainName)
Constructs a new DeleteDomainRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteDomainRequest()
public DeleteDomainRequest(String domainName)
domainName
- The name of the domain to delete.public String getDomainName()
public void setDomainName(String domainName)
domainName
- The name of the domain to delete.public DeleteDomainRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
domainName
- The name of the domain to delete.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.