Interface PremigrationAssessmentStatus.Builder

  • Method Details

    • premigrationAssessmentRunArn

      PremigrationAssessmentStatus.Builder premigrationAssessmentRunArn(String premigrationAssessmentRunArn)

      The Amazon Resource Name (ARN) of this assessment run.

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

      PremigrationAssessmentStatus.Builder failOnAssessmentFailure(Boolean failOnAssessmentFailure)

      A configurable setting you can set to true (the defualt setting) or false. Use this setting to to stop the replication from starting automatically if the assessment fails. This can help you evaluate the issue that is preventing the replication from running successfully.

      Parameters:
      failOnAssessmentFailure - A configurable setting you can set to true (the defualt setting) or false. Use this setting to to stop the replication from starting automatically if the assessment fails. This can help you evaluate the issue that is preventing the replication from running successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      This describes the assessment run status. The status can be one of the following values:

      • cancelling: The assessment run was canceled.

      • deleting: The assessment run was deleted.

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

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

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

      • invalid state: The assessment run is in an unknown state.

      • passed: All individual assessments have completed and none have a failed status.

      • provisioning: The 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.

      • warning: At least one individual assessment completed with a warning status.

      Parameters:
      status - This describes the assessment run status. The status can be one of the following values:

      • cancelling: The assessment run was canceled.

      • deleting: The assessment run was deleted.

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

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

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

      • invalid state: The assessment run is in an unknown state.

      • passed: All individual assessments have completed and none have a failed status.

      • provisioning: The 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.

      • warning: At least one individual assessment completed with a warning status.

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

      PremigrationAssessmentStatus.Builder premigrationAssessmentRunCreationDate(Instant premigrationAssessmentRunCreationDate)

      The date which the assessment run was created.

      Parameters:
      premigrationAssessmentRunCreationDate - The date which the assessment run was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentProgress

      Sets the value of the AssessmentProgress property for this object.
      Parameters:
      assessmentProgress - The new value for the AssessmentProgress property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentProgress

      Sets the value of the AssessmentProgress property for this object. This is a convenience method that creates an instance of the ReplicationTaskAssessmentRunProgress.Builder avoiding the need to create one manually via ReplicationTaskAssessmentRunProgress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assessmentProgress(ReplicationTaskAssessmentRunProgress).

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

      PremigrationAssessmentStatus.Builder lastFailureMessage(String lastFailureMessage)

      The last message generated by an individual assessment failure.

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

      PremigrationAssessmentStatus.Builder resultLocationBucket(String resultLocationBucket)

      The Amazon S3 bucket that Database Migration Service Serverless created to store the results of this assessment run.

      Parameters:
      resultLocationBucket - The Amazon S3 bucket that Database Migration Service Serverless created to store the results of this assessment run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultLocationFolder

      PremigrationAssessmentStatus.Builder resultLocationFolder(String resultLocationFolder)

      The folder within an Amazon S3 bucket where you want Database Migration Service to store the results of this assessment run.

      Parameters:
      resultLocationFolder - The folder within an Amazon S3 bucket where you want Database Migration Service to store the results of this assessment run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultEncryptionMode

      PremigrationAssessmentStatus.Builder resultEncryptionMode(String resultEncryptionMode)

      The supported values are SSE_KMS and SSE_S3. If these values are not provided, then the files are not encrypted at rest. For more information, see Creating Amazon Web Services KMS keys to encrypt Amazon S3 target objects.

      Parameters:
      resultEncryptionMode - The supported values are SSE_KMS and SSE_S3. If these values are not provided, then the files are not encrypted at rest. For more information, see Creating Amazon Web Services KMS keys to encrypt Amazon S3 target objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultKmsKeyArn

      PremigrationAssessmentStatus.Builder resultKmsKeyArn(String resultKmsKeyArn)

      The ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to SSE_KMS.

      Parameters:
      resultKmsKeyArn - The ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to SSE_KMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultStatistic

      Sets the value of the ResultStatistic property for this object.
      Parameters:
      resultStatistic - The new value for the ResultStatistic property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultStatistic

      Sets the value of the ResultStatistic property for this object. This is a convenience method that creates an instance of the ReplicationTaskAssessmentRunResultStatistic.Builder avoiding the need to create one manually via ReplicationTaskAssessmentRunResultStatistic.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resultStatistic(ReplicationTaskAssessmentRunResultStatistic).

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