| Package | Description |
|---|---|
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
Rule |
Rule.withAction(Action action)
Sets the action of Bucket Lifecycle.
|
Rule |
Rule.withCondtion(Condition condition)
Sets the condtion of Bucket Lifecycle.
|
Rule |
Rule.withId(String id)
Sets the rule id of Bucket Lifecycle.
|
Rule |
Rule.withResource(List<String> resource)
Sets the resource of Bucket Lifecycle.
|
Rule |
Rule.withStatus(String status)
Sets the status of Bucket Lifecycle.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
GetBucketLifecycleResponse.getRule()
Gets rule of GetBucketLifecycleResponse.
|
List<Rule> |
SetBucketLifecycleRequest.getRuleList()
Gets the ruleList of Bucket Lifecycle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetBucketLifecycleResponse.setRule(List<Rule> rule)
Sets rule of GetBucketLifecycleResponse.
|
void |
SetBucketLifecycleRequest.setRuleList(List<Rule> ruleList)
Sets the ruleList of Bucket Lifecycle.
|
| Constructor and Description |
|---|
GetBucketLifecycleResponse(List<Rule> rule)
Constructs a new GetBucketLifecycleResponse object for GetBucketLifecycleResponse.
|
SetBucketLifecycleRequest(String bucketName,
List<Rule> ruleList)
Constructs a new SetBucketLifecycleRequest object, ready to set the specified Bucket Lifecycle.
|
Copyright © 2020. All rights reserved.