Interface ReplicationTaskAssessmentRun.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationTaskAssessmentRun.Builder,,ReplicationTaskAssessmentRun> SdkBuilder<ReplicationTaskAssessmentRun.Builder,,ReplicationTaskAssessmentRun> SdkPojo
- Enclosing class:
ReplicationTaskAssessmentRun
-
Method Summary
Modifier and TypeMethodDescriptionassessmentProgress(Consumer<ReplicationTaskAssessmentRunProgress.Builder> assessmentProgress) Indication of the completion progress for the individual assessments specified to run.assessmentProgress(ReplicationTaskAssessmentRunProgress assessmentProgress) Indication of the completion progress for the individual assessments specified to run.assessmentRunName(String assessmentRunName) Unique name of the assessment run.lastFailureMessage(String lastFailureMessage) Last message generated by an individual assessment failure.replicationTaskArn(String replicationTaskArn) ARN of the migration task associated with this premigration assessment run.replicationTaskAssessmentRunArn(String replicationTaskAssessmentRunArn) Amazon Resource Name (ARN) of this assessment run.replicationTaskAssessmentRunCreationDate(Instant replicationTaskAssessmentRunCreationDate) Date on which the assessment run was created using theStartReplicationTaskAssessmentRunoperation.resultEncryptionMode(String resultEncryptionMode) Encryption mode used to encrypt the assessment run results.resultKmsKeyArn(String resultKmsKeyArn) ARN of the KMS encryption key used to encrypt the assessment run results.resultLocationBucket(String resultLocationBucket) Amazon S3 bucket where DMS stores the results of this assessment run.resultLocationFolder(String resultLocationFolder) Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.serviceAccessRoleArn(String serviceAccessRoleArn) ARN of the service role used to start the assessment run using theStartReplicationTaskAssessmentRunoperation.Assessment run status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
Assessment run status.
This status can have one of the following values:
-
"cancelling"– The assessment run was canceled by theCancelReplicationTaskAssessmentRunoperation. -
"deleting"– The assessment run was deleted by theDeleteReplicationTaskAssessmentRunoperation. -
"failed"– At least one individual assessment completed with afailedstatus. -
"error-provisioning"– An internal error occurred while resources were provisioned (duringprovisioningstatus). -
"error-executing"– An internal error occurred while individual assessments ran (duringrunningstatus). -
"invalid state"– The assessment run is in an unknown state. -
"passed"– All individual assessments have completed, and none has afailedstatus. -
"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 theCancelReplicationTaskAssessmentRunoperation. -
"deleting"– The assessment run was deleted by theDeleteReplicationTaskAssessmentRunoperation. -
"failed"– At least one individual assessment completed with afailedstatus. -
"error-provisioning"– An internal error occurred while resources were provisioned (duringprovisioningstatus). -
"error-executing"– An internal error occurred while individual assessments ran (duringrunningstatus). -
"invalid state"– The assessment run is in an unknown state. -
"passed"– All individual assessments have completed, and none has afailedstatus. -
"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
StartReplicationTaskAssessmentRunoperation.- Parameters:
replicationTaskAssessmentRunCreationDate- Date on which the assessment run was created using theStartReplicationTaskAssessmentRunoperation.- 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.
-
assessmentProgress
default ReplicationTaskAssessmentRun.Builder assessmentProgress(Consumer<ReplicationTaskAssessmentRunProgress.Builder> assessmentProgress) Indication of the completion progress for the individual assessments specified to run.
This is a convenience method that creates an instance of theReplicationTaskAssessmentRunProgress.Builderavoiding the need to create one manually viaReplicationTaskAssessmentRunProgress.builder().When the
Consumercompletes,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
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
ARN of the service role used to start the assessment run using the
StartReplicationTaskAssessmentRunoperation. The role must allow theiam:PassRoleaction.- Parameters:
serviceAccessRoleArn- ARN of the service role used to start the assessment run using theStartReplicationTaskAssessmentRunoperation. The role must allow theiam:PassRoleaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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
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.
-