Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class GetCloudFrontOriginAccessIdentityRequest

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

public class GetCloudFrontOriginAccessIdentityRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetCloudFrontOriginAccessIdentity operation.

Get the information about an origin access identity.

See Also:
AmazonCloudFront.getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityRequest), Serialized Form

Constructor Summary
GetCloudFrontOriginAccessIdentityRequest()
          Default constructor for a new GetCloudFrontOriginAccessIdentityRequest object.
GetCloudFrontOriginAccessIdentityRequest(String id)
          Constructs a new GetCloudFrontOriginAccessIdentityRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          The identity's id.
 int hashCode()
           
 void setId(String id)
          The identity's id.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetCloudFrontOriginAccessIdentityRequest withId(String id)
          The identity's id.
 
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

GetCloudFrontOriginAccessIdentityRequest

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


GetCloudFrontOriginAccessIdentityRequest

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

Parameters:
id - The identity's id.
Method Detail

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 GetCloudFrontOriginAccessIdentityRequest 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.

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.