Class CloudFrontOriginAccessIdentityConfig
java.lang.Object
com.amazonaws.services.cloudfront.model.CloudFrontOriginAccessIdentityConfig
- All Implemented Interfaces:
Serializable
,Cloneable
Origin access identity configuration.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CloudFrontOriginAccessIdentityConfig object.CloudFrontOriginAccessIdentityConfig
(String callerReference) Constructs a new CloudFrontOriginAccessIdentityConfig object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A unique number that ensures the request can't be replayed.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCallerReference
(String callerReference) A unique number that ensures the request can't be replayed.withComment
(String comment) Any comments you want to include about the origin access identity.
-
Constructor Details
-
CloudFrontOriginAccessIdentityConfig
public CloudFrontOriginAccessIdentityConfig()Default constructor for CloudFrontOriginAccessIdentityConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CloudFrontOriginAccessIdentityConfig
Constructs a new CloudFrontOriginAccessIdentityConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setCallerReference
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.- Parameters:
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.
-
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 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.- Returns:
- 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.
-
withCallerReference
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
Any comments you want to include about the origin access identity.- Parameters:
comment
- Any comments you want to include about the origin access identity.
-
getComment
Any comments you want to include about the origin access identity.- Returns:
- Any comments you want to include about the origin access identity.
-
withComment
Any comments you want to include about the origin access identity.- Parameters:
comment
- Any comments you want to include about the origin access identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-