public class CloudFrontOriginAccessIdentitySummary extends Object implements Serializable
Summary of the information about a CloudFront origin access identity.
Constructor and Description |
---|
CloudFrontOriginAccessIdentitySummary()
Default constructor for a new CloudFrontOriginAccessIdentitySummary object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CloudFrontOriginAccessIdentitySummary()
public String getId()
public void setId(String id)
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.public CloudFrontOriginAccessIdentitySummary withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.public String getS3CanonicalUserId()
public void setS3CanonicalUserId(String s3CanonicalUserId)
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.public CloudFrontOriginAccessIdentitySummary withS3CanonicalUserId(String s3CanonicalUserId)
Returns a reference to this object so that method calls can be chained together.
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.public String getComment()
public void setComment(String comment)
comment
- The comment for this origin access identity, as originally specified
when created.public CloudFrontOriginAccessIdentitySummary withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
comment
- The comment for this origin access identity, as originally specified
when created.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.