public class CloudFrontOriginAccessIdentityConfig extends Object implements Serializable
Origin access identity configuration.
Constructor and Description |
---|
CloudFrontOriginAccessIdentityConfig()
Default constructor for a new CloudFrontOriginAccessIdentityConfig object.
|
CloudFrontOriginAccessIdentityConfig(String callerReference)
Constructs a new CloudFrontOriginAccessIdentityConfig object.
|
Modifier and Type | Method and Description |
---|---|
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 String getCallerReference()
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 CloudFrontOriginAccessIdentityConfig withCallerReference(String callerReference)
Returns a reference to this object so that method calls can be chained together.
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 getComment()
public void setComment(String comment)
comment
- Any comments you want to include about the origin access identity.public CloudFrontOriginAccessIdentityConfig withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
comment
- Any comments you want to include about the origin access identity.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.