com.baidubce.services.bos.model
Class DeleteBucketReplicationRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bos.model.GenericBucketRequest
          extended by com.baidubce.services.bos.model.DeleteBucketReplicationRequest

public class DeleteBucketReplicationRequest
extends GenericBucketRequest

Delete Bucket Replication Request


Constructor Summary
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.
 
Method Summary
 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)
           
 
Methods inherited from class com.baidubce.services.bos.model.GenericBucketRequest
getBucketName, setBucketName
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteBucketReplicationRequest

public DeleteBucketReplicationRequest()
Constructs a void Constructor for DeleteBucketReplicationRequest.


DeleteBucketReplicationRequest

public DeleteBucketReplicationRequest(String bucketName)
Constructs a new DeleteBucketReplicationRequest, ready to be executed to delete the specified Bucket Replication.

Parameters:
bucketName - The name of the Baidu Bos bucket to delete Bucket Replication.

DeleteBucketReplicationRequest

public DeleteBucketReplicationRequest(String bucketName,
                                      String id)
Constructs a new DeleteBucketReplicationRequest, ready to be executed to delete the specified Bucket Replication.

Parameters:
bucketName - The name of the Baidu Bos bucket to delete Bucket Replication.
id - replication rule name
Method Detail

withBucketName

public DeleteBucketReplicationRequest withBucketName(String bucketName)
Sets the name of the Baidu Bos bucket to delete Bucket Replication.

Specified by:
withBucketName in class GenericBucketRequest
Parameters:
bucketName - The name of the Baidu Bos bucket to delete Bucket Replication.

withRequestCredentials

public DeleteBucketReplicationRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

getId

public String getId()
Gets the replication rule name

Returns:

setId

public void setId(String id)
Sets the replication rule name

Parameters:
id -


Copyright © 2020. All rights reserved.