@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>
Represents a replication run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationRun.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
amiId()
The ID of the Amazon Machine Image (AMI) from the replication run.
|
static ReplicationRun.Builder |
builder() |
Instant |
completedTime()
The completion time of the last replication run.
|
String |
description()
The description of the replication run.
|
Boolean |
encrypted()
Indicates whether the replication run should produce an encrypted AMI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
String |
replicationRunId()
The ID of the replication run.
|
Instant |
scheduledStartTime()
The start time of the next replication run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationRun.Builder> |
serializableBuilderClass() |
ReplicationRunStageDetails |
stageDetails()
Details about the current stage of the replication run.
|
ReplicationRunState |
state()
The state of the replication run.
|
String |
stateAsString()
The state of the replication run.
|
String |
statusMessage()
The description of the current status of the replication job.
|
ReplicationRun.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ReplicationRunType |
type()
The type of replication run.
|
String |
typeAsString()
The type of replication run.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String replicationRunId()
The ID of the replication run.
public ReplicationRunState state()
The state of the replication run.
If the service returns an enum value that is not available in the current SDK version, state will return
ReplicationRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ReplicationRunStatepublic String stateAsString()
The state of the replication run.
If the service returns an enum value that is not available in the current SDK version, state will return
ReplicationRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ReplicationRunStatepublic ReplicationRunType type()
The type of replication run.
If the service returns an enum value that is not available in the current SDK version, type will return
ReplicationRunType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ReplicationRunTypepublic String typeAsString()
The type of replication run.
If the service returns an enum value that is not available in the current SDK version, type will return
ReplicationRunType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ReplicationRunTypepublic ReplicationRunStageDetails stageDetails()
Details about the current stage of the replication run.
public String statusMessage()
The description of the current status of the replication job.
public String amiId()
The ID of the Amazon Machine Image (AMI) from the replication run.
public Instant scheduledStartTime()
The start time of the next replication run.
public Instant completedTime()
The completion time of the last replication run.
public String description()
The description of the replication run.
public Boolean encrypted()
Indicates whether the replication run should produce an encrypted AMI.
public 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>public static ReplicationRun.Builder builder()
public static Class<? extends ReplicationRun.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.