public class ReplicationRule extends Object implements Serializable
| 构造器和说明 |
|---|
ReplicationRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
ReplicationDestinationConfig |
getDestinationConfig()
Returns the destination configuration for the replication rule.
|
String |
getID()
Returns the id of the replication rule.
|
String |
getPrefix()
Returns the prefix associated with the replication rule.
|
String |
getStatus()
Returns the status of the replication rule.
|
void |
setDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.
|
void |
setID(String id)
Sets the id of the replication rule.
|
void |
setPrefix(String prefix)
Sets the QCloud Object prefix for the replication rule.
|
void |
setStatus(ReplicationRuleStatus status)
Sets the status of this replication rule.
|
void |
setStatus(String status)
Sets the status of this replication rule.
|
String |
toString() |
ReplicationRule |
withDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.Returns the
updated object.
|
ReplicationRule |
withID(String id)
Sets th id of the replication rule, returns the
updated object.
|
ReplicationRule |
withPrefix(String prefix)
Sets the QCloud Object prefix for the replication rule.
|
ReplicationRule |
withStatus(ReplicationRuleStatus status)
Sets the status of this replication rule.
|
ReplicationRule |
withStatus(String status)
Sets the status of this replication rule.
|
public String getID()
public void setID(String id)
id - public ReplicationRule withID(String id)
id - public String getPrefix()
public void setPrefix(String prefix)
IllegalArgumentException - if the prefix is null.public ReplicationRule withPrefix(String prefix)
ReplicationRule object.IllegalArgumentException - if the prefix is null.public String getStatus()
public void setStatus(String status)
status - the status of the replication rule.public ReplicationRule withStatus(String status)
status - the status of replication rule.ReplicationRule object.public void setStatus(ReplicationRuleStatus status)
status - the status of the replication rule.public ReplicationRule withStatus(ReplicationRuleStatus status)
status - the status of replication rule.ReplicationRule object.public ReplicationDestinationConfig getDestinationConfig()
public void setDestinationConfig(ReplicationDestinationConfig destinationConfig)
IllegalArgumentException - if the destinationConfig is null.public ReplicationRule withDestinationConfig(ReplicationDestinationConfig destinationConfig)
ReplicationRule object.IllegalArgumentException - if the destinationConfig is null.Copyright © 2021. All rights reserved.