@Generated(value="software.amazon.awssdk:codegen") public final class CookieSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CookieSpecification.Builder,CookieSpecification>
Specifies a single cookie or set of cookies in an end user's browser.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CookieSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CookieSpecification.Builder |
builder() |
String |
domain()
The domain of the cookie.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the cookie.
|
String |
path()
The path of the cookie.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CookieSpecification.Builder> |
serializableBuilderClass() |
CookieSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domain()
The domain of the cookie.
public final String name()
The name of the cookie.
public final String path()
The path of the cookie.
public CookieSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CookieSpecification.Builder,CookieSpecification>public static CookieSpecification.Builder builder()
public static Class<? extends CookieSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.