Interface PremigrationAssessmentStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PremigrationAssessmentStatus.Builder,
,PremigrationAssessmentStatus> SdkBuilder<PremigrationAssessmentStatus.Builder,
,PremigrationAssessmentStatus> SdkPojo
- Enclosing class:
PremigrationAssessmentStatus
-
Method Summary
Modifier and TypeMethodDescriptionassessmentProgress
(Consumer<ReplicationTaskAssessmentRunProgress.Builder> assessmentProgress) Sets the value of the AssessmentProgress property for this object.assessmentProgress
(ReplicationTaskAssessmentRunProgress assessmentProgress) Sets the value of the AssessmentProgress property for this object.failOnAssessmentFailure
(Boolean failOnAssessmentFailure) A configurable setting you can set totrue
(the defualt setting) orfalse
.lastFailureMessage
(String lastFailureMessage) The last message generated by an individual assessment failure.premigrationAssessmentRunArn
(String premigrationAssessmentRunArn) The Amazon Resource Name (ARN) of this assessment run.premigrationAssessmentRunCreationDate
(Instant premigrationAssessmentRunCreationDate) The date which the assessment run was created.resultEncryptionMode
(String resultEncryptionMode) The supported values areSSE_KMS
andSSE_S3
.resultKmsKeyArn
(String resultKmsKeyArn) The ARN of a custom KMS encryption key that you specify when you setResultEncryptionMode
toSSE_KMS
.resultLocationBucket
(String resultLocationBucket) The Amazon S3 bucket that Database Migration Service Serverless created to store the results of this assessment run.resultLocationFolder
(String resultLocationFolder) The folder within an Amazon S3 bucket where you want Database Migration Service to store the results of this assessment run.resultStatistic
(Consumer<ReplicationTaskAssessmentRunResultStatistic.Builder> resultStatistic) Sets the value of the ResultStatistic property for this object.resultStatistic
(ReplicationTaskAssessmentRunResultStatistic resultStatistic) Sets the value of the ResultStatistic property for this object.This describes the assessment run status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
A configurable setting you can set to
true
(the defualt setting) orfalse
. 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 totrue
(the defualt setting) orfalse
. 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 theprovisioning
status). -
error-executing
An internal error occurred while individual assessments ran (during therunning
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 theprovisioning
status). -
error-executing
An internal error occurred while individual assessments ran (during therunning
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
PremigrationAssessmentStatus.Builder assessmentProgress(ReplicationTaskAssessmentRunProgress 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
default PremigrationAssessmentStatus.Builder assessmentProgress(Consumer<ReplicationTaskAssessmentRunProgress.Builder> assessmentProgress) Sets the value of the AssessmentProgress property for this object. This is a convenience method that creates an instance of theReplicationTaskAssessmentRunProgress.Builder
avoiding the need to create one manually viaReplicationTaskAssessmentRunProgress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassessmentProgress(ReplicationTaskAssessmentRunProgress)
.- Parameters:
assessmentProgress
- a consumer that will call methods onReplicationTaskAssessmentRunProgress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The supported values are
SSE_KMS
andSSE_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 areSSE_KMS
andSSE_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
The ARN of a custom KMS encryption key that you specify when you set
ResultEncryptionMode
toSSE_KMS
.- Parameters:
resultKmsKeyArn
- The ARN of a custom KMS encryption key that you specify when you setResultEncryptionMode
toSSE_KMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultStatistic
PremigrationAssessmentStatus.Builder resultStatistic(ReplicationTaskAssessmentRunResultStatistic 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
default PremigrationAssessmentStatus.Builder resultStatistic(Consumer<ReplicationTaskAssessmentRunResultStatistic.Builder> resultStatistic) Sets the value of the ResultStatistic property for this object. This is a convenience method that creates an instance of theReplicationTaskAssessmentRunResultStatistic.Builder
avoiding the need to create one manually viaReplicationTaskAssessmentRunResultStatistic.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultStatistic(ReplicationTaskAssessmentRunResultStatistic)
.- Parameters:
resultStatistic
- a consumer that will call methods onReplicationTaskAssessmentRunResultStatistic.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-