Interface ReplicationTaskAssessmentRun.Builder

    • Method Detail

      • replicationTaskAssessmentRunArn

        ReplicationTaskAssessmentRun.Builder replicationTaskAssessmentRunArn​(String replicationTaskAssessmentRunArn)

        Amazon Resource Name (ARN) of this assessment run.

        Parameters:
        replicationTaskAssessmentRunArn - Amazon Resource Name (ARN) of this assessment run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationTaskArn

        ReplicationTaskAssessmentRun.Builder replicationTaskArn​(String replicationTaskArn)

        ARN of the migration task associated with this premigration assessment run.

        Parameters:
        replicationTaskArn - ARN of the migration task associated with this premigration assessment run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ReplicationTaskAssessmentRun.Builder status​(String status)

        Assessment run status.

        This status can have one of the following values:

        • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

        • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

        • "failed" – At least one individual assessment completed with a failed status.

        • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

        • "error-executing" – An internal error occurred while individual assessments ran (during running status).

        • "invalid state" – The assessment run is in an unknown state.

        • "passed" – All individual assessments have completed, and none has a failed status.

        • "provisioning" – Resources required to run individual assessments are being provisioned.

        • "running" – Individual assessments are being run.

        • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        Parameters:
        status - Assessment run status.

        This status can have one of the following values:

        • "cancelling" – The assessment run was canceled by the CancelReplicationTaskAssessmentRun operation.

        • "deleting" – The assessment run was deleted by the DeleteReplicationTaskAssessmentRun operation.

        • "failed" – At least one individual assessment completed with a failed status.

        • "error-provisioning" – An internal error occurred while resources were provisioned (during provisioning status).

        • "error-executing" – An internal error occurred while individual assessments ran (during running status).

        • "invalid state" – The assessment run is in an unknown state.

        • "passed" – All individual assessments have completed, and none has a failed status.

        • "provisioning" – Resources required to run individual assessments are being provisioned.

        • "running" – Individual assessments are being run.

        • "starting" – The assessment run is starting, but resources are not yet being provisioned for individual assessments.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationTaskAssessmentRunCreationDate

        ReplicationTaskAssessmentRun.Builder replicationTaskAssessmentRunCreationDate​(Instant replicationTaskAssessmentRunCreationDate)

        Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.

        Parameters:
        replicationTaskAssessmentRunCreationDate - Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assessmentProgress

        ReplicationTaskAssessmentRun.Builder assessmentProgress​(ReplicationTaskAssessmentRunProgress assessmentProgress)

        Indication of the completion progress for the individual assessments specified to run.

        Parameters:
        assessmentProgress - Indication of the completion progress for the individual assessments specified to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastFailureMessage

        ReplicationTaskAssessmentRun.Builder lastFailureMessage​(String lastFailureMessage)

        Last message generated by an individual assessment failure.

        Parameters:
        lastFailureMessage - Last message generated by an individual assessment failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceAccessRoleArn

        ReplicationTaskAssessmentRun.Builder serviceAccessRoleArn​(String serviceAccessRoleArn)

        ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.

        Parameters:
        serviceAccessRoleArn - ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultLocationBucket

        ReplicationTaskAssessmentRun.Builder resultLocationBucket​(String resultLocationBucket)

        Amazon S3 bucket where DMS stores the results of this assessment run.

        Parameters:
        resultLocationBucket - Amazon S3 bucket where DMS stores the results of this assessment run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultLocationFolder

        ReplicationTaskAssessmentRun.Builder resultLocationFolder​(String resultLocationFolder)

        Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.

        Parameters:
        resultLocationFolder - Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultEncryptionMode

        ReplicationTaskAssessmentRun.Builder resultEncryptionMode​(String resultEncryptionMode)

        Encryption mode used to encrypt the assessment run results.

        Parameters:
        resultEncryptionMode - Encryption mode used to encrypt the assessment run results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultKmsKeyArn

        ReplicationTaskAssessmentRun.Builder resultKmsKeyArn​(String resultKmsKeyArn)

        ARN of the KMS encryption key used to encrypt the assessment run results.

        Parameters:
        resultKmsKeyArn - ARN of the KMS encryption key used to encrypt the assessment run results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assessmentRunName

        ReplicationTaskAssessmentRun.Builder assessmentRunName​(String assessmentRunName)

        Unique name of the assessment run.

        Parameters:
        assessmentRunName - Unique name of the assessment run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.