@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteDomainRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainId()
The domain ID.
|
RetentionPolicy |
getRetentionPolicy()
The retention policy for this domain, which specifies whether resources will be retained after the Domain is
deleted.
|
int |
hashCode() |
void |
setDomainId(String domainId)
The domain ID.
|
void |
setRetentionPolicy(RetentionPolicy retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is
deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDomainRequest |
withDomainId(String domainId)
The domain ID.
|
DeleteDomainRequest |
withRetentionPolicy(RetentionPolicy retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is
deleted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDomainId(String domainId)
The domain ID.
domainId - The domain ID.public String getDomainId()
The domain ID.
public DeleteDomainRequest withDomainId(String domainId)
The domain ID.
domainId - The domain ID.public void setRetentionPolicy(RetentionPolicy retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
retentionPolicy - The retention policy for this domain, which specifies whether resources will be retained after the Domain
is deleted. By default, all resources are retained (not automatically deleted).public RetentionPolicy getRetentionPolicy()
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
public DeleteDomainRequest withRetentionPolicy(RetentionPolicy retentionPolicy)
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
retentionPolicy - The retention policy for this domain, which specifies whether resources will be retained after the Domain
is deleted. By default, all resources are retained (not automatically deleted).public String toString()
toString in class ObjectObject.toString()public DeleteDomainRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()