public class DeleteBucketReplicationRequest extends GenericBucketRequest
| Constructor and Description |
|---|
DeleteBucketReplicationRequest()
Constructs a void Constructor for DeleteBucketReplicationRequest.
|
DeleteBucketReplicationRequest(String bucketName)
Constructs a new DeleteBucketReplicationRequest, ready to be executed to delete the specified Bucket Replication.
|
DeleteBucketReplicationRequest(String bucketName,
String id)
Constructs a new DeleteBucketReplicationRequest, ready to be executed to delete the specified Bucket Replication.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the replication rule name
|
void |
setId(String id)
Sets the replication rule name
|
DeleteBucketReplicationRequest |
withBucketName(String bucketName)
Sets the name of the Baidu Bos bucket to delete Bucket Replication.
|
DeleteBucketReplicationRequest |
withRequestCredentials(BceCredentials credentials) |
getBucketName, setBucketNamegetRequestCredentials, setRequestCredentialspublic DeleteBucketReplicationRequest()
public DeleteBucketReplicationRequest(String bucketName)
bucketName - The name of the Baidu Bos bucket to delete Bucket Replication.public DeleteBucketReplicationRequest(String bucketName, String id)
bucketName - The name of the Baidu Bos bucket to delete Bucket Replication.id - replication rule namepublic DeleteBucketReplicationRequest withBucketName(String bucketName)
withBucketName in class GenericBucketRequestbucketName - The name of the Baidu Bos bucket to delete Bucket Replication.public DeleteBucketReplicationRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic String getId()
public void setId(String id)
id - Copyright © 2022. All rights reserved.