CORSRuleProperty
Initializer
import com.aliyun.ros.cdk.oss.RosBucket.CORSRuleProperty;
CORSRuleProperty.builder()
// .allowedHeader(IResolvable)
// .allowedHeader(java.util.List<java.lang.String)
// .allowedHeader(IResolvable>)
// .allowedMethod(IResolvable)
// .allowedMethod(java.util.List<java.lang.String)
// .allowedMethod(IResolvable>)
// .allowedOrigin(IResolvable)
// .allowedOrigin(java.util.List<java.lang.String)
// .allowedOrigin(IResolvable>)
// .exposeHeader(IResolvable)
// .exposeHeader(java.util.List<java.lang.String)
// .exposeHeader(IResolvable>)
// .maxAgeSeconds(java.lang.Number)
// .maxAgeSeconds(IResolvable)
.build();
Properties
Name |
Type |
Description |
allowedHeader |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
No description. |
allowedMethod |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
No description. |
allowedOrigin |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
No description. |
exposeHeader |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
No description. |
maxAgeSeconds |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
public java.lang.Object getAllowedHeader();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
allowedMethod
Optional
public java.lang.Object getAllowedMethod();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
allowedOrigin
Optional
public java.lang.Object getAllowedOrigin();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
public java.lang.Object getExposeHeader();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
maxAgeSeconds
Optional
public java.lang.Object getMaxAgeSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable