@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 ID 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()
Indicates whether the replication run should produce an encrypted AMI.
|
String |
getKmsKeyId()
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
String |
getReplicationRunId()
The ID of the replication run.
|
Date |
getScheduledStartTime()
The start time of the next replication run.
|
ReplicationRunStageDetails |
getStageDetails()
Details about 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()
Indicates whether the replication run should produce an encrypted AMI.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmiId(String amiId)
The ID 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)
Indicates whether the replication run should produce an encrypted AMI.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
void |
setReplicationRunId(String replicationRunId)
The ID of the replication run.
|
void |
setScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
|
void |
setStageDetails(ReplicationRunStageDetails stageDetails)
Details about 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 ID 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)
Indicates whether the replication run should produce an encrypted AMI.
|
ReplicationRun |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
ReplicationRun |
withReplicationRunId(String replicationRunId)
The ID of the replication run.
|
ReplicationRun |
withScheduledStartTime(Date scheduledStartTime)
The start time of the next replication run.
|
ReplicationRun |
withStageDetails(ReplicationRunStageDetails stageDetails)
Details about 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 ID of the replication run.
replicationRunId
- The ID of the replication run.public String getReplicationRunId()
The ID of the replication run.
public ReplicationRun withReplicationRunId(String replicationRunId)
The ID of the replication run.
replicationRunId
- The ID of the replication run.public void setState(String state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
public String getState()
The state of the replication run.
ReplicationRunState
public ReplicationRun withState(String state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
public void setState(ReplicationRunState state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
public ReplicationRun withState(ReplicationRunState state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
public void setType(String type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
public String getType()
The type of replication run.
ReplicationRunType
public ReplicationRun withType(String type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
public void setType(ReplicationRunType type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
public ReplicationRun withType(ReplicationRunType type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
public void setStageDetails(ReplicationRunStageDetails stageDetails)
Details about the current stage of the replication run.
stageDetails
- Details about the current stage of the replication run.public ReplicationRunStageDetails getStageDetails()
Details about the current stage of the replication run.
public ReplicationRun withStageDetails(ReplicationRunStageDetails stageDetails)
Details about the current stage of the replication run.
stageDetails
- Details about 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 ID of the Amazon Machine Image (AMI) from the replication run.
amiId
- The ID of the Amazon Machine Image (AMI) from the replication run.public String getAmiId()
The ID of the Amazon Machine Image (AMI) from the replication run.
public ReplicationRun withAmiId(String amiId)
The ID of the Amazon Machine Image (AMI) from the replication run.
amiId
- The ID 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)
Indicates whether the replication run should produce an encrypted AMI.
encrypted
- Indicates whether the replication run should produce an encrypted AMI.public Boolean getEncrypted()
Indicates whether the replication run should produce an encrypted AMI.
public ReplicationRun withEncrypted(Boolean encrypted)
Indicates whether the replication run should produce an encrypted AMI.
encrypted
- Indicates whether the replication run should produce an encrypted AMI.public Boolean isEncrypted()
Indicates whether the replication run should produce an encrypted AMI.
public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
kmsKeyId
- The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the
following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
public String getKmsKeyId()
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
public ReplicationRun withKmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
kmsKeyId
- The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the
following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
public String toString()
toString
in class Object
Object.toString()
public ReplicationRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.