public class DeleteDistributionRequest extends AmazonWebServiceRequest implements Serializable
DeleteDistribution operation.
 Delete a distribution.
NOOP| Constructor and Description | 
|---|
DeleteDistributionRequest()
Default constructor for a new DeleteDistributionRequest object. 
 | 
DeleteDistributionRequest(String id,
                         String ifMatch)
Constructs a new DeleteDistributionRequest object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getId()
The distribution id. 
 | 
String | 
getIfMatch()
The value of the ETag header you received when you disabled the
 distribution. 
 | 
int | 
hashCode()  | 
void | 
setId(String id)
The distribution id. 
 | 
void | 
setIfMatch(String ifMatch)
The value of the ETag header you received when you disabled the
 distribution. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
DeleteDistributionRequest | 
withId(String id)
The distribution id. 
 | 
DeleteDistributionRequest | 
withIfMatch(String ifMatch)
The value of the ETag header you received when you disabled the
 distribution. 
 | 
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteDistributionRequest()
public DeleteDistributionRequest(String id, String ifMatch)
id - The distribution id.ifMatch - The value of the ETag header you received when you
 disabled the distribution. For example: E2QWRUHAPOMQZL.public String getId()
public void setId(String id)
id - The distribution id.public DeleteDistributionRequest withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - The distribution id.public String getIfMatch()
public void setIfMatch(String ifMatch)
ifMatch - The value of the ETag header you received when you disabled the
         distribution. For example: E2QWRUHAPOMQZL.public DeleteDistributionRequest withIfMatch(String ifMatch)
Returns a reference to this object so that method calls can be chained together.
ifMatch - The value of the ETag header you received when you disabled the
         distribution. For example: E2QWRUHAPOMQZL.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.