public class DeleteDistributionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The distribution id.
|
private java.lang.String |
ifMatch
The value of the ETag header you received when you disabled the
distribution.
|
NOOP
Constructor and Description |
---|
DeleteDistributionRequest()
Default constructor for DeleteDistributionRequest object.
|
DeleteDistributionRequest(java.lang.String id,
java.lang.String ifMatch)
Constructs a new DeleteDistributionRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteDistributionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The distribution id.
|
java.lang.String |
getIfMatch()
The value of the ETag header you received when you disabled the
distribution.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The distribution id.
|
void |
setIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when you disabled the
distribution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDistributionRequest |
withId(java.lang.String id)
The distribution id.
|
DeleteDistributionRequest |
withIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when you disabled the
distribution.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String id
private java.lang.String ifMatch
public DeleteDistributionRequest()
public DeleteDistributionRequest(java.lang.String id, java.lang.String ifMatch)
id
- The distribution id.ifMatch
- The value of the ETag header you received when you disabled the
distribution. For example: E2QWRUHAPOMQZL.public void setId(java.lang.String id)
id
- The distribution id.public java.lang.String getId()
public DeleteDistributionRequest withId(java.lang.String id)
id
- The distribution id.public void setIfMatch(java.lang.String ifMatch)
ifMatch
- The value of the ETag header you received when you disabled the
distribution. For example: E2QWRUHAPOMQZL.public java.lang.String getIfMatch()
public DeleteDistributionRequest withIfMatch(java.lang.String ifMatch)
ifMatch
- The value of the ETag header you received when you disabled the
distribution. For example: E2QWRUHAPOMQZL.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteDistributionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()