@Deprecated
public static final class CfnApiV2.CorsProperty.Builder
extends java.lang.Object
CfnApiV2.CorsProperty
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CfnApiV2.CorsProperty.Builder |
allowCredentials(java.lang.Boolean allowCredentials)
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
allowCredentials(IResolvable allowCredentials)
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
allowHeaders(java.util.List<java.lang.String> allowHeaders)
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
allowMethods(java.util.List<java.lang.String> allowMethods)
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
allowOrigins(java.util.List<java.lang.String> allowOrigins)
Deprecated.
|
CfnApiV2.CorsProperty |
build()
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
exposeHeaders(java.util.List<java.lang.String> exposeHeaders)
Deprecated.
|
CfnApiV2.CorsProperty.Builder |
maxAge(java.lang.Number maxAge)
Deprecated.
|
@Deprecated public CfnApiV2.CorsProperty.Builder allowCredentials(java.lang.Boolean allowCredentials)
CfnApiV2.CorsProperty.getAllowCredentials()
allowCredentials
- `CfnApiV2.CorsProperty.AllowCredentials`.this
@Deprecated public CfnApiV2.CorsProperty.Builder allowCredentials(IResolvable allowCredentials)
CfnApiV2.CorsProperty.getAllowCredentials()
allowCredentials
- `CfnApiV2.CorsProperty.AllowCredentials`.this
@Deprecated public CfnApiV2.CorsProperty.Builder allowHeaders(java.util.List<java.lang.String> allowHeaders)
CfnApiV2.CorsProperty.getAllowHeaders()
allowHeaders
- `CfnApiV2.CorsProperty.AllowHeaders`.this
@Deprecated public CfnApiV2.CorsProperty.Builder allowMethods(java.util.List<java.lang.String> allowMethods)
CfnApiV2.CorsProperty.getAllowMethods()
allowMethods
- `CfnApiV2.CorsProperty.AllowMethods`.this
@Deprecated public CfnApiV2.CorsProperty.Builder allowOrigins(java.util.List<java.lang.String> allowOrigins)
CfnApiV2.CorsProperty.getAllowOrigins()
allowOrigins
- `CfnApiV2.CorsProperty.AllowOrigins`.this
@Deprecated public CfnApiV2.CorsProperty.Builder exposeHeaders(java.util.List<java.lang.String> exposeHeaders)
CfnApiV2.CorsProperty.getExposeHeaders()
exposeHeaders
- `CfnApiV2.CorsProperty.ExposeHeaders`.this
@Deprecated public CfnApiV2.CorsProperty.Builder maxAge(java.lang.Number maxAge)
CfnApiV2.CorsProperty.getMaxAge()
maxAge
- `CfnApiV2.CorsProperty.MaxAge`.this
@Deprecated public CfnApiV2.CorsProperty build()
CfnApiV2.CorsProperty
java.lang.NullPointerException
- if any required attribute was not provided