com.aliyun.oss.model

## 类 BucketReplicationProgress

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.BucketReplicationProgress

-     public class BucketReplicationProgress
      extends GenericResult

  The progress of cross region bucket replication.

  For historical data, it uses the percentage (e.g. 0.85 means 85%) of copied file count as the progress indicator. It's only applicable for buckets enabled with historical data replication. For new coming data, it uses the replicated timestamp as the progress indicator. It means all files which are uploaded before that timestamp have been replicated to the target bucket.

- - ### 构造器概要

    构造器
    构造器和说明
    `BucketReplicationProgress()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `float` | `getHistoricalObjectProgress()`
    `Date` | `getNewObjectProgress()`
    `String` | `getReplicationRuleID()`
    `ReplicationStatus` | `getReplicationStatus()`
    `String` | `getTargetBucketLocation()`
    `String` | `getTargetBucketName()`
    `String` | `getTargetCloud()`
    `String` | `getTargetCloudLocation()`
    `boolean` | `isEnableHistoricalObjectReplication()`
    `void` | `setEnableHistoricalObjectReplication(boolean enableHistoricalObjectReplication)`
    `void` | `setHistoricalObjectProgress(float historicalObjectProgress)`
    `void` | `setNewObjectProgress(Date newObjectProgress)`
    `void` | `setReplicationRuleID(String replicationRuleID)`
    `void` | `setReplicationStatus(ReplicationStatus replicationStatus)`
    `void` | `setTargetBucketLocation(String targetBucketLocation)`
    `void` | `setTargetBucketName(String targetBucketName)`
    `void` | `setTargetCloud(String targetCloud)`
    `void` | `setTargetCloudLocation(String targetCloudLocation)`

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### BucketReplicationProgress

          public BucketReplicationProgress()

  - ### 方法详细资料

    - #### getReplicationRuleID

          public String getReplicationRuleID()

    - #### setReplicationRuleID

          public void setReplicationRuleID(String replicationRuleID)

    - #### getReplicationStatus

          public ReplicationStatus getReplicationStatus()

    - #### setReplicationStatus

          public void setReplicationStatus(ReplicationStatus replicationStatus)

    - #### getTargetBucketName

          public String getTargetBucketName()

    - #### setTargetBucketName

          public void setTargetBucketName(String targetBucketName)

    - #### getTargetBucketLocation

          public String getTargetBucketLocation()

    - #### setTargetBucketLocation

          public void setTargetBucketLocation(String targetBucketLocation)

    - #### getTargetCloud

          public String getTargetCloud()

    - #### setTargetCloud

          public void setTargetCloud(String targetCloud)

    - #### getTargetCloudLocation

          public String getTargetCloudLocation()

    - #### setTargetCloudLocation

          public void setTargetCloudLocation(String targetCloudLocation)

    - #### isEnableHistoricalObjectReplication

          public boolean isEnableHistoricalObjectReplication()

    - #### setEnableHistoricalObjectReplication

          public void setEnableHistoricalObjectReplication(boolean enableHistoricalObjectReplication)

    - #### getHistoricalObjectProgress

          public float getHistoricalObjectProgress()

    - #### setHistoricalObjectProgress

          public void setHistoricalObjectProgress(float historicalObjectProgress)

    - #### getNewObjectProgress

          public Date getNewObjectProgress()

    - #### setNewObjectProgress

          public void setNewObjectProgress(Date newObjectProgress)

Copyright © 2020. All Rights Reserved.