/* * 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.AmazonWebServiceRequest; /** *

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

* Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to * start. *

*/ private String replicationTaskArn; /** *

* ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole * action. *

*/ private String serviceAccessRoleArn; /** *

* Amazon S3 bucket where you want DMS to store the results of this assessment run. *

*/ private String resultLocationBucket; /** *

* Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. *

*/ private String resultLocationFolder; /** *

* Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this * request parameter, DMS stores the assessment run results without encryption. You can specify one of the options * following: *

* */ private String resultEncryptionMode; /** *

* ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to * "SSE_KMS". *

*/ private String resultKmsKeyArn; /** *

* Unique name to identify the assessment run. *

*/ private String assessmentRunName; /** *

* Space-separated list of names for specific individual assessments that you want to include. These names come from * the default list of individual assessments that DMS supports for the associated migration task. This task is * specified by ReplicationTaskArn. *

* *

* You can't set a value for IncludeOnly if you also set a value for Exclude in the API * operation. *

*

* To identify the names of the default individual assessments that DMS supports for the associated migration task, * run the DescribeApplicableIndividualAssessments operation using its own * ReplicationTaskArn request parameter. *

*
*/ private java.util.List includeOnly; /** *

* Space-separated list of names for specific individual assessments that you want to exclude. These names come from * the default list of individual assessments that DMS supports for the associated migration task. This task is * specified by ReplicationTaskArn. *

* *

* You can't set a value for Exclude if you also set a value for IncludeOnly in the API * operation. *

*

* To identify the names of the default individual assessments that DMS supports for the associated migration task, * run the DescribeApplicableIndividualAssessments operation using its own * ReplicationTaskArn request parameter. *

*
*/ private java.util.List exclude; /** *

* Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to * start. *

* * @param replicationTaskArn * Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you * want to start. */ public void setReplicationTaskArn(String replicationTaskArn) { this.replicationTaskArn = replicationTaskArn; } /** *

* Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to * start. *

* * @return Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you * want to start. */ public String getReplicationTaskArn() { return this.replicationTaskArn; } /** *

* Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to * start. *

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

* ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole * action. *

* * @param serviceAccessRoleArn * ARN of the service role needed to start the assessment run. The role must allow the * iam:PassRole action. */ public void setServiceAccessRoleArn(String serviceAccessRoleArn) { this.serviceAccessRoleArn = serviceAccessRoleArn; } /** *

* ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole * action. *

* * @return ARN of the service role needed to start the assessment run. The role must allow the * iam:PassRole action. */ public String getServiceAccessRoleArn() { return this.serviceAccessRoleArn; } /** *

* ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole * action. *

* * @param serviceAccessRoleArn * ARN of the service role needed to start the assessment run. The role must allow the * iam:PassRole action. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationTaskAssessmentRunRequest withServiceAccessRoleArn(String serviceAccessRoleArn) { setServiceAccessRoleArn(serviceAccessRoleArn); return this; } /** *

* Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @param resultLocationBucket * Amazon S3 bucket where you want DMS to store the results of this assessment run. */ public void setResultLocationBucket(String resultLocationBucket) { this.resultLocationBucket = resultLocationBucket; } /** *

* Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @return Amazon S3 bucket where you want DMS to store the results of this assessment run. */ public String getResultLocationBucket() { return this.resultLocationBucket; } /** *

* Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @param resultLocationBucket * Amazon S3 bucket where you want DMS to store the results of this assessment run. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationTaskAssessmentRunRequest withResultLocationBucket(String resultLocationBucket) { setResultLocationBucket(resultLocationBucket); return this; } /** *

* Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @param resultLocationFolder * Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. */ public void setResultLocationFolder(String resultLocationFolder) { this.resultLocationFolder = resultLocationFolder; } /** *

* Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @return Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. */ public String getResultLocationFolder() { return this.resultLocationFolder; } /** *

* Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. *

* * @param resultLocationFolder * Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationTaskAssessmentRunRequest withResultLocationFolder(String resultLocationFolder) { setResultLocationFolder(resultLocationFolder); return this; } /** *

* Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this * request parameter, DMS stores the assessment run results without encryption. You can specify one of the options * following: *

* * * @param resultEncryptionMode * Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify * this request parameter, DMS stores the assessment run results without encryption. You can specify one of * the options following:

*