public static interface ReplicationRun.Builder extends SdkPojo, CopyableBuilder<ReplicationRun.Builder,ReplicationRun>
Modifier and Type | Method and Description |
---|---|
ReplicationRun.Builder |
amiId(String amiId)
The identifier 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)
Whether the replication run should produce encrypted AMI or not.
|
ReplicationRun.Builder |
kmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs.
|
ReplicationRun.Builder |
replicationRunId(String replicationRunId)
The identifier 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 of the current stage of the replication run.
|
ReplicationRun.Builder |
stageDetails(ReplicationRunStageDetails stageDetails)
Details of 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.
|
copy
applyMutation, build
ReplicationRun.Builder replicationRunId(String replicationRunId)
The identifier of the replication run.
replicationRunId
- The identifier of the replication run.ReplicationRun.Builder state(String state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
,
ReplicationRunState
ReplicationRun.Builder state(ReplicationRunState state)
The state of the replication run.
state
- The state of the replication run.ReplicationRunState
,
ReplicationRunState
ReplicationRun.Builder type(String type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
,
ReplicationRunType
ReplicationRun.Builder type(ReplicationRunType type)
The type of replication run.
type
- The type of replication run.ReplicationRunType
,
ReplicationRunType
ReplicationRun.Builder stageDetails(ReplicationRunStageDetails stageDetails)
Details of the current stage of the replication run.
stageDetails
- Details of the current stage of the replication run.default ReplicationRun.Builder stageDetails(Consumer<ReplicationRunStageDetails.Builder> stageDetails)
Details of the current stage of the replication run.
This is a convenience 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.Builder
stageDetails(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 identifier of the Amazon Machine Image (AMI) from the replication run.
amiId
- The identifier 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)
Whether the replication run should produce encrypted AMI or not. See also KmsKeyId
below.
encrypted
- Whether the replication run should produce encrypted AMI or not. See also KmsKeyId
below.ReplicationRun.Builder kmsKeyId(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.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.