public static interface ReplicationRun.Builder extends SdkPojo, CopyableBuilder<ReplicationRun.Builder,ReplicationRun>
| Modifier and Type | Method and Description |
|---|---|
ReplicationRun.Builder |
amiId(String amiId)
The ID of the Amazon Machine Image (AMI) from the replication run.
|
ReplicationRun.Builder |
completedTime(Instant completedTime)
The completion time of the last replication run.
|
ReplicationRun.Builder |
description(String description)
The description of the replication run.
|
ReplicationRun.Builder |
encrypted(Boolean encrypted)
Indicates whether the replication run should produce an encrypted AMI.
|
ReplicationRun.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
ReplicationRun.Builder |
replicationRunId(String replicationRunId)
The ID of the replication run.
|
ReplicationRun.Builder |
scheduledStartTime(Instant scheduledStartTime)
The start time of the next replication run.
|
default ReplicationRun.Builder |
stageDetails(Consumer<ReplicationRunStageDetails.Builder> stageDetails)
Details about the current stage of the replication run.
|
ReplicationRun.Builder |
stageDetails(ReplicationRunStageDetails stageDetails)
Details about the current stage of the replication run.
|
ReplicationRun.Builder |
state(ReplicationRunState state)
The state of the replication run.
|
ReplicationRun.Builder |
state(String state)
The state of the replication run.
|
ReplicationRun.Builder |
statusMessage(String statusMessage)
The description of the current status of the replication job.
|
ReplicationRun.Builder |
type(ReplicationRunType type)
The type of replication run.
|
ReplicationRun.Builder |
type(String type)
The type of replication run.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicationRun.Builder replicationRunId(String replicationRunId)
The ID of the replication run.
replicationRunId - The ID of the replication run.ReplicationRun.Builder state(String state)
The state of the replication run.
state - The state of the replication run.ReplicationRunState,
ReplicationRunStateReplicationRun.Builder state(ReplicationRunState state)
The state of the replication run.
state - The state of the replication run.ReplicationRunState,
ReplicationRunStateReplicationRun.Builder type(String type)
The type of replication run.
type - The type of replication run.ReplicationRunType,
ReplicationRunTypeReplicationRun.Builder type(ReplicationRunType type)
The type of replication run.
type - The type of replication run.ReplicationRunType,
ReplicationRunTypeReplicationRun.Builder stageDetails(ReplicationRunStageDetails stageDetails)
Details about the current stage of the replication run.
stageDetails - Details about the current stage of the replication run.default ReplicationRun.Builder stageDetails(Consumer<ReplicationRunStageDetails.Builder> stageDetails)
Details about the current stage of the replication run.
This is a convenience method that creates an instance of theReplicationRunStageDetails.Builder
avoiding the need to create one manually via ReplicationRunStageDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to stageDetails(ReplicationRunStageDetails).
stageDetails - a consumer that will call methods on ReplicationRunStageDetails.BuilderstageDetails(ReplicationRunStageDetails)ReplicationRun.Builder statusMessage(String statusMessage)
The description of the current status of the replication job.
statusMessage - The description of the current status of the replication job.ReplicationRun.Builder amiId(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.ReplicationRun.Builder scheduledStartTime(Instant scheduledStartTime)
The start time of the next replication run.
scheduledStartTime - The start time of the next replication run.ReplicationRun.Builder completedTime(Instant completedTime)
The completion time of the last replication run.
completedTime - The completion time of the last replication run.ReplicationRun.Builder description(String description)
The description of the replication run.
description - The description of the replication run.ReplicationRun.Builder encrypted(Boolean encrypted)
Indicates whether the replication run should produce an encrypted AMI.
encrypted - Indicates whether the replication run should produce an encrypted AMI.ReplicationRun.Builder kmsKeyId(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.
Copyright © 2022. All rights reserved.