BucketWormProps
Properties for defining a BucketWorm.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oss-bucketworm
Initializer
import com.aliyun.ros.cdk.oss.BucketWormProps;
BucketWormProps.builder()
.bucket(java.lang.String)
.bucket(IResolvable)
.retentionPeriodInDays(java.lang.Number)
.retentionPeriodInDays(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
bucket | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property bucket: The name of the bucket. |
retentionPeriodInDays | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property retentionPeriodInDays: The specified number of days to retain the Object. |
bucketRequired
public java.lang.Object getBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bucket: The name of the bucket.
retentionPeriodInDaysRequired
public java.lang.Object getRetentionPeriodInDays();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property retentionPeriodInDays: The specified number of days to retain the Object.