Class DefaultCookiesForCannedPolicy
java.lang.Object
software.amazon.awssdk.services.cloudfront.internal.cookie.DefaultCookiesForCannedPolicy
- All Implemented Interfaces:
CookiesForCannedPolicy
,SignedCookie
,ToCopyableBuilder<CookiesForCannedPolicy.Builder,
CookiesForCannedPolicy>
@Immutable
@ThreadSafe
public final class DefaultCookiesForCannedPolicy
extends Object
implements CookiesForCannedPolicy
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.cloudfront.cookie.CookiesForCannedPolicy
CookiesForCannedPolicy.Builder
-
Field Summary
Fields inherited from interface software.amazon.awssdk.services.cloudfront.cookie.SignedCookie
COOKIE
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Generates an HTTP GET request that can be executed by an HTTP client to access the resourceboolean
Returns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"int
hashCode()
Returns the cookie key-pair-Id header value that can be appended to an HTTP GET request i.e., "CloudFront-Key-Pair-Id=[KEY_PAIR_ID_VALUE]"Returns the resource URLReturns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"Take this object and create a builder that contains all of the current property values of this object.toString()
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CookiesForCannedPolicy.Builder,
CookiesForCannedPolicy> - Returns:
- a builder for type T
-
toString
-
resourceUrl
Description copied from interface:SignedCookie
Returns the resource URL- Specified by:
resourceUrl
in interfaceSignedCookie
-
createHttpGetRequest
Description copied from interface:SignedCookie
Generates an HTTP GET request that can be executed by an HTTP client to access the resource- Specified by:
createHttpGetRequest
in interfaceSignedCookie
-
signatureHeaderValue
Description copied from interface:SignedCookie
Returns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"- Specified by:
signatureHeaderValue
in interfaceSignedCookie
-
keyPairIdHeaderValue
Description copied from interface:SignedCookie
Returns the cookie key-pair-Id header value that can be appended to an HTTP GET request i.e., "CloudFront-Key-Pair-Id=[KEY_PAIR_ID_VALUE]"- Specified by:
keyPairIdHeaderValue
in interfaceSignedCookie
-
expiresHeaderValue
Description copied from interface:CookiesForCannedPolicy
Returns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"- Specified by:
expiresHeaderValue
in interfaceCookiesForCannedPolicy
-
equals
-
hashCode
-