Interface AwsCorsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsCorsConfiguration.Builder,
,AwsCorsConfiguration> SdkBuilder<AwsCorsConfiguration.Builder,
,AwsCorsConfiguration> SdkPojo
- Enclosing class:
AwsCorsConfiguration
public static interface AwsCorsConfiguration.Builder
extends SdkPojo, CopyableBuilder<AwsCorsConfiguration.Builder,AwsCorsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionallowCredentials
(Boolean allowCredentials) Indicates whether the CORS request includes credentials.allowHeaders
(String... allowHeaders) The allowed headers for CORS requests.allowHeaders
(Collection<String> allowHeaders) The allowed headers for CORS requests.allowMethods
(String... allowMethods) The allowed methods for CORS requests.allowMethods
(Collection<String> allowMethods) The allowed methods for CORS requests.allowOrigins
(String... allowOrigins) The allowed origins for CORS requests.allowOrigins
(Collection<String> allowOrigins) The allowed origins for CORS requests.exposeHeaders
(String... exposeHeaders) The exposed headers for CORS requests.exposeHeaders
(Collection<String> exposeHeaders) The exposed headers for CORS requests.The number of seconds for which the browser caches preflight request results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allowOrigins
The allowed origins for CORS requests.
- Parameters:
allowOrigins
- The allowed origins for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowOrigins
The allowed origins for CORS requests.
- Parameters:
allowOrigins
- The allowed origins for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowCredentials
Indicates whether the CORS request includes credentials.
- Parameters:
allowCredentials
- Indicates whether the CORS request includes credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exposeHeaders
The exposed headers for CORS requests.
- Parameters:
exposeHeaders
- The exposed headers for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exposeHeaders
The exposed headers for CORS requests.
- Parameters:
exposeHeaders
- The exposed headers for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxAge
The number of seconds for which the browser caches preflight request results.
- Parameters:
maxAge
- The number of seconds for which the browser caches preflight request results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowMethods
The allowed methods for CORS requests.
- Parameters:
allowMethods
- The allowed methods for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowMethods
The allowed methods for CORS requests.
- Parameters:
allowMethods
- The allowed methods for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowHeaders
The allowed headers for CORS requests.
- Parameters:
allowHeaders
- The allowed headers for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowHeaders
The allowed headers for CORS requests.
- Parameters:
allowHeaders
- The allowed headers for CORS requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-