@Stability(value=Stable) public static final class CfnApi.CorsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApi.CorsProperty>
CfnApi.CorsProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnApi.CorsProperty.Builder allowCredentials(Boolean allowCredentials)
CfnApi.CorsProperty.getAllowCredentials()allowCredentials - `CfnApi.CorsProperty.AllowCredentials`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder allowCredentials(IResolvable allowCredentials)
CfnApi.CorsProperty.getAllowCredentials()allowCredentials - `CfnApi.CorsProperty.AllowCredentials`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder allowHeaders(List<String> allowHeaders)
CfnApi.CorsProperty.getAllowHeaders()allowHeaders - `CfnApi.CorsProperty.AllowHeaders`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder allowMethods(List<String> allowMethods)
CfnApi.CorsProperty.getAllowMethods()allowMethods - `CfnApi.CorsProperty.AllowMethods`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder allowOrigins(List<String> allowOrigins)
CfnApi.CorsProperty.getAllowOrigins()allowOrigins - `CfnApi.CorsProperty.AllowOrigins`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder exposeHeaders(List<String> exposeHeaders)
CfnApi.CorsProperty.getExposeHeaders()exposeHeaders - `CfnApi.CorsProperty.ExposeHeaders`.this@Stability(value=Stable) public CfnApi.CorsProperty.Builder maxAge(Number maxAge)
CfnApi.CorsProperty.getMaxAge()maxAge - `CfnApi.CorsProperty.MaxAge`.this@Stability(value=Stable) public CfnApi.CorsProperty build()
build in interface software.amazon.jsii.Builder<CfnApi.CorsProperty>CfnApi.CorsPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.