Package | Description |
---|---|
software.amazon.awssdk.services.s3.model |
Modifier and Type | Method and Description |
---|---|
CORSRule.Builder |
CORSRule.Builder.allowedHeaders(Collection<String> allowedHeaders)
Headers that are specified in the
Access-Control-Request-Headers header. |
CORSRule.Builder |
CORSRule.Builder.allowedHeaders(String... allowedHeaders)
Headers that are specified in the
Access-Control-Request-Headers header. |
CORSRule.Builder |
CORSRule.Builder.allowedMethods(Collection<String> allowedMethods)
An HTTP method that you allow the origin to execute.
|
CORSRule.Builder |
CORSRule.Builder.allowedMethods(String... allowedMethods)
An HTTP method that you allow the origin to execute.
|
CORSRule.Builder |
CORSRule.Builder.allowedOrigins(Collection<String> allowedOrigins)
One or more origins you want customers to be able to access the bucket from.
|
CORSRule.Builder |
CORSRule.Builder.allowedOrigins(String... allowedOrigins)
One or more origins you want customers to be able to access the bucket from.
|
static CORSRule.Builder |
CORSRule.builder() |
CORSRule.Builder |
CORSRule.Builder.exposeHeaders(Collection<String> exposeHeaders)
One or more headers in the response that you want customers to be able to access from their applications (for
example, from a JavaScript
XMLHttpRequest object). |
CORSRule.Builder |
CORSRule.Builder.exposeHeaders(String... exposeHeaders)
One or more headers in the response that you want customers to be able to access from their applications (for
example, from a JavaScript
XMLHttpRequest object). |
CORSRule.Builder |
CORSRule.Builder.maxAgeSeconds(Integer maxAgeSeconds)
The time in seconds that your browser is to cache the preflight response for the specified resource.
|
CORSRule.Builder |
CORSRule.toBuilder() |
Modifier and Type | Method and Description |
---|---|
static Class<? extends CORSRule.Builder> |
CORSRule.serializableBuilderClass() |
Copyright © 2020. All rights reserved.