@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The replication configuration for a registry.
Constructor and Description |
---|
ReplicationConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReplicationConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ReplicationRule> |
getRules()
An array of objects representing the replication destinations and repository filters for a replication
configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRules(Collection<ReplicationRule> rules)
An array of objects representing the replication destinations and repository filters for a replication
configuration.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationConfiguration |
withRules(Collection<ReplicationRule> rules)
An array of objects representing the replication destinations and repository filters for a replication
configuration.
|
ReplicationConfiguration |
withRules(ReplicationRule... rules)
An array of objects representing the replication destinations and repository filters for a replication
configuration.
|
public List<ReplicationRule> getRules()
An array of objects representing the replication destinations and repository filters for a replication configuration.
public void setRules(Collection<ReplicationRule> rules)
An array of objects representing the replication destinations and repository filters for a replication configuration.
rules
- An array of objects representing the replication destinations and repository filters for a replication
configuration.public ReplicationConfiguration withRules(ReplicationRule... rules)
An array of objects representing the replication destinations and repository filters for a replication configuration.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- An array of objects representing the replication destinations and repository filters for a replication
configuration.public ReplicationConfiguration withRules(Collection<ReplicationRule> rules)
An array of objects representing the replication destinations and repository filters for a replication configuration.
rules
- An array of objects representing the replication destinations and repository filters for a replication
configuration.public String toString()
toString
in class Object
Object.toString()
public ReplicationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.