Interface ReplicationRun.Builder

    • Method Detail

      • 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.
      • stageDetails

        ReplicationRun.Builder stageDetails​(ReplicationRunStageDetails 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.
      • 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

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