public class SetBucketLifecycleRequest extends GenericBucketRequest
| Constructor and Description |
|---|
SetBucketLifecycleRequest()
Constructs a void Constructor for SetBucketLifecycleRequest.
|
SetBucketLifecycleRequest(String bucketName,
List<Rule> ruleList)
Constructs a new SetBucketLifecycleRequest object, ready to set the specified Bucket Lifecycle.
|
SetBucketLifecycleRequest(String bucketName,
String jsonBucketLifecycle)
Constructs a new SetBucketLifecycleRequest object, ready to set the specified Bucket Lifecycle.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonBucketLifecycle()
Gets the jsonBucketLifecycle of Bucket Lifecycle.
|
List<Rule> |
getRuleList()
Gets the ruleList of Bucket Lifecycle.
|
void |
setJsonBucketLifecycle(String jsonBucketLifecycle)
Sets the jsonBucketLifecycle of Bucket Lifecycle.
|
void |
setRuleList(List<Rule> ruleList)
Sets the ruleList of Bucket Lifecycle.
|
SetBucketLifecycleRequest |
withBucketName(String bucketName) |
SetBucketLifecycleRequest |
withRequestCredentials(BceCredentials credentials) |
getBucketName, setBucketNamegetRequestCredentials, setRequestCredentialspublic SetBucketLifecycleRequest()
public SetBucketLifecycleRequest(String bucketName, String jsonBucketLifecycle)
bucketName - jsonBucketLifecycle - The jsonBucketLifecycle of Bucket Lifecycle.public SetBucketLifecycleRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic SetBucketLifecycleRequest withBucketName(String bucketName)
withBucketName in class GenericBucketRequestpublic String getJsonBucketLifecycle()
public void setJsonBucketLifecycle(String jsonBucketLifecycle)
jsonBucketLifecycle - The jsonBucketLifecycle of Bucket Lifecycle.public List<Rule> getRuleList()
Copyright © 2020. All rights reserved.