/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.databasemigrationservice.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides information that describes a premigration assessment run that you have started using the * StartReplicationTaskAssessmentRun operation. *

*

* Some of the information appears based on other operations that can return the * ReplicationTaskAssessmentRun object. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReplicationTaskAssessmentRun implements Serializable, Cloneable, StructuredPojo { /** *

* Amazon Resource Name (ARN) of this assessment run. *

*/ private String replicationTaskAssessmentRunArn; /** *

* ARN of the migration task associated with this premigration assessment run. *

*/ private String replicationTaskArn; /** *

* Assessment run status. *

*

* This status can have one of the following values: *

* */ private String status; /** *

* Date on which the assessment run was created using the StartReplicationTaskAssessmentRun operation. *

*/ private java.util.Date replicationTaskAssessmentRunCreationDate; /** *

* Indication of the completion progress for the individual assessments specified to run. *

*/ private ReplicationTaskAssessmentRunProgress assessmentProgress; /** *

* Last message generated by an individual assessment failure. *

*/ private String lastFailureMessage; /** *

* ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun * operation. The role must allow the iam:PassRole action. *

*/ private String serviceAccessRoleArn; /** *

* Amazon S3 bucket where DMS stores the results of this assessment run. *

*/ private String resultLocationBucket; /** *

* Folder in an Amazon S3 bucket where DMS stores the results of this assessment run. *

*/ private String resultLocationFolder; /** *

* Encryption mode used to encrypt the assessment run results. *

*/ private String resultEncryptionMode; /** *

* ARN of the KMS encryption key used to encrypt the assessment run results. *

*/ private String resultKmsKeyArn; /** *

* Unique name of the assessment run. *

*/ private String assessmentRunName; /** *

* Amazon Resource Name (ARN) of this assessment run. *

* * @param replicationTaskAssessmentRunArn * Amazon Resource Name (ARN) of this assessment run. */ public void setReplicationTaskAssessmentRunArn(String replicationTaskAssessmentRunArn) { this.replicationTaskAssessmentRunArn = replicationTaskAssessmentRunArn; } /** *

* Amazon Resource Name (ARN) of this assessment run. *

* * @return Amazon Resource Name (ARN) of this assessment run. */ public String getReplicationTaskAssessmentRunArn() { return this.replicationTaskAssessmentRunArn; } /** *

* Amazon Resource Name (ARN) of this assessment run. *

* * @param replicationTaskAssessmentRunArn * Amazon Resource Name (ARN) of this assessment run. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicationTaskAssessmentRun withReplicationTaskAssessmentRunArn(String replicationTaskAssessmentRunArn) { setReplicationTaskAssessmentRunArn(replicationTaskAssessmentRunArn); return this; } /** *

* ARN of the migration task associated with this premigration assessment run. *

* * @param replicationTaskArn * ARN of the migration task associated with this premigration assessment run. */ public void setReplicationTaskArn(String replicationTaskArn) { this.replicationTaskArn = replicationTaskArn; } /** *

* ARN of the migration task associated with this premigration assessment run. *

* * @return ARN of the migration task associated with this premigration assessment run. */ public String getReplicationTaskArn() { return this.replicationTaskArn; } /** *

* ARN of the migration task associated with this premigration assessment run. *

* * @param replicationTaskArn * ARN of the migration task associated with this premigration assessment run. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicationTaskAssessmentRun withReplicationTaskArn(String replicationTaskArn) { setReplicationTaskArn(replicationTaskArn); return this; } /** *

* Assessment run status. *

*

* This status can have one of the following values: *

* * * @param status * Assessment run status.

*

* This status can have one of the following values: *

*