类 ReplicationConfiguration.Rule
java.lang.Object
com.obs.services.model.ReplicationConfiguration.Rule
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the information about the replication destination.获取历史对象复制规则状态 Obtain the replication status of historical objects.getId()Obtain the rule ID.Obtain the object name prefix that identifies objects to which the rule applies.Obtain the rule status.voidsetDestination(ReplicationConfiguration.Destination destination) Set the information about the replication target.voidsetHistoricalObjectReplication(HistoricalObjectReplicationEnum historicalObjectReplication) 设置历史对象复制规则 Set historical object replication rule.voidSet the rule ID.voidSet the object name prefix that identifies objects to which the rule applies.voidsetStatus(RuleStatusEnum status) Set the rule status.toString()
-
构造器详细资料
-
Rule
public Rule()
-
-
方法详细资料
-
getId
-
setId
-
getStatus
-
setStatus
-
getHistoricalObjectReplication
获取历史对象复制规则状态 Obtain the replication status of historical objects.- 返回:
- 规则状态
-
setHistoricalObjectReplication
public void setHistoricalObjectReplication(HistoricalObjectReplicationEnum historicalObjectReplication) 设置历史对象复制规则 Set historical object replication rule.- 参数:
historicalObjectReplication- 规则状态 Rule status
-
getPrefix
Obtain the object name prefix that identifies objects to which the rule applies.- 返回:
- Object name prefix
-
setPrefix
Set the object name prefix that identifies objects to which the rule applies.- 参数:
prefix- Object name prefix
-
getDestination
Obtain the information about the replication destination.- 返回:
- Destination information
-
setDestination
Set the information about the replication target.- 参数:
destination- Destination information
-
toString
-