@Stability(value=Stable) public static final class CfnDistribution.CookieObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.CookieObjectProperty>
CfnDistribution.CookieObjectProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.CookieObjectProperty |
build()
Builds the configured instance.
|
CfnDistribution.CookieObjectProperty.Builder |
cookiesAllowList(List<String> cookiesAllowList)
Sets the value of
CfnDistribution.CookieObjectProperty.getCookiesAllowList() |
CfnDistribution.CookieObjectProperty.Builder |
option(String option)
Sets the value of
CfnDistribution.CookieObjectProperty.getOption() |
@Stability(value=Stable) public CfnDistribution.CookieObjectProperty.Builder cookiesAllowList(List<String> cookiesAllowList)
CfnDistribution.CookieObjectProperty.getCookiesAllowList()cookiesAllowList - The specific cookies to forward to your distribution's origin.this@Stability(value=Stable) public CfnDistribution.CookieObjectProperty.Builder option(String option)
CfnDistribution.CookieObjectProperty.getOption()option - Specifies which cookies to forward to the distribution's origin for a cache behavior.
Use one of the following configurations for your distribution:
all - Forwards all cookies to your origin.none - Doesn’t forward cookies to your origin.allow-list - Forwards only the cookies that you specify using the CookiesAllowList parameter.this@Stability(value=Stable) public CfnDistribution.CookieObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.CookieObjectProperty>CfnDistribution.CookieObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.