@Generated(value="software.amazon.awssdk:codegen") public final class CookieNames extends Object implements ToCopyableBuilder<CookieNames.Builder,CookieNames>
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
CookieNames.Builder |
Modifier and Type | Method and Description |
---|---|
static CookieNames.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
items()
A complex type that contains one
Name element for each cookie that you want CloudFront to forward to
the origin for this cache behavior. |
Integer |
quantity()
The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.
|
static Class<? extends CookieNames.Builder> |
serializableBuilderClass() |
CookieNames.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer quantity()
The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.
public List<String> items()
A complex type that contains one Name
element for each cookie that you want CloudFront to forward to
the origin for this cache behavior.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Name
element for each cookie that you want CloudFront to
forward to the origin for this cache behavior.public CookieNames.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CookieNames.Builder,CookieNames>
public static CookieNames.Builder builder()
public static Class<? extends CookieNames.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.