Interface CookieSynchronizationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CookieSynchronizationConfiguration.Builder,,CookieSynchronizationConfiguration> SdkBuilder<CookieSynchronizationConfiguration.Builder,,CookieSynchronizationConfiguration> SdkPojo
- Enclosing class:
CookieSynchronizationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowlist(Collection<CookieSpecification> allowlist) The list of cookie specifications that are allowed to be synchronized to the remote browser.allowlist(Consumer<CookieSpecification.Builder>... allowlist) The list of cookie specifications that are allowed to be synchronized to the remote browser.allowlist(CookieSpecification... allowlist) The list of cookie specifications that are allowed to be synchronized to the remote browser.blocklist(Collection<CookieSpecification> blocklist) The list of cookie specifications that are blocked from being synchronized to the remote browser.blocklist(Consumer<CookieSpecification.Builder>... blocklist) The list of cookie specifications that are blocked from being synchronized to the remote browser.blocklist(CookieSpecification... blocklist) The list of cookie specifications that are blocked from being synchronized to the remote browser.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allowlist
The list of cookie specifications that are allowed to be synchronized to the remote browser.
- Parameters:
allowlist- The list of cookie specifications that are allowed to be synchronized to the remote browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowlist
The list of cookie specifications that are allowed to be synchronized to the remote browser.
- Parameters:
allowlist- The list of cookie specifications that are allowed to be synchronized to the remote browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowlist
CookieSynchronizationConfiguration.Builder allowlist(Consumer<CookieSpecification.Builder>... allowlist) The list of cookie specifications that are allowed to be synchronized to the remote browser.
This is a convenience method that creates an instance of theCookieSpecification.Builderavoiding the need to create one manually viaCookieSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowlist(List<CookieSpecification>).- Parameters:
allowlist- a consumer that will call methods onCookieSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blocklist
The list of cookie specifications that are blocked from being synchronized to the remote browser.
- Parameters:
blocklist- The list of cookie specifications that are blocked from being synchronized to the remote browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocklist
The list of cookie specifications that are blocked from being synchronized to the remote browser.
- Parameters:
blocklist- The list of cookie specifications that are blocked from being synchronized to the remote browser.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocklist
CookieSynchronizationConfiguration.Builder blocklist(Consumer<CookieSpecification.Builder>... blocklist) The list of cookie specifications that are blocked from being synchronized to the remote browser.
This is a convenience method that creates an instance of theCookieSpecification.Builderavoiding the need to create one manually viaCookieSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblocklist(List<CookieSpecification>).- Parameters:
blocklist- a consumer that will call methods onCookieSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-