public class CloudFrontOriginAccessIdentitySummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment
The comment for this origin access identity, as originally specified when
created.
|
private java.lang.String |
id
The ID for the origin access identity.
|
private java.lang.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.
|
Constructor and Description |
---|
CloudFrontOriginAccessIdentitySummary() |
Modifier and Type | Method and Description |
---|---|
CloudFrontOriginAccessIdentitySummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComment()
The comment for this origin access identity, as originally specified when
created.
|
java.lang.String |
getId()
The ID for the origin access identity.
|
java.lang.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(java.lang.String comment)
The comment for this origin access identity, as originally specified when
created.
|
void |
setId(java.lang.String id)
The ID for the origin access identity.
|
void |
setS3CanonicalUserId(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloudFrontOriginAccessIdentitySummary |
withComment(java.lang.String comment)
The comment for this origin access identity, as originally specified when
created.
|
CloudFrontOriginAccessIdentitySummary |
withId(java.lang.String id)
The ID for the origin access identity.
|
CloudFrontOriginAccessIdentitySummary |
withS3CanonicalUserId(java.lang.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.
|
private java.lang.String id
private java.lang.String s3CanonicalUserId
private java.lang.String comment
public CloudFrontOriginAccessIdentitySummary()
public void setId(java.lang.String id)
id
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.public java.lang.String getId()
public CloudFrontOriginAccessIdentitySummary withId(java.lang.String id)
id
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.public void setS3CanonicalUserId(java.lang.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 java.lang.String getS3CanonicalUserId()
public CloudFrontOriginAccessIdentitySummary withS3CanonicalUserId(java.lang.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 void setComment(java.lang.String comment)
comment
- The comment for this origin access identity, as originally
specified when created.public java.lang.String getComment()
public CloudFrontOriginAccessIdentitySummary withComment(java.lang.String comment)
comment
- The comment for this origin access identity, as originally
specified when created.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CloudFrontOriginAccessIdentitySummary clone()
clone
in class java.lang.Object