Class CookieSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.workspacesweb.model.CookieSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CookieSpecification.Builder,CookieSpecification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCookieSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CookieSpecification.Builderbuilder()Stringdomain()The domain of the cookie.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the cookie.Stringpath()The path of the cookie.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CookieSpecification.Builder>serializableBuilderClass()CookieSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
domain
public final String domain()
The domain of the cookie.
- Returns:
- The domain of the cookie.
-
name
public final String name()
The name of the cookie.
- Returns:
- The name of the cookie.
-
path
public final String path()
The path of the cookie.
- Returns:
- The path of the cookie.
-
toBuilder
public CookieSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CookieSpecification.Builder,CookieSpecification>
-
builder
public static CookieSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends CookieSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-