Struct aws_sdk_databasemigration::model::neptune_settings::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NeptuneSettings
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn service_access_role_arn(self, input: impl Into<String>) -> Self
pub fn service_access_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the iam:PassRole
action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.
sourcepub fn set_service_access_role_arn(self, input: Option<String>) -> Self
pub fn set_service_access_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the iam:PassRole
action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.
sourcepub fn s3_bucket_folder(self, input: impl Into<String>) -> Self
pub fn s3_bucket_folder(self, input: impl Into<String>) -> Self
A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName
sourcepub fn set_s3_bucket_folder(self, input: Option<String>) -> Self
pub fn set_s3_bucket_folder(self, input: Option<String>) -> Self
A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName
sourcepub fn error_retry_duration(self, input: i32) -> Self
pub fn error_retry_duration(self, input: i32) -> Self
The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.
sourcepub fn set_error_retry_duration(self, input: Option<i32>) -> Self
pub fn set_error_retry_duration(self, input: Option<i32>) -> Self
The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.
sourcepub fn max_file_size(self, input: i32) -> Self
pub fn max_file_size(self, input: i32) -> Self
The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.
sourcepub fn set_max_file_size(self, input: Option<i32>) -> Self
pub fn set_max_file_size(self, input: Option<i32>) -> Self
The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.
sourcepub fn max_retry_count(self, input: i32) -> Self
pub fn max_retry_count(self, input: i32) -> Self
The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.
sourcepub fn set_max_retry_count(self, input: Option<i32>) -> Self
pub fn set_max_retry_count(self, input: Option<i32>) -> Self
The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.
sourcepub fn iam_auth_enabled(self, input: bool) -> Self
pub fn iam_auth_enabled(self, input: bool) -> Self
If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to true
. Then attach the appropriate IAM policy document to your service role specified by ServiceAccessRoleArn
. The default is false
.
sourcepub fn set_iam_auth_enabled(self, input: Option<bool>) -> Self
pub fn set_iam_auth_enabled(self, input: Option<bool>) -> Self
If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to true
. Then attach the appropriate IAM policy document to your service role specified by ServiceAccessRoleArn
. The default is false
.
sourcepub fn build(self) -> NeptuneSettings
pub fn build(self) -> NeptuneSettings
Consumes the builder and constructs a NeptuneSettings
.