@Stability(value=Stable) public static final class CfnBucket.CorsConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.CorsConfigurationProperty>
CfnBucket.CorsConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.CorsConfigurationProperty |
build()
Builds the configured instance.
|
CfnBucket.CorsConfigurationProperty.Builder |
corsRules(IResolvable corsRules)
Sets the value of
CfnBucket.CorsConfigurationProperty.getCorsRules() |
CfnBucket.CorsConfigurationProperty.Builder |
corsRules(List<? extends Object> corsRules)
Sets the value of
CfnBucket.CorsConfigurationProperty.getCorsRules() |
@Stability(value=Stable) public CfnBucket.CorsConfigurationProperty.Builder corsRules(IResolvable corsRules)
CfnBucket.CorsConfigurationProperty.getCorsRules()corsRules - A set of origins and methods (cross-origin access that you want to allow). This parameter is required.
You can add up to 100 rules to the configuration.this@Stability(value=Stable) public CfnBucket.CorsConfigurationProperty.Builder corsRules(List<? extends Object> corsRules)
CfnBucket.CorsConfigurationProperty.getCorsRules()corsRules - A set of origins and methods (cross-origin access that you want to allow). This parameter is required.
You can add up to 100 rules to the configuration.this@Stability(value=Stable) public CfnBucket.CorsConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.CorsConfigurationProperty>CfnBucket.CorsConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.