Interface CreateReplicationJobRequest.Builder

    • Method Detail

      • serverId

        CreateReplicationJobRequest.Builder serverId​(String serverId)

        The ID of the server.

        Parameters:
        serverId - The ID of the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • seedReplicationTime

        CreateReplicationJobRequest.Builder seedReplicationTime​(Instant seedReplicationTime)

        The seed replication time.

        Parameters:
        seedReplicationTime - The seed replication time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • frequency

        CreateReplicationJobRequest.Builder frequency​(Integer frequency)

        The time between consecutive replication runs, in hours.

        Parameters:
        frequency - The time between consecutive replication runs, in hours.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runOnce

        CreateReplicationJobRequest.Builder runOnce​(Boolean runOnce)

        Indicates whether to run the replication job one time.

        Parameters:
        runOnce - Indicates whether to run the replication job one time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • licenseType

        CreateReplicationJobRequest.Builder licenseType​(String licenseType)

        The license type to be used for the AMI created by a successful replication run.

        Parameters:
        licenseType - The license type to be used for the AMI created by a successful replication run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LicenseType, LicenseType
      • licenseType

        CreateReplicationJobRequest.Builder licenseType​(LicenseType licenseType)

        The license type to be used for the AMI created by a successful replication run.

        Parameters:
        licenseType - The license type to be used for the AMI created by a successful replication run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LicenseType, LicenseType
      • roleName

        CreateReplicationJobRequest.Builder roleName​(String roleName)

        The name of the IAM role to be used by the Server Migration Service.

        Parameters:
        roleName - The name of the IAM role to be used by the Server Migration Service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateReplicationJobRequest.Builder description​(String description)

        The description of the replication job.

        Parameters:
        description - The description of the replication job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfRecentAmisToKeep

        CreateReplicationJobRequest.Builder numberOfRecentAmisToKeep​(Integer numberOfRecentAmisToKeep)

        The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.

        Parameters:
        numberOfRecentAmisToKeep - The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encrypted

        CreateReplicationJobRequest.Builder encrypted​(Boolean encrypted)

        Indicates whether the replication job produces encrypted AMIs.

        Parameters:
        encrypted - Indicates whether the replication job produces encrypted AMIs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        CreateReplicationJobRequest.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.