Class DefaultCookiesForCannedPolicy
java.lang.Object
software.amazon.awssdk.services.cloudfront.internal.cookie.DefaultCookiesForCannedPolicy
- All Implemented Interfaces:
CookiesForCannedPolicy,SignedCookie,ToCopyableBuilder<CookiesForCannedPolicy.Builder,CookiesForCannedPolicy>
@Immutable
@ThreadSafe
@SdkInternalApi
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 resourcebooleanReturns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"inthashCode()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]"toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CookiesForCannedPolicy.Builder,CookiesForCannedPolicy>
-
toString
-
resourceUrl
Description copied from interface:SignedCookieReturns the resource URL- Specified by:
resourceUrlin interfaceSignedCookie
-
createHttpGetRequest
Description copied from interface:SignedCookieGenerates an HTTP GET request that can be executed by an HTTP client to access the resource- Specified by:
createHttpGetRequestin interfaceSignedCookie
-
signatureHeaderValue
Description copied from interface:SignedCookieReturns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"- Specified by:
signatureHeaderValuein interfaceSignedCookie
-
keyPairIdHeaderValue
Description copied from interface:SignedCookieReturns 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:
keyPairIdHeaderValuein interfaceSignedCookie
-
expiresHeaderValue
Description copied from interface:CookiesForCannedPolicyReturns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"- Specified by:
expiresHeaderValuein interfaceCookiesForCannedPolicy
-
equals
-
hashCode
public int hashCode()
-