| Package | Description |
|---|---|
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
CorsConfiguration |
CorsConfiguration.withAllowedExposeHeaders(List<String> allowedExposeHeaders)
Sets allowedExposeHeaders of Bucket CORS.
|
CorsConfiguration |
CorsConfiguration.withAllowedHeaders(List<String> allowedHeaders)
Sets allowedHeaders of Bucket CORS.
|
CorsConfiguration |
CorsConfiguration.withAllowedMethods(List<AllowedMethods> allowedMethods)
Sets allowedMethods of Bucket CORS.
|
CorsConfiguration |
CorsConfiguration.withAllowedOrigins(List<String> allowedOrigins)
Sets allowedOrigins of Bucket CORS.
|
CorsConfiguration |
CorsConfiguration.withMaxAgeSeconds(int maxAgeSeconds)
Sets maxAgeSeconds of Bucket CORS.
|
| Modifier and Type | Method and Description |
|---|---|
List<CorsConfiguration> |
GetBucketCorsResponse.getCorsConfiguration()
Gets corsConfiguration of GetBucketCorsResponse.
|
List<CorsConfiguration> |
SetBucketCorsRequest.getCorsConfigurationsList()
Gets the corsConfigurationsList for Bucket CORS.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetBucketCorsResponse.setCorsConfiguration(List<CorsConfiguration> corsConfiguration)
Sets corsConfiguration of GetBucketCorsResponse.
|
void |
SetBucketCorsRequest.setCorsConfigurationsList(List<CorsConfiguration> corsConfigurationsList)
Sets the corsConfigurationsList for Bucket CORS.
|
| Constructor and Description |
|---|
GetBucketCorsResponse(List<CorsConfiguration> corsConfiguration)
Constructs a new GetBucketCorsResponse object for GetBucketCorsResponse.
|
SetBucketCorsRequest(String bucketName,
List<CorsConfiguration> corsConfigurationsList)
Constructs a new SetBucketCorsRequest object, ready to set the specified Bucket CORS.
|
Copyright © 2022. All rights reserved.