@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageReplicationStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the replication process for an image.
Constructor and Description |
---|
ImageReplicationStatus() |
Modifier and Type | Method and Description |
---|---|
ImageReplicationStatus |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code for a replication that has failed.
|
String |
getRegion()
The destination Region for the image replication.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry to which the image belongs.
|
String |
getStatus()
The image replication status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureCode(String failureCode)
The failure code for a replication that has failed.
|
void |
setRegion(String region)
The destination Region for the image replication.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which the image belongs.
|
void |
setStatus(String status)
The image replication status.
|
String |
toString()
Returns a string representation of this object.
|
ImageReplicationStatus |
withFailureCode(String failureCode)
The failure code for a replication that has failed.
|
ImageReplicationStatus |
withRegion(String region)
The destination Region for the image replication.
|
ImageReplicationStatus |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which the image belongs.
|
ImageReplicationStatus |
withStatus(ReplicationStatus status)
The image replication status.
|
ImageReplicationStatus |
withStatus(String status)
The image replication status.
|
public void setRegion(String region)
The destination Region for the image replication.
region
- The destination Region for the image replication.public String getRegion()
The destination Region for the image replication.
public ImageReplicationStatus withRegion(String region)
The destination Region for the image replication.
region
- The destination Region for the image replication.public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which the image belongs.
registryId
- The Amazon Web Services account ID associated with the registry to which the image belongs.public String getRegistryId()
The Amazon Web Services account ID associated with the registry to which the image belongs.
public ImageReplicationStatus withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which the image belongs.
registryId
- The Amazon Web Services account ID associated with the registry to which the image belongs.public void setStatus(String status)
The image replication status.
status
- The image replication status.ReplicationStatus
public String getStatus()
The image replication status.
ReplicationStatus
public ImageReplicationStatus withStatus(String status)
The image replication status.
status
- The image replication status.ReplicationStatus
public ImageReplicationStatus withStatus(ReplicationStatus status)
The image replication status.
status
- The image replication status.ReplicationStatus
public void setFailureCode(String failureCode)
The failure code for a replication that has failed.
failureCode
- The failure code for a replication that has failed.public String getFailureCode()
The failure code for a replication that has failed.
public ImageReplicationStatus withFailureCode(String failureCode)
The failure code for a replication that has failed.
failureCode
- The failure code for a replication that has failed.public String toString()
toString
in class Object
Object.toString()
public ImageReplicationStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.