public class CloudFrontOriginAccessIdentityConfig extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CloudFrontOriginAccessIdentityConfig()
Default constructor for CloudFrontOriginAccessIdentityConfig object.
|
CloudFrontOriginAccessIdentityConfig(String callerReference)
Constructs a new CloudFrontOriginAccessIdentityConfig object.
|
Modifier and Type | Method and Description |
---|---|
CloudFrontOriginAccessIdentityConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique number that ensures the request can't be replayed.
|
String |
getComment()
Any comments you want to include about the origin access identity.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique number that ensures the request can't be replayed.
|
void |
setComment(String comment)
Any comments you want to include about the origin access identity.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloudFrontOriginAccessIdentityConfig |
withCallerReference(String callerReference)
A unique number that ensures the request can't be replayed.
|
CloudFrontOriginAccessIdentityConfig |
withComment(String comment)
Any comments you want to include about the origin access identity.
|
public CloudFrontOriginAccessIdentityConfig()
public CloudFrontOriginAccessIdentityConfig(String callerReference)
callerReference
- A unique number that ensures the request can't be replayed. If the
CallerReference is new (no matter the content of the
CloudFrontOriginAccessIdentityConfig object), a new origin access
identity is created. If the CallerReference is a value you already
sent in a previous request to create an identity, and the content
of the CloudFrontOriginAccessIdentityConfig is identical to the
original request (ignoring white space), the response includes the
same information returned to the original request. If the
CallerReference is a value you already sent in a previous request
to create an identity but the content of the
CloudFrontOriginAccessIdentityConfig is different from the
original request, CloudFront returns a
CloudFrontOriginAccessIdentityAlreadyExists error.public void setCallerReference(String callerReference)
callerReference
- A unique number that ensures the request can't be replayed. If the
CallerReference is new (no matter the content of the
CloudFrontOriginAccessIdentityConfig object), a new origin access
identity is created. If the CallerReference is a value you already
sent in a previous request to create an identity, and the content
of the CloudFrontOriginAccessIdentityConfig is identical to the
original request (ignoring white space), the response includes the
same information returned to the original request. If the
CallerReference is a value you already sent in a previous request
to create an identity but the content of the
CloudFrontOriginAccessIdentityConfig is different from the
original request, CloudFront returns a
CloudFrontOriginAccessIdentityAlreadyExists error.public String getCallerReference()
public CloudFrontOriginAccessIdentityConfig withCallerReference(String callerReference)
callerReference
- A unique number that ensures the request can't be replayed. If the
CallerReference is new (no matter the content of the
CloudFrontOriginAccessIdentityConfig object), a new origin access
identity is created. If the CallerReference is a value you already
sent in a previous request to create an identity, and the content
of the CloudFrontOriginAccessIdentityConfig is identical to the
original request (ignoring white space), the response includes the
same information returned to the original request. If the
CallerReference is a value you already sent in a previous request
to create an identity but the content of the
CloudFrontOriginAccessIdentityConfig is different from the
original request, CloudFront returns a
CloudFrontOriginAccessIdentityAlreadyExists error.public void setComment(String comment)
comment
- Any comments you want to include about the origin access identity.public String getComment()
public CloudFrontOriginAccessIdentityConfig withComment(String comment)
comment
- Any comments you want to include about the origin access identity.public String toString()
toString
in class Object
Object.toString()
public CloudFrontOriginAccessIdentityConfig clone()
Copyright © 2016. All rights reserved.