com.aliyun.oss.model

## 类 ReplicationRule

- java.lang.Object
- - com.aliyun.oss.model.ReplicationRule

-     public class ReplicationRule
      extends Object

  The cross region replication rules on a bucket.

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<String>` | `getObjectPrefixList()`
    `String` | `getReplicaKmsKeyID()`
    `List<AddBucketReplicationRequest.ReplicationAction>` | `getReplicationActionList()`
    `String` | `getReplicationRuleID()`
    `ReplicationStatus` | `getReplicationStatus()`
    `String` | `getSseKmsEncryptedObjectsStatus()`
    `String` | `getSyncRole()`
    `String` | `getTargetBucketLocation()`
    `String` | `getTargetBucketName()`
    `String` | `getTargetCloud()`
    `String` | `getTargetCloudLocation()`
    `boolean` | `isEnableHistoricalObjectReplication()`
    `void` | `setEnableHistoricalObjectReplication(boolean enableHistoricalObjectReplication)`
    `void` | `setObjectPrefixList(List<String> objectPrefixList)`
    `void` | `setReplicaKmsKeyID(String id)`
    `void` | `setReplicationActionList(List<AddBucketReplicationRequest.ReplicationAction> replicationActionList)`
    `void` | `setReplicationRuleID(String replicationRuleID)`
    `void` | `setReplicationStatus(ReplicationStatus replicationStatus)`
    `void` | `setSseKmsEncryptedObjectsStatus(String status)`
    `void` | `setSyncRole(String name)`
    `void` | `setTargetBucketLocation(String targetBucketLocation)`
    `void` | `setTargetBucketName(String targetBucketName)`
    `void` | `setTargetCloud(String targetCloud)`
    `void` | `setTargetCloudLocation(String targetCloudLocation)`

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

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

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

    - #### ReplicationRule

          public ReplicationRule()

  - ### 方法详细资料

    - #### 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)

    - #### getObjectPrefixList

          public List<String> getObjectPrefixList()

    - #### setObjectPrefixList

          public void setObjectPrefixList(List<String> objectPrefixList)

    - #### getReplicationActionList

          public List<AddBucketReplicationRequest.ReplicationAction> getReplicationActionList()

    - #### setReplicationActionList

          public void setReplicationActionList(List<AddBucketReplicationRequest.ReplicationAction> replicationActionList)

    - #### setSyncRole

          public void setSyncRole(String name)

    - #### getSyncRole

          public String getSyncRole()

    - #### setReplicaKmsKeyID

          public void setReplicaKmsKeyID(String id)

    - #### getReplicaKmsKeyID

          public String getReplicaKmsKeyID()

    - #### setSseKmsEncryptedObjectsStatus

          public void setSseKmsEncryptedObjectsStatus(String status)

    - #### getSseKmsEncryptedObjectsStatus

          public String getSseKmsEncryptedObjectsStatus()

Copyright © 2020. All Rights Reserved.