public class CloudFrontOriginAccessIdentity extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CloudFrontOriginAccessIdentity()
Default constructor for CloudFrontOriginAccessIdentity object.
|
CloudFrontOriginAccessIdentity(String id,
String s3CanonicalUserId)
Constructs a new CloudFrontOriginAccessIdentity object.
|
Modifier and Type | Method and Description |
---|---|
CloudFrontOriginAccessIdentity |
clone() |
boolean |
equals(Object obj) |
CloudFrontOriginAccessIdentityConfig |
getCloudFrontOriginAccessIdentityConfig()
The current configuration information for the identity.
|
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 |
setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The current configuration information for the identity.
|
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.
|
CloudFrontOriginAccessIdentity |
withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The current configuration information for the identity.
|
CloudFrontOriginAccessIdentity |
withId(String id)
The ID for the origin access identity.
|
CloudFrontOriginAccessIdentity |
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 CloudFrontOriginAccessIdentity()
public CloudFrontOriginAccessIdentity(String id, String s3CanonicalUserId)
id
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.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 setId(String id)
id
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.public String getId()
public CloudFrontOriginAccessIdentity withId(String id)
id
- The ID for the origin access identity. For example:
E74FTE3AJFJ256A.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 String getS3CanonicalUserId()
public CloudFrontOriginAccessIdentity withS3CanonicalUserId(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 setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.public CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()
public CloudFrontOriginAccessIdentity withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.public String toString()
toString
in class Object
Object.toString()
public CloudFrontOriginAccessIdentity clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.