Interface ReplicationRun.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationRun.Builder,
,ReplicationRun> SdkBuilder<ReplicationRun.Builder,
,ReplicationRun> SdkPojo
- Enclosing class:
ReplicationRun
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Machine Image (AMI) from the replication run.completedTime
(Instant completedTime) The completion time of the last replication run.description
(String description) The description of the replication run.Indicates whether the replication run should produce an encrypted AMI.The ID of the KMS key for replication jobs that produce encrypted AMIs.replicationRunId
(String replicationRunId) The ID of the replication run.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.stageDetails
(ReplicationRunStageDetails stageDetails) Details about the current stage of the replication run.The state of the replication run.state
(ReplicationRunState state) The state of the replication run.statusMessage
(String statusMessage) The description of the current status of the replication job.The type of replication run.type
(ReplicationRunType type) The type of replication run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replicationRunId
The ID of the replication run.
- Parameters:
replicationRunId
- The ID of the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the replication run.
- Parameters:
state
- The state of the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the replication run.
- Parameters:
state
- The state of the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of replication run.
- Parameters:
type
- The type of replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of replication run.
- Parameters:
type
- The type of replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stageDetails
Details about the current stage of the replication run.
- Parameters:
stageDetails
- Details about the current stage of the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageDetails
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 viaReplicationRunStageDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostageDetails(ReplicationRunStageDetails)
.- Parameters:
stageDetails
- a consumer that will call methods onReplicationRunStageDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The description of the current status of the replication job.
- Parameters:
statusMessage
- The description of the current status of the replication job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiId
The ID of the Amazon Machine Image (AMI) from the replication run.
- Parameters:
amiId
- The ID of the Amazon Machine Image (AMI) from the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledStartTime
The start time of the next replication run.
- Parameters:
scheduledStartTime
- The start time of the next replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedTime
The completion time of the last replication run.
- Parameters:
completedTime
- The completion time of the last replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the replication run.
- Parameters:
description
- The description of the replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Indicates whether the replication run should produce an encrypted AMI.
- Parameters:
encrypted
- Indicates whether the replication run should produce an encrypted AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-