public class DeleteDomainRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.String domainName)
Constructs a new DeleteDomainRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
The name of the domain to delete.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
The name of the domain to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDomainRequest |
withDomainName(java.lang.String domainName)
The name of the domain to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteDomainRequest()
public DeleteDomainRequest(java.lang.String domainName)
domainName
- The name of the domain to delete.public java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName
- The name of the domain to delete.public DeleteDomainRequest withDomainName(java.lang.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 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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.