com.obs.services.model

## 类 ReplicationConfiguration.Rule

- java.lang.Object
- - com.obs.services.model.ReplicationConfiguration.Rule

- 封闭类:
    ReplicationConfiguration

      public static class ReplicationConfiguration.Rule
      extends Object

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `ReplicationConfiguration.Destination` | `getDestination()` Obtain the information about the replication destination.
    `HistoricalObjectReplicationEnum` | `getHistoricalObjectReplication()` Obtain the replication status of historical objects.
    `String` | `getId()` Obtain the rule ID.
    `String` | `getPrefix()` Obtain the object name prefix that identifies objects to which the rule applies.
    `RuleStatusEnum` | `getStatus()` Obtain the rule status.
    `void` | `setDestination(ReplicationConfiguration.Destination destination)` Set the information about the replication target.
    `void` | `setHistoricalObjectReplication(HistoricalObjectReplicationEnum historicalObjectReplication)` Set historical object replication rule.
    `void` | `setId(String id)` Set the rule ID.
    `void` | `setPrefix(String prefix)` Set the object name prefix that identifies objects to which the rule applies.
    `void` | `setStatus(RuleStatusEnum status)` Set the rule status.
    `String` | `toString()`

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

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

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

    - #### Rule

          public Rule()

  - ### 方法详细资料

    - #### getId

          public String getId()

      Obtain the rule ID.
      返回:
        Rule ID

    - #### setId

          public void setId(String id)

      Set the rule ID.
      参数:
        `id` - Rule ID

    - #### getStatus

          public RuleStatusEnum getStatus()

      Obtain the rule status.
      返回:
        Rule status

    - #### setStatus

          public void setStatus(RuleStatusEnum status)

      Set the rule status.
      参数:
        `status` - Rule status

    - #### getHistoricalObjectReplication

          public HistoricalObjectReplicationEnum getHistoricalObjectReplication()

      Obtain the replication status of historical objects.
      返回:
        Rule status

    - #### setHistoricalObjectReplication

          public void setHistoricalObjectReplication(HistoricalObjectReplicationEnum historicalObjectReplication)

      Set historical object replication rule.
      参数:
        `historicalObjectReplication` - Rule status

    - #### getPrefix

          public String getPrefix()

      Obtain the object name prefix that identifies objects to which the rule applies.
      返回:
        Object name prefix

    - #### setPrefix

          public void setPrefix(String prefix)

      Set the object name prefix that identifies objects to which the rule applies.
      参数:
        `prefix` - Object name prefix

    - #### getDestination

          public ReplicationConfiguration.Destination getDestination()

      Obtain the information about the replication destination.
      返回:
        Destination information

    - #### setDestination

          public void setDestination(ReplicationConfiguration.Destination destination)

      Set the information about the replication target.
      参数:
        `destination` - Destination information

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.