public class ReplicationRule
extends java.lang.Object
Constructor and Description |
---|
ReplicationRule() |
Modifier and Type | Method and Description |
---|---|
ReplicationDestinationConfig |
getDestinationConfig()
Returns the destination configuration for the replication rule.
|
java.lang.String |
getPrefix()
Returns the prefix associated with the replication rule.
|
java.lang.String |
getStatus()
Returns the status of the replication rule.
|
void |
setDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.
|
void |
setPrefix(java.lang.String prefix)
Sets the Amazon S3 Object prefix for the replication rule.
|
void |
setStatus(ReplicationRuleStatus status)
Sets the status of this replication rule.
|
void |
setStatus(java.lang.String status)
Sets the status of this replication rule.
|
ReplicationRule |
withDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.Returns the
updated object.
|
ReplicationRule |
withPrefix(java.lang.String prefix)
Sets the Amazon S3 Object prefix for the replication rule.
|
ReplicationRule |
withStatus(ReplicationRuleStatus status)
Sets the status of this replication rule.
|
ReplicationRule |
withStatus(java.lang.String status)
Sets the status of this replication rule.
|
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
java.lang.IllegalArgumentException
- if the prefix is null.public ReplicationRule withPrefix(java.lang.String prefix)
ReplicationRule
object.java.lang.IllegalArgumentException
- if the prefix is null.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- the status of the replication rule.public ReplicationRule withStatus(java.lang.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)
java.lang.IllegalArgumentException
- if the destinationConfig is null.public ReplicationRule withDestinationConfig(ReplicationDestinationConfig destinationConfig)
ReplicationRule
object.java.lang.IllegalArgumentException
- if the destinationConfig is null.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.