Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class UpdateCloudFrontOriginAccessIdentityRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudfront.model.UpdateCloudFrontOriginAccessIdentityRequest
All Implemented Interfaces:
Serializable

public class UpdateCloudFrontOriginAccessIdentityRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateCloudFrontOriginAccessIdentity operation.

Update an origin access identity.

See Also:
AmazonCloudFront.updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest), Serialized Form

Constructor Summary
UpdateCloudFrontOriginAccessIdentityRequest()
          Default constructor for a new UpdateCloudFrontOriginAccessIdentityRequest object.
UpdateCloudFrontOriginAccessIdentityRequest(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig, String id, String ifMatch)
          Constructs a new UpdateCloudFrontOriginAccessIdentityRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()
          The identity's configuration information.
 String getId()
          The identity's id.
 String getIfMatch()
          The value of the ETag header you received when retrieving the identity's configuration.
 int hashCode()
           
 void setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
          The identity's configuration information.
 void setId(String id)
          The identity's id.
 void setIfMatch(String ifMatch)
          The value of the ETag header you received when retrieving the identity's configuration.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateCloudFrontOriginAccessIdentityRequest withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
          The identity's configuration information.
 UpdateCloudFrontOriginAccessIdentityRequest withId(String id)
          The identity's id.
 UpdateCloudFrontOriginAccessIdentityRequest withIfMatch(String ifMatch)
          The value of the ETag header you received when retrieving the identity's configuration.
 
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

UpdateCloudFrontOriginAccessIdentityRequest

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


UpdateCloudFrontOriginAccessIdentityRequest

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

Parameters:
cloudFrontOriginAccessIdentityConfig - The identity's configuration information.
id - The identity's id.
ifMatch - The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
Method Detail

getCloudFrontOriginAccessIdentityConfig

public CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()
The identity's configuration information.

Returns:
The identity's configuration information.

setCloudFrontOriginAccessIdentityConfig

public void setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The identity's configuration information.

Parameters:
cloudFrontOriginAccessIdentityConfig - The identity's configuration information.

withCloudFrontOriginAccessIdentityConfig

public UpdateCloudFrontOriginAccessIdentityRequest withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The identity's configuration information.

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

Parameters:
cloudFrontOriginAccessIdentityConfig - The identity's configuration information.
Returns:
A reference to this updated object so that method calls can be chained together.

getId

public String getId()
The identity's id.

Returns:
The identity's id.

setId

public void setId(String id)
The identity's id.

Parameters:
id - The identity's id.

withId

public UpdateCloudFrontOriginAccessIdentityRequest withId(String id)
The identity's id.

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

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

getIfMatch

public String getIfMatch()
The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

Returns:
The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

setIfMatch

public void setIfMatch(String ifMatch)
The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

Parameters:
ifMatch - The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

withIfMatch

public UpdateCloudFrontOriginAccessIdentityRequest withIfMatch(String ifMatch)
The value of the ETag header you received when retrieving the identity's configuration. 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 retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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