@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationDestination extends Object implements Serializable, Cloneable, StructuredPojo
An array of objects representing the destination for a replication rule.
Constructor and Description |
---|
ReplicationDestination() |
Modifier and Type | Method and Description |
---|---|
ReplicationDestination |
clone() |
boolean |
equals(Object obj) |
String |
getRegion()
The Region to replicate to.
|
String |
getRegistryId()
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegion(String region)
The Region to replicate to.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationDestination |
withRegion(String region)
The Region to replicate to.
|
ReplicationDestination |
withRegistryId(String registryId)
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to.
|
public void setRegion(String region)
The Region to replicate to.
region
- The Region to replicate to.public String getRegion()
The Region to replicate to.
public ReplicationDestination withRegion(String region)
The Region to replicate to.
region
- The Region to replicate to.public void setRegistryId(String registryId)
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
registryId
- The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
cross-Region replication within your own registry, specify your own account ID.public String getRegistryId()
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
public ReplicationDestination withRegistryId(String registryId)
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
registryId
- The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
cross-Region replication within your own registry, specify your own account ID.public String toString()
toString
in class Object
Object.toString()
public ReplicationDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.