|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.CloudFrontOriginAccessIdentity
public class CloudFrontOriginAccessIdentity
CloudFront origin access identity.
Constructor Summary | |
---|---|
CloudFrontOriginAccessIdentity()
Default constructor for a new CloudFrontOriginAccessIdentity object. |
|
CloudFrontOriginAccessIdentity(String id,
String s3CanonicalUserId)
Constructs a new CloudFrontOriginAccessIdentity object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public String getId()
public void setId(String id)
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.public CloudFrontOriginAccessIdentity withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The ID for the origin access identity. For example: E74FTE3AJFJ256A.
public String getS3CanonicalUserId()
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 CloudFrontOriginAccessIdentity withS3CanonicalUserId(String s3CanonicalUserId)
Returns a reference to this object so that method calls can be chained together.
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 CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()
public void setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.public CloudFrontOriginAccessIdentity withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
Returns a reference to this object so that method calls can be chained together.
cloudFrontOriginAccessIdentityConfig
- The current configuration information for the identity.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |