Interface ReplicationRun.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReplicationRun.Builder,ReplicationRun>, SdkBuilder<ReplicationRun.Builder,ReplicationRun>, SdkPojo
Enclosing class:
ReplicationRun

public static interface ReplicationRun.Builder extends SdkPojo, CopyableBuilder<ReplicationRun.Builder,ReplicationRun>
  • Method Details

    • replicationRunId

      ReplicationRun.Builder replicationRunId(String 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

      Details about the current stage of the replication run.

      This is a convenience method that creates an instance of the ReplicationRunStageDetails.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).

      Parameters:
      stageDetails - a consumer that will call methods on ReplicationRunStageDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      ReplicationRun.Builder statusMessage(String 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

      ReplicationRun.Builder scheduledStartTime(Instant 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

      ReplicationRun.Builder completedTime(Instant 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

      ReplicationRun.Builder description(String 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

      ReplicationRun.Builder encrypted(Boolean 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

      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.

      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.