| Package | Description |
|---|---|
| com.amazonaws.services.mediastore.model |
| Modifier and Type | Method and Description |
|---|---|
CorsRule |
CorsRule.clone() |
CorsRule |
CorsRule.withAllowedHeaders(Collection<String> allowedHeaders)
Specifies which headers are allowed in a preflight
OPTIONS request through the
Access-Control-Request-Headers header. |
CorsRule |
CorsRule.withAllowedHeaders(String... allowedHeaders)
Specifies which headers are allowed in a preflight
OPTIONS request through the
Access-Control-Request-Headers header. |
CorsRule |
CorsRule.withAllowedMethods(Collection<String> allowedMethods)
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule |
CorsRule.withAllowedMethods(MethodName... allowedMethods)
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule |
CorsRule.withAllowedMethods(String... allowedMethods)
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule |
CorsRule.withAllowedOrigins(Collection<String> allowedOrigins)
One or more response headers that you want users to be able to access from their applications (for example, from
a JavaScript
XMLHttpRequest object). |
CorsRule |
CorsRule.withAllowedOrigins(String... allowedOrigins)
One or more response headers that you want users to be able to access from their applications (for example, from
a JavaScript
XMLHttpRequest object). |
CorsRule |
CorsRule.withExposeHeaders(Collection<String> exposeHeaders)
One or more headers in the response that you want users to be able to access from their applications (for
example, from a JavaScript
XMLHttpRequest object). |
CorsRule |
CorsRule.withExposeHeaders(String... exposeHeaders)
One or more headers in the response that you want users to be able to access from their applications (for
example, from a JavaScript
XMLHttpRequest object). |
CorsRule |
CorsRule.withMaxAgeSeconds(Integer maxAgeSeconds)
The time in seconds that your browser caches the preflight response for the specified resource.
|
| Modifier and Type | Method and Description |
|---|---|
List<CorsRule> |
GetCorsPolicyResult.getCorsPolicy()
The CORS policy assigned to the container.
|
List<CorsRule> |
PutCorsPolicyRequest.getCorsPolicy()
The CORS policy to apply to the container.
|
| Modifier and Type | Method and Description |
|---|---|
GetCorsPolicyResult |
GetCorsPolicyResult.withCorsPolicy(CorsRule... corsPolicy)
The CORS policy assigned to the container.
|
PutCorsPolicyRequest |
PutCorsPolicyRequest.withCorsPolicy(CorsRule... corsPolicy)
The CORS policy to apply to the container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetCorsPolicyResult.setCorsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy assigned to the container.
|
void |
PutCorsPolicyRequest.setCorsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy to apply to the container.
|
GetCorsPolicyResult |
GetCorsPolicyResult.withCorsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy assigned to the container.
|
PutCorsPolicyRequest |
PutCorsPolicyRequest.withCorsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy to apply to the container.
|
Copyright © 2022. All rights reserved.