com.baidubce.services.bos.model
Class GetBucketReplicationProgressRequest

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

public class GetBucketReplicationProgressRequest
extends GenericBucketRequest


Constructor Summary
GetBucketReplicationProgressRequest()
          Constructs a void Constructor for GetBucketReplicationProgressRequest.
GetBucketReplicationProgressRequest(String bucketName)
          Constructs a new GetBucketReplicationProgressRequest to get a specified Bucket Replication Progress.
GetBucketReplicationProgressRequest(String bucketName, String id)
          Constructs a new GetBucketReplicationProgressRequest to get a specified Bucket Replication id Progress.
 
Method Summary
 String getId()
          Gets the replication id
 void setId(String id)
          Sets the replication id
 GetBucketReplicationProgressRequest withBucketName(String bucketName)
           
 GetBucketReplicationProgressRequest withId(String id)
          Set the replication id
 GetBucketReplicationProgressRequest 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

GetBucketReplicationProgressRequest

public GetBucketReplicationProgressRequest()
Constructs a void Constructor for GetBucketReplicationProgressRequest.


GetBucketReplicationProgressRequest

public GetBucketReplicationProgressRequest(String bucketName)
Constructs a new GetBucketReplicationProgressRequest to get a specified Bucket Replication Progress.


GetBucketReplicationProgressRequest

public GetBucketReplicationProgressRequest(String bucketName,
                                           String id)
Constructs a new GetBucketReplicationProgressRequest to get a specified Bucket Replication id Progress.

Method Detail

getId

public String getId()
Gets the replication id

Returns:

setId

public void setId(String id)
Sets the replication id

Parameters:
id -

withId

public GetBucketReplicationProgressRequest withId(String id)
Set the replication id

Parameters:
id -
Returns:

withBucketName

public GetBucketReplicationProgressRequest withBucketName(String bucketName)
Specified by:
withBucketName in class GenericBucketRequest

withRequestCredentials

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


Copyright © 2020. All rights reserved.