类 SetBucketReplicationRequest


  • public class SetBucketReplicationRequest
    extends GenericBucketRequest
    Request object containing all the options for setting a bucket's replication.
    • 构造器详细资料

      • SetBucketReplicationRequest

        public SetBucketReplicationRequest()
        Constructs a void Constructor for SetBucketReplicationRequest.
      • SetBucketReplicationRequest

        public SetBucketReplicationRequest​(String bucketName)
        Constructs a new SetBucketReplicationRequest to get a specified Bucket Lifecycle.
        参数:
        bucketName -
    • 方法详细资料

      • getStatus

        public String getStatus()
        Gets the status of replication
        返回:
      • setStatus

        public void setStatus​(String status)
        Sets the status of replication
        参数:
        status -
      • withStatus

        public SetBucketReplicationRequest withStatus​(String status)
        Sets the status bucket replication and returns this object, enabling additional method calls to be chained together.
        参数:
        status - The status bucket replication.
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • getResource

        public String[] getResource()
        Gets the replication prefix
        返回:
      • setResource

        public void setResource​(String[] resource)
        Sets the replication prefix
        参数:
        resource -
      • getJsonBucketReplication

        public String getJsonBucketReplication()
        Gets json formot bucket replication
        返回:
      • setJsonBucketReplication

        public void setJsonBucketReplication​(String jsonBucketReplication)
        Sets json formot bucket replication
        参数:
        jsonBucketReplication -
      • withJsonBucketReplication

        public SetBucketReplicationRequest withJsonBucketReplication​(String jsonBucketReplication)
        Sets json formot bucket replication
        参数:
        jsonBucketReplication - json formot bucket replication
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • withResource

        public SetBucketReplicationRequest withResource​(String[] resource)
        Sets the replication prefix
        参数:
        resource - the replication prefix
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • getDestination

        public Destination getDestination()
        Gets the config of dest replication
        返回:
      • setDestination

        public void setDestination​(Destination destination)
        Sets the config of dest replication
        参数:
        destination -
      • withDestination

        public SetBucketReplicationRequest withDestination​(Destination destination)
        Sets the config of dest replication
        参数:
        destination - the config of dest replication
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • getReplicateHistory

        public ReplicateHistory getReplicateHistory()
        Gets the history replication
        返回:
      • setReplicateHistory

        public void setReplicateHistory​(ReplicateHistory replicateHistory)
        Sets the history replication
        参数:
        replicateHistory -
      • withReplicationHistory

        public SetBucketReplicationRequest withReplicationHistory​(ReplicateHistory replicateHistory)
        Sets the history replication
        参数:
        replicateHistory - the history replication
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • getReplicateDeletes

        public String getReplicateDeletes()
        Gets the status of sync delete
        返回:
      • setReplicateDeletes

        public void setReplicateDeletes​(String replicateDeletes)
        Sets the status of sync delete
        参数:
        replicateDeletes -
      • withReplicationDeletes

        public SetBucketReplicationRequest withReplicationDeletes​(String replicateDeletes)
        Sets the status of sync delete
        参数:
        replicateDeletes - the status of sync delete
        返回:
        This SetBucketReplicationRequest, enabling additional method calls to be chained together.
      • getId

        public String getId()
        Gets the replication rule name
        返回:
      • setId

        public void setId​(String id)
        Sets the replication rule name
        参数:
        id -
      • withId

        public SetBucketReplicationRequest withId​(String id)
        Sets the id of Bucket Replication.
        参数:
        id - The id of Bucket Replication.
        返回:
        this object.