| Package | Description |
|---|---|
| software.amazon.awssdk.services.s3.model |
| Modifier and Type | Method and Description |
|---|---|
CORSRule.Builder |
CORSRule.Builder.allowedHeaders(Collection<String> allowedHeaders)
Specifies which headers are allowed in a pre-flight OPTIONS request.
|
CORSRule.Builder |
CORSRule.Builder.allowedHeaders(String... allowedHeaders)
Specifies which headers are allowed in a pre-flight OPTIONS request.
|
CORSRule.Builder |
CORSRule.Builder.allowedMethods(Collection<String> allowedMethods)
Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
|
CORSRule.Builder |
CORSRule.Builder.allowedMethods(String... allowedMethods)
Identifies HTTP methods that the domain/origin specified in the rule is allowed 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 © 2019. All rights reserved.