@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 value (for example, a date-time stamp) that ensures that the request can't be replayed. | 
| String | getComment()
 A comment to describe the origin access identity. | 
| int | hashCode() | 
| void | setCallerReference(String callerReference)
 A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. | 
| void | setComment(String comment)
 A comment to describe the origin access identity. | 
| String | toString()Returns a string representation of this object. | 
| CloudFrontOriginAccessIdentityConfig | withCallerReference(String callerReference)
 A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. | 
| CloudFrontOriginAccessIdentityConfig | withComment(String comment)
 A comment to describe the origin access identity. | 
public CloudFrontOriginAccessIdentityConfig()
public CloudFrontOriginAccessIdentityConfig(String callerReference)
callerReference - A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.
        
        If the value of CallerReference is new (regardless of 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 value (for example, a date-time stamp) that ensures that the request can't be replayed.
 If the value of CallerReference is new (regardless of 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 value (for example, a date-time stamp) that ensures that the request can't be replayed.
        
        If the value of CallerReference is new (regardless of 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 value (for example, a date-time stamp) that ensures that the request can't be replayed.
 If the value of CallerReference is new (regardless of 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 value of CallerReference is new (regardless of 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 value (for example, a date-time stamp) that ensures that the request can't be replayed.
 If the value of CallerReference is new (regardless of 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 value (for example, a date-time stamp) that ensures that the request can't be replayed.
        
        If the value of CallerReference is new (regardless of 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)
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
comment - A comment to describe the origin access identity. The comment cannot be longer than 128 characters.public String getComment()
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
public CloudFrontOriginAccessIdentityConfig withComment(String comment)
A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
comment - A comment to describe the origin access identity. The comment cannot be longer than 128 characters.public String toString()
toString in class ObjectObject.toString()public CloudFrontOriginAccessIdentityConfig clone()
Copyright © 2022. All rights reserved.