public static class PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule
extends com.aliyun.tea.TeaModel
| Modifier and Type | Field and Description |
|---|---|
List<String> |
allowedHeader |
List<String> |
allowedMethod |
List<String> |
allowedOrigin |
List<String> |
exposeHeader |
String |
maxAgeSeconds |
| Constructor and Description |
|---|
PutBucketCORSRequestBodyCORSConfigurationCORSRule() |
| Modifier and Type | Method and Description |
|---|---|
static PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
build(Map<String,?> map) |
List<String> |
getAllowedHeader() |
List<String> |
getAllowedMethod() |
List<String> |
getAllowedOrigin() |
List<String> |
getExposeHeader() |
String |
getMaxAgeSeconds() |
PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
setAllowedHeader(List<String> allowedHeader) |
PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
setAllowedMethod(List<String> allowedMethod) |
PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
setAllowedOrigin(List<String> allowedOrigin) |
PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
setExposeHeader(List<String> exposeHeader) |
PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule |
setMaxAgeSeconds(String maxAgeSeconds) |
@NameInMap(value="MaxAgeSeconds") public String maxAgeSeconds
public PutBucketCORSRequestBodyCORSConfigurationCORSRule()
public static PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule build(Map<String,?> map) throws Exception
Exceptionpublic PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule setAllowedOrigin(List<String> allowedOrigin)
public PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule setAllowedMethod(List<String> allowedMethod)
public PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule setAllowedHeader(List<String> allowedHeader)
public PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule setExposeHeader(List<String> exposeHeader)
public PutBucketCORSRequest.PutBucketCORSRequestBodyCORSConfigurationCORSRule setMaxAgeSeconds(String maxAgeSeconds)
public String getMaxAgeSeconds()
Copyright © 2021. All rights reserved.