@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CookieSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a single cookie or set of cookies in an end user's browser.
Constructor and Description |
---|
CookieSpecification() |
Modifier and Type | Method and Description |
---|---|
CookieSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getDomain()
The domain of the cookie.
|
String |
getName()
The name of the cookie.
|
String |
getPath()
The path of the cookie.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomain(String domain)
The domain of the cookie.
|
void |
setName(String name)
The name of the cookie.
|
void |
setPath(String path)
The path of the cookie.
|
String |
toString()
Returns a string representation of this object.
|
CookieSpecification |
withDomain(String domain)
The domain of the cookie.
|
CookieSpecification |
withName(String name)
The name of the cookie.
|
CookieSpecification |
withPath(String path)
The path of the cookie.
|
public void setDomain(String domain)
The domain of the cookie.
domain
- The domain of the cookie.public String getDomain()
The domain of the cookie.
public CookieSpecification withDomain(String domain)
The domain of the cookie.
domain
- The domain of the cookie.public void setName(String name)
The name of the cookie.
name
- The name of the cookie.public String getName()
The name of the cookie.
public CookieSpecification withName(String name)
The name of the cookie.
name
- The name of the cookie.public void setPath(String path)
The path of the cookie.
path
- The path of the cookie.public String getPath()
The path of the cookie.
public CookieSpecification withPath(String path)
The path of the cookie.
path
- The path of the cookie.public String toString()
toString
in class Object
Object.toString()
public CookieSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.