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.Builder
builder()
SdkHttpRequest
createHttpGetRequest()
Generates an HTTP GET request that can be executed by an HTTP client to access the resourceboolean
equals(Object o)
String
expiresHeaderValue()
Returns the cookie expires header value that can be appended to an HTTP GET request i.e., "CloudFront-Expires=[EXPIRES_VALUE]"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
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]"CookiesForCannedPolicy.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 CookiesForCannedPolicy.Builder builder()
-
toBuilder
public CookiesForCannedPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CookiesForCannedPolicy.Builder,CookiesForCannedPolicy>
-
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
-
expiresHeaderValue
public String 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
-
-