Class ReplicationTaskAssessmentRun
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.ReplicationTaskAssessmentRun
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationTaskAssessmentRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>
Provides information that describes a premigration assessment run that you have started using the
StartReplicationTaskAssessmentRunoperation.Some of the information appears based on other operations that can return the
ReplicationTaskAssessmentRunobject.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationTaskAssessmentRun.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationTaskAssessmentRunProgressassessmentProgress()Indication of the completion progress for the individual assessments specified to run.StringassessmentRunName()Unique name of the assessment run.static ReplicationTaskAssessmentRun.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisLatestTaskAssessmentRun()Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask.StringlastFailureMessage()Last message generated by an individual assessment failure.StringreplicationTaskArn()ARN of the migration task associated with this premigration assessment run.StringreplicationTaskAssessmentRunArn()Amazon Resource Name (ARN) of this assessment run.InstantreplicationTaskAssessmentRunCreationDate()Date on which the assessment run was created using theStartReplicationTaskAssessmentRunoperation.StringresultEncryptionMode()Encryption mode used to encrypt the assessment run results.StringresultKmsKeyArn()ARN of the KMS encryption key used to encrypt the assessment run results.StringresultLocationBucket()Amazon S3 bucket where DMS stores the results of this assessment run.StringresultLocationFolder()Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.ReplicationTaskAssessmentRunResultStatisticresultStatistic()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicationTaskAssessmentRun.Builder>serializableBuilderClass()StringserviceAccessRoleArn()ARN of the service role used to start the assessment run using theStartReplicationTaskAssessmentRunoperation.Stringstatus()Assessment run status.ReplicationTaskAssessmentRun.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
replicationTaskAssessmentRunArn
public final String replicationTaskAssessmentRunArn()
Amazon Resource Name (ARN) of this assessment run.
- Returns:
- Amazon Resource Name (ARN) of this assessment run.
-
replicationTaskArn
public final String replicationTaskArn()
ARN of the migration task associated with this premigration assessment run.
- Returns:
- ARN of the migration task associated with this premigration assessment run.
-
status
public final 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).
- Returns:
- 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).
-
-
-
replicationTaskAssessmentRunCreationDate
public final Instant replicationTaskAssessmentRunCreationDate()
Date on which the assessment run was created using the
StartReplicationTaskAssessmentRunoperation.- Returns:
- Date on which the assessment run was created using the
StartReplicationTaskAssessmentRunoperation.
-
assessmentProgress
public final ReplicationTaskAssessmentRunProgress assessmentProgress()
Indication of the completion progress for the individual assessments specified to run.
- Returns:
- Indication of the completion progress for the individual assessments specified to run.
-
lastFailureMessage
public final String lastFailureMessage()
Last message generated by an individual assessment failure.
- Returns:
- Last message generated by an individual assessment failure.
-
serviceAccessRoleArn
public final String serviceAccessRoleArn()
ARN of the service role used to start the assessment run using the
StartReplicationTaskAssessmentRunoperation. The role must allow theiam:PassRoleaction.- Returns:
- ARN of the service role used to start the assessment run using the
StartReplicationTaskAssessmentRunoperation. The role must allow theiam:PassRoleaction.
-
resultLocationBucket
public final String resultLocationBucket()
Amazon S3 bucket where DMS stores the results of this assessment run.
- Returns:
- Amazon S3 bucket where DMS stores the results of this assessment run.
-
resultLocationFolder
public final String resultLocationFolder()
Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
- Returns:
- Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
-
resultEncryptionMode
public final String resultEncryptionMode()
Encryption mode used to encrypt the assessment run results.
- Returns:
- Encryption mode used to encrypt the assessment run results.
-
resultKmsKeyArn
public final String resultKmsKeyArn()
ARN of the KMS encryption key used to encrypt the assessment run results.
- Returns:
- ARN of the KMS encryption key used to encrypt the assessment run results.
-
assessmentRunName
public final String assessmentRunName()
Unique name of the assessment run.
- Returns:
- Unique name of the assessment run.
-
isLatestTaskAssessmentRun
public final Boolean isLatestTaskAssessmentRun()
Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.
- Returns:
- Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.
-
resultStatistic
public final 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.
- Returns:
- 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.
-
toBuilder
public ReplicationTaskAssessmentRun.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationTaskAssessmentRun.Builder,ReplicationTaskAssessmentRun>
-
builder
public static ReplicationTaskAssessmentRun.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationTaskAssessmentRun.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-