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