Class CloudFrontOriginAccessIdentitySummary
java.lang.Object
com.amazonaws.services.cloudfront.model.CloudFrontOriginAccessIdentitySummary
- All Implemented Interfaces:
Serializable
,Cloneable
public class CloudFrontOriginAccessIdentitySummary
extends Object
implements Serializable, Cloneable
Summary of the information about a CloudFront origin access identity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The comment for this origin access identity, as originally specified when created.getId()
The ID for the origin access identity.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withComment
(String comment) The comment for this origin access identity, as originally specified when created.The ID for the origin access identity.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.
-
Constructor Details
-
CloudFrontOriginAccessIdentitySummary
public CloudFrontOriginAccessIdentitySummary()
-
-
Method Details
-
setId
The ID for the origin access identity. For example: E74FTE3AJFJ256A.- Parameters:
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.
-
getId
The ID for the origin access identity. For example: E74FTE3AJFJ256A.- Returns:
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.
-
withId
The ID for the origin access identity. For example: E74FTE3AJFJ256A.- Parameters:
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3CanonicalUserId
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.
-
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.
-
withS3CanonicalUserId
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
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.
-
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.
-
withComment
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-