@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFrontOriginAccessIdentityConfig extends Object implements Serializable, Cloneable
Origin access identity configuration. Send a GET
request to the
/CloudFront API version/CloudFront/identity ID/config
resource.
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 already sent in a previous identity request, 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)
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 already sent in a previous identity request, 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.
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 already sent in a previous identity request, 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()
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 already sent in a previous identity request, 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.
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 already sent in a previous identity request, 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)
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 already sent in a previous identity request, 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.
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 already sent in a previous identity request, 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)
Any comments you want to include about the origin access identity.
comment
- Any comments you want to include about the origin access identity.public String getComment()
Any comments you want to include about the origin access identity.
public CloudFrontOriginAccessIdentityConfig withComment(String comment)
Any comments you want to include about the origin access identity.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.