Interface ReplicationTaskAssessmentRun.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>,SdkBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>,SdkPojo
- Enclosing class:
- ReplicationTaskAssessmentRun
@Mutable @NotThreadSafe public static interface ReplicationTaskAssessmentRun.Builder extends SdkPojo, CopyableBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReplicationTaskAssessmentRun.BuilderassessmentProgress(Consumer<ReplicationTaskAssessmentRunProgress.Builder> assessmentProgress)Indication of the completion progress for the individual assessments specified to run.ReplicationTaskAssessmentRun.BuilderassessmentProgress(ReplicationTaskAssessmentRunProgress assessmentProgress)Indication of the completion progress for the individual assessments specified to run.ReplicationTaskAssessmentRun.BuilderassessmentRunName(String assessmentRunName)Unique name of the assessment run.ReplicationTaskAssessmentRun.BuilderisLatestTaskAssessmentRun(Boolean isLatestTaskAssessmentRun)Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask.ReplicationTaskAssessmentRun.BuilderlastFailureMessage(String lastFailureMessage)Last message generated by an individual assessment failure.ReplicationTaskAssessmentRun.BuilderreplicationTaskArn(String replicationTaskArn)ARN of the migration task associated with this premigration assessment run.ReplicationTaskAssessmentRun.BuilderreplicationTaskAssessmentRunArn(String replicationTaskAssessmentRunArn)Amazon Resource Name (ARN) of this assessment run.ReplicationTaskAssessmentRun.BuilderreplicationTaskAssessmentRunCreationDate(Instant replicationTaskAssessmentRunCreationDate)Date on which the assessment run was created using theStartReplicationTaskAssessmentRunoperation.ReplicationTaskAssessmentRun.BuilderresultEncryptionMode(String resultEncryptionMode)Encryption mode used to encrypt the assessment run results.ReplicationTaskAssessmentRun.BuilderresultKmsKeyArn(String resultKmsKeyArn)ARN of the KMS encryption key used to encrypt the assessment run results.ReplicationTaskAssessmentRun.BuilderresultLocationBucket(String resultLocationBucket)Amazon S3 bucket where DMS stores the results of this assessment run.ReplicationTaskAssessmentRun.BuilderresultLocationFolder(String resultLocationFolder)Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.default ReplicationTaskAssessmentRun.BuilderresultStatistic(Consumer<ReplicationTaskAssessmentRunResultStatistic.Builder> resultStatistic)Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.ReplicationTaskAssessmentRun.BuilderresultStatistic(ReplicationTaskAssessmentRunResultStatistic resultStatistic)Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.ReplicationTaskAssessmentRun.BuilderserviceAccessRoleArn(String serviceAccessRoleArn)ARN of the service role used to start the assessment run using theStartReplicationTaskAssessmentRunoperation.ReplicationTaskAssessmentRun.Builderstatus(String status)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 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 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. -
"warning"– At least one individual assessment completed with awarningstatus or all individual assessments were skipped (completed with askippedstatus).
- 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. -
"warning"– At least one individual assessment completed with awarningstatus or all individual assessments were skipped (completed with askippedstatus).
-
- 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:
assessmentProgress(ReplicationTaskAssessmentRunProgress)
-
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
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
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.
-
isLatestTaskAssessmentRun
ReplicationTaskAssessmentRun.Builder isLatestTaskAssessmentRun(Boolean isLatestTaskAssessmentRun)
Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.
- Parameters:
isLatestTaskAssessmentRun- Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultStatistic
ReplicationTaskAssessmentRun.Builder resultStatistic(ReplicationTaskAssessmentRunResultStatistic resultStatistic)
Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.
- Parameters:
resultStatistic- Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultStatistic
default ReplicationTaskAssessmentRun.Builder resultStatistic(Consumer<ReplicationTaskAssessmentRunResultStatistic.Builder> resultStatistic)
Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.
This is a convenience method that creates an instance of theReplicationTaskAssessmentRunResultStatistic.Builderavoiding the need to create one manually viaReplicationTaskAssessmentRunResultStatistic.builder().When the
Consumercompletes,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:
resultStatistic(ReplicationTaskAssessmentRunResultStatistic)
-
-