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 theStartReplicationTaskAssessmentRun
operation.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 theStartReplicationTaskAssessmentRun
operation.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, 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 theCancelReplicationTaskAssessmentRun
operation. -
"deleting"
– The assessment run was deleted by theDeleteReplicationTaskAssessmentRun
operation. -
"failed"
– At least one individual assessment completed with afailed
status. -
"error-provisioning"
– An internal error occurred while resources were provisioned (duringprovisioning
status). -
"error-executing"
– An internal error occurred while individual assessments ran (duringrunning
status). -
"invalid state"
– The assessment run is in an unknown state. -
"passed"
– All individual assessments have completed, and none has afailed
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 theCancelReplicationTaskAssessmentRun
operation. -
"deleting"
– The assessment run was deleted by theDeleteReplicationTaskAssessmentRun
operation. -
"failed"
– At least one individual assessment completed with afailed
status. -
"error-provisioning"
– An internal error occurred while resources were provisioned (duringprovisioning
status). -
"error-executing"
– An internal error occurred while individual assessments ran (duringrunning
status). -
"invalid state"
– The assessment run is in an unknown state. -
"passed"
– All individual assessments have completed, and none has afailed
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 theStartReplicationTaskAssessmentRun
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.
-
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.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
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
StartReplicationTaskAssessmentRun
operation. The role must allow theiam:PassRole
action.- Parameters:
serviceAccessRoleArn
- ARN of the service role used to start the assessment run using theStartReplicationTaskAssessmentRun
operation. The role must allow theiam:PassRole
action.- 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.
-