@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationRun extends Object implements Serializable, Cloneable, StructuredPojo
Represents a replication run.
| Constructor and Description |
|---|
ReplicationRun() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationRun |
clone() |
boolean |
equals(Object obj) |
String |
getAmiId()
The identifier of the Amazon Machine Image (AMI) from the replication run.
|
Date |
getCompletedTime()
The completion time of the last replication run.
|
String |
getDescription()
The description of the replication run.
|
Boolean |
getEncrypted()
Whether the replication run should produce encrypted AMI or not.
|
String |
getKmsKeyId()
KMS key ID for replication jobs that produce encrypted AMIs.
|
String |
getReplicationRunId()
The identifier of the replication run.
|
Date |
getScheduledStartTime()
The start time of the next replication run.
|
ReplicationRunStageDetails |
getStageDetails()
Details of the current stage of the replication run.
|
String |
getState()
The state of the replication run.
|
String |
getStatusMessage()
The description of the current status of the replication job.
|
String |
getType()
The type of replication run.
|
int |
hashCode() |
Boolean |
isEncrypted()
Whether the replication run should produce encrypted AMI or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAmiId(String amiId)
The identifier of the Amazon Machine Image (AMI) from the replication run.
|
void |
setCompletedTime(Date completedTime)
The completion time of the last replication run.
|
void |
setDescription(String description)
The description of the replication run.
|
void |
setEncrypted(Boolean encrypted)
Whether the replication run should produce encrypted AMI or not.
|
void |
setKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs.
|
void |
setReplicationRunId(String replicationRunId)
The identifier of the replication run.
|
void |
setScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
|
void |
setStageDetails(ReplicationRunStageDetails stageDetails)
Details of the current stage of the replication run.
|
void |
setState(ReplicationRunState state)
The state of the replication run.
|
void |
setState(String state)
The state of the replication run.
|
void |
setStatusMessage(String statusMessage)
The description of the current status of the replication job.
|
void |
setType(ReplicationRunType type)
The type of replication run.
|
void |
setType(String type)
The type of replication run.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationRun |
withAmiId(String amiId)
The identifier of the Amazon Machine Image (AMI) from the replication run.
|
ReplicationRun |
withCompletedTime(Date completedTime)
The completion time of the last replication run.
|
ReplicationRun |
withDescription(String description)
The description of the replication run.
|
ReplicationRun |
withEncrypted(Boolean encrypted)
Whether the replication run should produce encrypted AMI or not.
|
ReplicationRun |
withKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs.
|
ReplicationRun |
withReplicationRunId(String replicationRunId)
The identifier of the replication run.
|
ReplicationRun |
withScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
|
ReplicationRun |
withStageDetails(ReplicationRunStageDetails stageDetails)
Details of the current stage of the replication run.
|
ReplicationRun |
withState(ReplicationRunState state)
The state of the replication run.
|
ReplicationRun |
withState(String state)
The state of the replication run.
|
ReplicationRun |
withStatusMessage(String statusMessage)
The description of the current status of the replication job.
|
ReplicationRun |
withType(ReplicationRunType type)
The type of replication run.
|
ReplicationRun |
withType(String type)
The type of replication run.
|
public void setReplicationRunId(String replicationRunId)
The identifier of the replication run.
replicationRunId - The identifier of the replication run.public String getReplicationRunId()
The identifier of the replication run.
public ReplicationRun withReplicationRunId(String replicationRunId)
The identifier of the replication run.
replicationRunId - The identifier of the replication run.public void setState(String state)
The state of the replication run.
state - The state of the replication run.ReplicationRunStatepublic String getState()
The state of the replication run.
ReplicationRunStatepublic ReplicationRun withState(String state)
The state of the replication run.
state - The state of the replication run.ReplicationRunStatepublic void setState(ReplicationRunState state)
The state of the replication run.
state - The state of the replication run.ReplicationRunStatepublic ReplicationRun withState(ReplicationRunState state)
The state of the replication run.
state - The state of the replication run.ReplicationRunStatepublic void setType(String type)
The type of replication run.
type - The type of replication run.ReplicationRunTypepublic String getType()
The type of replication run.
ReplicationRunTypepublic ReplicationRun withType(String type)
The type of replication run.
type - The type of replication run.ReplicationRunTypepublic void setType(ReplicationRunType type)
The type of replication run.
type - The type of replication run.ReplicationRunTypepublic ReplicationRun withType(ReplicationRunType type)
The type of replication run.
type - The type of replication run.ReplicationRunTypepublic void setStageDetails(ReplicationRunStageDetails stageDetails)
Details of the current stage of the replication run.
stageDetails - Details of the current stage of the replication run.public ReplicationRunStageDetails getStageDetails()
Details of the current stage of the replication run.
public ReplicationRun withStageDetails(ReplicationRunStageDetails stageDetails)
Details of the current stage of the replication run.
stageDetails - Details of the current stage of the replication run.public void setStatusMessage(String statusMessage)
The description of the current status of the replication job.
statusMessage - The description of the current status of the replication job.public String getStatusMessage()
The description of the current status of the replication job.
public ReplicationRun withStatusMessage(String statusMessage)
The description of the current status of the replication job.
statusMessage - The description of the current status of the replication job.public void setAmiId(String amiId)
The identifier of the Amazon Machine Image (AMI) from the replication run.
amiId - The identifier of the Amazon Machine Image (AMI) from the replication run.public String getAmiId()
The identifier of the Amazon Machine Image (AMI) from the replication run.
public ReplicationRun withAmiId(String amiId)
The identifier of the Amazon Machine Image (AMI) from the replication run.
amiId - The identifier of the Amazon Machine Image (AMI) from the replication run.public void setScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
scheduledStartTime - The start time of the next replication run.public Date getScheduledStartTime()
The start time of the next replication run.
public ReplicationRun withScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
scheduledStartTime - The start time of the next replication run.public void setCompletedTime(Date completedTime)
The completion time of the last replication run.
completedTime - The completion time of the last replication run.public Date getCompletedTime()
The completion time of the last replication run.
public ReplicationRun withCompletedTime(Date completedTime)
The completion time of the last replication run.
completedTime - The completion time of the last replication run.public void setDescription(String description)
The description of the replication run.
description - The description of the replication run.public String getDescription()
The description of the replication run.
public ReplicationRun withDescription(String description)
The description of the replication run.
description - The description of the replication run.public void setEncrypted(Boolean encrypted)
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
encrypted - Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.public Boolean getEncrypted()
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
KmsKeyId below.public ReplicationRun withEncrypted(Boolean encrypted)
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
encrypted - Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.public Boolean isEncrypted()
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
KmsKeyId below.public void setKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
kmsKeyId - KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public String getKmsKeyId()
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public ReplicationRun withKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
kmsKeyId - KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public String toString()
toString in class ObjectObject.toString()public ReplicationRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.