@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CookieSynchronizationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
Constructor and Description |
---|
CookieSynchronizationConfiguration() |
Modifier and Type | Method and Description |
---|---|
CookieSynchronizationConfiguration |
clone() |
boolean |
equals(Object obj) |
List<CookieSpecification> |
getAllowlist()
The list of cookie specifications that are allowed to be synchronized to the remote browser.
|
List<CookieSpecification> |
getBlocklist()
The list of cookie specifications that are blocked from being synchronized to the remote browser.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowlist(Collection<CookieSpecification> allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
|
void |
setBlocklist(Collection<CookieSpecification> blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
|
String |
toString()
Returns a string representation of this object.
|
CookieSynchronizationConfiguration |
withAllowlist(Collection<CookieSpecification> allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
|
CookieSynchronizationConfiguration |
withAllowlist(CookieSpecification... allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
|
CookieSynchronizationConfiguration |
withBlocklist(Collection<CookieSpecification> blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
|
CookieSynchronizationConfiguration |
withBlocklist(CookieSpecification... blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
|
public List<CookieSpecification> getAllowlist()
The list of cookie specifications that are allowed to be synchronized to the remote browser.
public void setAllowlist(Collection<CookieSpecification> allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
allowlist
- The list of cookie specifications that are allowed to be synchronized to the remote browser.public CookieSynchronizationConfiguration withAllowlist(CookieSpecification... allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
NOTE: This method appends the values to the existing list (if any). Use
setAllowlist(java.util.Collection)
or withAllowlist(java.util.Collection)
if you want to
override the existing values.
allowlist
- The list of cookie specifications that are allowed to be synchronized to the remote browser.public CookieSynchronizationConfiguration withAllowlist(Collection<CookieSpecification> allowlist)
The list of cookie specifications that are allowed to be synchronized to the remote browser.
allowlist
- The list of cookie specifications that are allowed to be synchronized to the remote browser.public List<CookieSpecification> getBlocklist()
The list of cookie specifications that are blocked from being synchronized to the remote browser.
public void setBlocklist(Collection<CookieSpecification> blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
blocklist
- The list of cookie specifications that are blocked from being synchronized to the remote browser.public CookieSynchronizationConfiguration withBlocklist(CookieSpecification... blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
NOTE: This method appends the values to the existing list (if any). Use
setBlocklist(java.util.Collection)
or withBlocklist(java.util.Collection)
if you want to
override the existing values.
blocklist
- The list of cookie specifications that are blocked from being synchronized to the remote browser.public CookieSynchronizationConfiguration withBlocklist(Collection<CookieSpecification> blocklist)
The list of cookie specifications that are blocked from being synchronized to the remote browser.
blocklist
- The list of cookie specifications that are blocked from being synchronized to the remote browser.public String toString()
toString
in class Object
Object.toString()
public CookieSynchronizationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.