@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 identifier 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()
Whether the replication run should produce encrypted AMI or not.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
KMS key ID for replication jobs that produce encrypted AMIs.
|
String |
replicationRunId()
The identifier 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 of 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ReplicationRunType |
type()
The type of replication run.
|
String |
typeAsString()
The type of replication run.
|
copy
public String replicationRunId()
The identifier 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()
.
ReplicationRunState
public 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()
.
ReplicationRunState
public 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()
.
ReplicationRunType
public 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()
.
ReplicationRunType
public ReplicationRunStageDetails stageDetails()
Details of the current stage of the replication run.
public String statusMessage()
The description of the current status of the replication job.
public String amiId()
The identifier 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()
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId
below.
KmsKeyId
below.public 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>
public static ReplicationRun.Builder builder()
public static Class<? extends ReplicationRun.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.