Struct aws_sdk_databasemigration::input::start_replication_task_assessment_run_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StartReplicationTaskAssessmentRunInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn replication_task_arn(self, input: impl Into<String>) -> Self
pub fn replication_task_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
sourcepub fn set_replication_task_arn(self, input: Option<String>) -> Self
pub fn set_replication_task_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start.
sourcepub fn service_access_role_arn(self, input: impl Into<String>) -> Self
pub fn service_access_role_arn(self, input: impl Into<String>) -> Self
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
sourcepub fn set_service_access_role_arn(self, input: Option<String>) -> Self
pub fn set_service_access_role_arn(self, input: Option<String>) -> Self
ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole
action.
sourcepub fn result_location_bucket(self, input: impl Into<String>) -> Self
pub fn result_location_bucket(self, input: impl Into<String>) -> Self
Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn set_result_location_bucket(self, input: Option<String>) -> Self
pub fn set_result_location_bucket(self, input: Option<String>) -> Self
Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn result_location_folder(self, input: impl Into<String>) -> Self
pub fn result_location_folder(self, input: impl Into<String>) -> Self
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn set_result_location_folder(self, input: Option<String>) -> Self
pub fn set_result_location_folder(self, input: Option<String>) -> Self
Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run.
sourcepub fn result_encryption_mode(self, input: impl Into<String>) -> Self
pub fn result_encryption_mode(self, input: impl Into<String>) -> Self
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:
-
"SSE_S3"
– The server-side encryption provided as a default by Amazon S3. -
"SSE_KMS"
– Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.
sourcepub fn set_result_encryption_mode(self, input: Option<String>) -> Self
pub fn set_result_encryption_mode(self, input: Option<String>) -> Self
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:
-
"SSE_S3"
– The server-side encryption provided as a default by Amazon S3. -
"SSE_KMS"
– Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides.
sourcepub fn result_kms_key_arn(self, input: impl Into<String>) -> Self
pub fn result_kms_key_arn(self, input: impl Into<String>) -> Self
ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to "SSE_KMS
".
sourcepub fn set_result_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_result_kms_key_arn(self, input: Option<String>) -> Self
ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode
to "SSE_KMS
".
sourcepub fn assessment_run_name(self, input: impl Into<String>) -> Self
pub fn assessment_run_name(self, input: impl Into<String>) -> Self
Unique name to identify the assessment run.
sourcepub fn set_assessment_run_name(self, input: Option<String>) -> Self
pub fn set_assessment_run_name(self, input: Option<String>) -> Self
Unique name to identify the assessment run.
sourcepub fn include_only(self, input: impl Into<String>) -> Self
pub fn include_only(self, input: impl Into<String>) -> Self
Appends an item to include_only
.
To override the contents of this collection use set_include_only
.
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.
sourcepub fn set_include_only(self, input: Option<Vec<String>>) -> Self
pub fn set_include_only(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn exclude(self, input: impl Into<String>) -> Self
pub fn exclude(self, input: impl Into<String>) -> Self
Appends an item to exclude
.
To override the contents of this collection use set_exclude
.
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.
sourcepub fn set_exclude(self, input: Option<Vec<String>>) -> Self
pub fn set_exclude(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn build(self) -> Result<StartReplicationTaskAssessmentRunInput, BuildError>
pub fn build(self) -> Result<StartReplicationTaskAssessmentRunInput, BuildError>
Consumes the builder and constructs a StartReplicationTaskAssessmentRunInput
.