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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookiesForCustomPolicy.Builder
builder()
SdkHttpRequest
createHttpGetRequest()
Generates an HTTP GET request that can be executed by an HTTP client to access the resourceboolean
equals(Object o)
int
hashCode()
String
keyPairIdHeaderValue()
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]"String
policyHeaderValue()
Returns the cookie policy header value that can be appended to an HTTP GET request i.e., "CloudFront-Policy=[POLICY_VALUE]"String
resourceUrl()
Returns the resource URLString
signatureHeaderValue()
Returns the cookie signature header value that can be appended to an HTTP GET request i.e., "CloudFront-Signature=[SIGNATURE_VALUE]"CookiesForCustomPolicy.Builder
toBuilder()
String
toString()
-
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 CookiesForCustomPolicy.Builder builder()
-
toBuilder
public CookiesForCustomPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CookiesForCustomPolicy.Builder,CookiesForCustomPolicy>
-
resourceUrl
public String resourceUrl()
Description copied from interface:SignedCookie
Returns the resource URL- Specified by:
resourceUrl
in interfaceSignedCookie
-
createHttpGetRequest
public SdkHttpRequest 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
public String 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
public String 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
public String 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
-
-