| Package | Description |
|---|---|
| com.amazonaws.services.securityhub.model |
| Modifier and Type | Method and Description |
|---|---|
AwsCorsConfiguration |
AwsCorsConfiguration.clone() |
AwsCorsConfiguration |
AwsApiGatewayV2ApiDetails.getCorsConfiguration()
A cross-origin resource sharing (CORS) configuration.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowCredentials(Boolean allowCredentials)
Indicates whether the CORS request includes credentials.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowHeaders(Collection<String> allowHeaders)
The allowed headers for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowHeaders(String... allowHeaders)
The allowed headers for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowMethods(Collection<String> allowMethods)
The allowed methods for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowMethods(String... allowMethods)
The allowed methods for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowOrigins(Collection<String> allowOrigins)
The allowed origins for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withAllowOrigins(String... allowOrigins)
The allowed origins for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withExposeHeaders(Collection<String> exposeHeaders)
The exposed headers for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withExposeHeaders(String... exposeHeaders)
The exposed headers for CORS requests.
|
AwsCorsConfiguration |
AwsCorsConfiguration.withMaxAge(Integer maxAge)
The number of seconds for which the browser caches preflight request results.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AwsApiGatewayV2ApiDetails.setCorsConfiguration(AwsCorsConfiguration corsConfiguration)
A cross-origin resource sharing (CORS) configuration.
|
AwsApiGatewayV2ApiDetails |
AwsApiGatewayV2ApiDetails.withCorsConfiguration(AwsCorsConfiguration corsConfiguration)
A cross-origin resource sharing (CORS) configuration.
|
Copyright © 2021. All rights reserved.