@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationDestination extends Object implements Serializable, Cloneable, StructuredPojo
An array of objects representing the details of a replication destination.
Constructor and Description |
---|
ReplicationDestination() |
Modifier and Type | Method and Description |
---|---|
ReplicationDestination |
clone() |
boolean |
equals(Object obj) |
String |
getRegion()
A Region to replicate to.
|
String |
getRegistryId()
The account ID of the destination registry to replicate to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegion(String region)
A Region to replicate to.
|
void |
setRegistryId(String registryId)
The account ID of the destination registry to replicate to.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationDestination |
withRegion(String region)
A Region to replicate to.
|
ReplicationDestination |
withRegistryId(String registryId)
The account ID of the destination registry to replicate to.
|
public void setRegion(String region)
A Region to replicate to.
region
- A Region to replicate to.public String getRegion()
A Region to replicate to.
public ReplicationDestination withRegion(String region)
A Region to replicate to.
region
- A Region to replicate to.public void setRegistryId(String registryId)
The account ID of the destination registry to replicate to.
registryId
- The account ID of the destination registry to replicate to.public String getRegistryId()
The account ID of the destination registry to replicate to.
public ReplicationDestination withRegistryId(String registryId)
The account ID of the destination registry to replicate to.
registryId
- The account ID of the destination registry to replicate to.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.