@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFrontOriginAccessIdentity extends Object implements Serializable, Cloneable
CloudFront origin access identity.
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, for example,
E74FTE3AJFJ256A . |
String |
getS3CanonicalUserId()
The Amazon S3 canonical user ID for the origin access identity, used 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, for example,
E74FTE3AJFJ256A . |
void |
setS3CanonicalUserId(String s3CanonicalUserId)
The Amazon S3 canonical user ID for the origin access identity, used 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, for example,
E74FTE3AJFJ256A . |
CloudFrontOriginAccessIdentity |
withS3CanonicalUserId(String s3CanonicalUserId)
The Amazon S3 canonical user ID for the origin access identity, used 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, used when giving the origin access
identity read permission to an object in Amazon S3.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 CloudFrontOriginAccessIdentity 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, used 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, used 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, used when giving the origin access identity read permission to an object in Amazon S3.
public CloudFrontOriginAccessIdentity withS3CanonicalUserId(String s3CanonicalUserId)
The Amazon S3 canonical user ID for the origin access identity, used 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, used when giving the origin access
identity read permission to an object in Amazon S3.public void setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The current configuration information for the identity.
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.public CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()
The current configuration information for the identity.
public CloudFrontOriginAccessIdentity withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
The current configuration information for the identity.
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.