Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class DeleteCloudFrontOriginAccessIdentityRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudfront.model.DeleteCloudFrontOriginAccessIdentityRequest

public class DeleteCloudFrontOriginAccessIdentityRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteCloudFrontOriginAccessIdentity operation.

Delete an origin access identity.

See Also:
AmazonCloudFront.deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest)

Constructor Summary
DeleteCloudFrontOriginAccessIdentityRequest()
          Default constructor for a new DeleteCloudFrontOriginAccessIdentityRequest object.
DeleteCloudFrontOriginAccessIdentityRequest(java.lang.String id, java.lang.String ifMatch)
          Constructs a new DeleteCloudFrontOriginAccessIdentityRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
          The origin access identity's id.
 java.lang.String getIfMatch()
          The value of the ETag header you received from a previous GET or PUT request.
 int hashCode()
           
 void setId(java.lang.String id)
          The origin access identity's id.
 void setIfMatch(java.lang.String ifMatch)
          The value of the ETag header you received from a previous GET or PUT request.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteCloudFrontOriginAccessIdentityRequest withId(java.lang.String id)
          The origin access identity's id.
 DeleteCloudFrontOriginAccessIdentityRequest withIfMatch(java.lang.String ifMatch)
          The value of the ETag header you received from a previous GET or PUT request.
 
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

DeleteCloudFrontOriginAccessIdentityRequest

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


DeleteCloudFrontOriginAccessIdentityRequest

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

Parameters:
id - The origin access identity's id.
ifMatch - The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.
Method Detail

getId

public java.lang.String getId()
The origin access identity's id.

Returns:
The origin access identity's id.

setId

public void setId(java.lang.String id)
The origin access identity's id.

Parameters:
id - The origin access identity's id.

withId

public DeleteCloudFrontOriginAccessIdentityRequest withId(java.lang.String id)
The origin access identity's id.

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

Parameters:
id - The origin access identity's 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 from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.

Returns:
The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.

setIfMatch

public void setIfMatch(java.lang.String ifMatch)
The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.

Parameters:
ifMatch - The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.

withIfMatch

public DeleteCloudFrontOriginAccessIdentityRequest withIfMatch(java.lang.String ifMatch)
The value of the ETag header you received from a previous GET or PUT request. 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 from a previous GET or PUT request. 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.