@Stability(value=Stable) public static final class CfnBucket.CorsRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.CorsRuleProperty>
CfnBucket.CorsRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.CorsRuleProperty.Builder |
allowedHeaders(List<String> allowedHeaders)
Sets the value of
CfnBucket.CorsRuleProperty.getAllowedHeaders() |
CfnBucket.CorsRuleProperty.Builder |
allowedMethods(List<String> allowedMethods)
Sets the value of
CfnBucket.CorsRuleProperty.getAllowedMethods() |
CfnBucket.CorsRuleProperty.Builder |
allowedOrigins(List<String> allowedOrigins)
Sets the value of
CfnBucket.CorsRuleProperty.getAllowedOrigins() |
CfnBucket.CorsRuleProperty |
build()
Builds the configured instance.
|
CfnBucket.CorsRuleProperty.Builder |
exposedHeaders(List<String> exposedHeaders)
Sets the value of
CfnBucket.CorsRuleProperty.getExposedHeaders() |
CfnBucket.CorsRuleProperty.Builder |
id(String id)
Sets the value of
CfnBucket.CorsRuleProperty.getId() |
CfnBucket.CorsRuleProperty.Builder |
maxAge(Number maxAge)
Sets the value of
CfnBucket.CorsRuleProperty.getMaxAge() |
@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder allowedMethods(List<String> allowedMethods)
CfnBucket.CorsRuleProperty.getAllowedMethods()allowedMethods - `CfnBucket.CorsRuleProperty.AllowedMethods`. This parameter is required.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder allowedOrigins(List<String> allowedOrigins)
CfnBucket.CorsRuleProperty.getAllowedOrigins()allowedOrigins - `CfnBucket.CorsRuleProperty.AllowedOrigins`. This parameter is required.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder allowedHeaders(List<String> allowedHeaders)
CfnBucket.CorsRuleProperty.getAllowedHeaders()allowedHeaders - `CfnBucket.CorsRuleProperty.AllowedHeaders`.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder exposedHeaders(List<String> exposedHeaders)
CfnBucket.CorsRuleProperty.getExposedHeaders()exposedHeaders - `CfnBucket.CorsRuleProperty.ExposedHeaders`.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder id(String id)
CfnBucket.CorsRuleProperty.getId()id - `CfnBucket.CorsRuleProperty.Id`.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty.Builder maxAge(Number maxAge)
CfnBucket.CorsRuleProperty.getMaxAge()maxAge - `CfnBucket.CorsRuleProperty.MaxAge`.this@Stability(value=Stable) public CfnBucket.CorsRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.CorsRuleProperty>CfnBucket.CorsRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.