Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class DeleteDistributionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudfront_2012_03_15.model.DeleteDistributionRequest

public class DeleteDistributionRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteDistribution operation.

Delete a distribution.

See Also:
com.amazonaws.services.cloudfront_2012_03_152012_03_15AmazonCloudFront#deleteDistribution(DeleteDistributionRequest)

Constructor Summary
DeleteDistributionRequest()
          Default constructor for a new DeleteDistributionRequest object.
DeleteDistributionRequest(java.lang.String id, java.lang.String ifMatch)
          Constructs a new DeleteDistributionRequest object.
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteDistributionRequest

public DeleteDistributionRequest()
Default constructor for a new DeleteDistributionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteDistributionRequest

public DeleteDistributionRequest(java.lang.String id,
                                 java.lang.String ifMatch)
Constructs a new DeleteDistributionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
id - The distribution id.
ifMatch - The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.
Method Detail

getId

public java.lang.String getId()
The distribution id.

Returns:
The distribution id.

setId

public void setId(java.lang.String id)
The distribution id.

Parameters:
id - The distribution id.

withId

public DeleteDistributionRequest withId(java.lang.String id)
The distribution id.

Returns a reference to this object so that method calls can be chained together.

Parameters:
id - The distribution id.
Returns:
A reference to this updated object so that method calls can be chained together.

getIfMatch

public java.lang.String getIfMatch()
The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

Returns:
The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

setIfMatch

public void setIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

Parameters:
ifMatch - The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

withIfMatch

public DeleteDistributionRequest withIfMatch(java.lang.String ifMatch)
The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ifMatch - The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.