@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFrontOriginAccessIdentitySummary extends Object implements Serializable, Cloneable
Summary of the information about a CloudFront origin access identity.
Constructor and Description |
---|
CloudFrontOriginAccessIdentitySummary() |
Modifier and Type | Method and Description |
---|---|
CloudFrontOriginAccessIdentitySummary |
clone() |
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 void setId(String id)
The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A
.public String getId()
The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
E74FTE3AJFJ256A
.public CloudFrontOriginAccessIdentitySummary withId(String id)
The ID for the origin access identity. For example: E74FTE3AJFJ256A
.
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A
.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.
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 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.
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.
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 void setComment(String comment)
The comment for this origin access identity, as originally specified when created.
comment
- The comment for this origin access identity, as originally specified when created.public String getComment()
The comment for this origin access identity, as originally specified when created.
public CloudFrontOriginAccessIdentitySummary withComment(String comment)
The comment for this origin access identity, as originally specified when created.
comment
- The comment for this origin access identity, as originally specified when created.public String toString()
toString
in class Object
Object.toString()
public CloudFrontOriginAccessIdentitySummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.