Class DefaultCookiesForCustomPolicy
java.lang.Object
software.amazon.awssdk.services.cloudfront.internal.cookie.DefaultCookiesForCustomPolicy
- All Implemented Interfaces:
CookiesForCustomPolicy
,SignedCookie
,ToCopyableBuilder<CookiesForCustomPolicy.Builder,
CookiesForCustomPolicy>
@Immutable
@ThreadSafe
public final class DefaultCookiesForCustomPolicy
extends Object
implements CookiesForCustomPolicy
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.cloudfront.cookie.CookiesForCustomPolicy
CookiesForCustomPolicy.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
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 cookie policy header value that can be appended to an HTTP GET request i.e., "CloudFront-Policy=[POLICY_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<CookiesForCustomPolicy.Builder,
CookiesForCustomPolicy> - 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
-
policyHeaderValue
Description copied from interface:CookiesForCustomPolicy
Returns the cookie policy header value that can be appended to an HTTP GET request i.e., "CloudFront-Policy=[POLICY_VALUE]"- Specified by:
policyHeaderValue
in interfaceCookiesForCustomPolicy
-
equals
-
hashCode
-