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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookiesForCannedPolicy.Builderbuilder()SdkHttpRequestcreateHttpGetRequest()Generates an HTTP GET request that can be executed by an HTTP client to access the resourcebooleanequals(Object o)StringexpiresHeaderValue()Returns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"inthashCode()StringkeyPairIdHeaderValue()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]"StringresourceUrl()Returns the resource URLStringsignatureHeaderValue()Returns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"CookiesForCannedPolicy.BuildertoBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static CookiesForCannedPolicy.Builder builder()
-
toBuilder
public CookiesForCannedPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CookiesForCannedPolicy.Builder,CookiesForCannedPolicy>
-
resourceUrl
public String resourceUrl()
Description copied from interface:SignedCookieReturns the resource URL- Specified by:
resourceUrlin interfaceSignedCookie
-
createHttpGetRequest
public SdkHttpRequest 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
public String 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
public String 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
public String 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
-
-