类 ReplicationConfiguration.Rule
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.ReplicationConfiguration.Rule
-
字段概要
字段修饰符和类型字段说明private HistoricalObjectReplicationEnumprivate Stringprivate Stringprivate RuleStatusEnum -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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()
-
字段详细资料
-
id
-
status
-
prefix
-
destination
-
historicalObjectReplication
-
-
构造器详细资料
-
Rule
public Rule()
-
-
方法详细资料
-
getId
Obtain the rule ID.- 返回:
- Rule ID
-
setId
Set the rule ID.- 参数:
id- Rule ID
-
getStatus
Obtain the rule status.- 返回:
- Rule status
-
setStatus
Set the rule status.- 参数:
status- Rule status
-
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
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
-