Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class CloudFrontOriginAccessIdentitySummary

java.lang.Object
  extended by com.amazonaws.services.cloudfront_2012_03_15.model.CloudFrontOriginAccessIdentitySummary

public class CloudFrontOriginAccessIdentitySummary
extends Object

Summary of the information about a CloudFront origin access identity.


Constructor Summary
CloudFrontOriginAccessIdentitySummary()
          Default constructor for a new CloudFrontOriginAccessIdentitySummary object.
 
Method Summary
 boolean equals(Object obj)
           
 String getComment()
          The comment for this origin access identity, as originally specified when created.
 String getId()
          The ID for the origin access identity.
 String getS3CanonicalUserId()
          The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
 int hashCode()
           
 void setComment(String comment)
          The comment for this origin access identity, as originally specified when created.
 void setId(String id)
          The ID for the origin access identity.
 void setS3CanonicalUserId(String s3CanonicalUserId)
          The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CloudFrontOriginAccessIdentitySummary withComment(String comment)
          The comment for this origin access identity, as originally specified when created.
 CloudFrontOriginAccessIdentitySummary withId(String id)
          The ID for the origin access identity.
 CloudFrontOriginAccessIdentitySummary withS3CanonicalUserId(String s3CanonicalUserId)
          The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloudFrontOriginAccessIdentitySummary

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

Method Detail

getId

public String getId()
The ID for the origin access identity. For example: E74FTE3AJFJ256A.

Returns:
The ID for the origin access identity. For example: E74FTE3AJFJ256A.

setId

public void setId(String id)
The ID for the origin access identity. For example: E74FTE3AJFJ256A.

Parameters:
id - The ID for the origin access identity. For example: E74FTE3AJFJ256A.

withId

public CloudFrontOriginAccessIdentitySummary withId(String id)
The ID for the origin access identity. For example: E74FTE3AJFJ256A.

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

Parameters:
id - The ID for the origin access identity. For example: E74FTE3AJFJ256A.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3CanonicalUserId

public String getS3CanonicalUserId()
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

Returns:
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

setS3CanonicalUserId

public void setS3CanonicalUserId(String s3CanonicalUserId)
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

Parameters:
s3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

withS3CanonicalUserId

public CloudFrontOriginAccessIdentitySummary withS3CanonicalUserId(String s3CanonicalUserId)
The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

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

Parameters:
s3CanonicalUserId - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
Returns:
A reference to this updated object so that method calls can be chained together.

getComment

public String getComment()
The comment for this origin access identity, as originally specified when created.

Returns:
The comment for this origin access identity, as originally specified when created.

setComment

public void setComment(String comment)
The comment for this origin access identity, as originally specified when created.

Parameters:
comment - The comment for this origin access identity, as originally specified when created.

withComment

public CloudFrontOriginAccessIdentitySummary withComment(String comment)
The comment for this origin access identity, as originally specified when created.

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

Parameters:
comment - The comment for this origin access identity, as originally specified when created.
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.