@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 final String replicationRunId()
The ID of the replication run.
public final 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 final 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 final 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 final 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 final ReplicationRunStageDetails stageDetails()
Details about the current stage of the replication run.
public final String statusMessage()
The description of the current status of the replication job.
public final String amiId()
The ID of the Amazon Machine Image (AMI) from the replication run.
public final Instant scheduledStartTime()
The start time of the next replication run.
public final Instant completedTime()
The completion time of the last replication run.
public final String description()
The description of the replication run.
public final Boolean encrypted()
Indicates whether the replication run should produce an encrypted AMI.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.