Class CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.dms.mixins.CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.NeptuneSettingsProperty>
- Enclosing interface:
CfnEndpointPropsMixin.NeptuneSettingsProperty
@Stability(Stable)
public static final class CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointPropsMixin.NeptuneSettingsProperty>
A builder for
CfnEndpointPropsMixin.NeptuneSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.errorRetryDuration(Number errorRetryDuration) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getErrorRetryDuration()iamAuthEnabled(Boolean iamAuthEnabled) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getIamAuthEnabled()iamAuthEnabled(IResolvable iamAuthEnabled) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getIamAuthEnabled()maxFileSize(Number maxFileSize) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getMaxFileSize()maxRetryCount(Number maxRetryCount) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getMaxRetryCount()s3BucketFolder(String s3BucketFolder) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getS3BucketFolder()s3BucketName(String s3BucketName) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getS3BucketName()serviceAccessRoleArn(String serviceAccessRoleArn) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getServiceAccessRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorRetryDuration
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder errorRetryDuration(Number errorRetryDuration) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getErrorRetryDuration()- Parameters:
errorRetryDuration- The number of milliseconds for AWS 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.- Returns:
this
-
iamAuthEnabled
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder iamAuthEnabled(Boolean iamAuthEnabled) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getIamAuthEnabled()- Parameters:
iamAuthEnabled- If you want IAM authorization enabled for this endpoint, set this parameter totrue. Then attach the appropriate IAM policy document to your service role specified byServiceAccessRoleArn. The default isfalse.- Returns:
this
-
iamAuthEnabled
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder iamAuthEnabled(IResolvable iamAuthEnabled) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getIamAuthEnabled()- Parameters:
iamAuthEnabled- If you want IAM authorization enabled for this endpoint, set this parameter totrue. Then attach the appropriate IAM policy document to your service role specified byServiceAccessRoleArn. The default isfalse.- Returns:
this
-
maxFileSize
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder maxFileSize(Number maxFileSize) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getMaxFileSize()- Parameters:
maxFileSize- The maximum size in kilobytes of migrated graph data stored in a .csv file before AWS DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, AWS DMS clears the bucket, ready to store the next batch of migrated graph data.- Returns:
this
-
maxRetryCount
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder maxRetryCount(Number maxRetryCount) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getMaxRetryCount()- Parameters:
maxRetryCount- The number of times for AWS DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.- Returns:
this
-
s3BucketFolder
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder s3BucketFolder(String s3BucketFolder) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getS3BucketFolder()- Parameters:
s3BucketFolder- A folder path where you want AWS DMS to store migrated graph data in the S3 bucket specified byS3BucketName.- Returns:
this
-
s3BucketName
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder s3BucketName(String s3BucketName) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getS3BucketName()- Parameters:
s3BucketName- The name of the Amazon S3 bucket where AWS DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. AWS DMS maps the SQL source data to graph data before storing it in these .csv files.- Returns:
this
-
serviceAccessRoleArn
@Stability(Stable) public CfnEndpointPropsMixin.NeptuneSettingsProperty.Builder serviceAccessRoleArn(String serviceAccessRoleArn) Sets the value ofCfnEndpointPropsMixin.NeptuneSettingsProperty.getServiceAccessRoleArn()- Parameters:
serviceAccessRoleArn- The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow theiam:PassRoleaction.For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the AWS Database Migration Service User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.NeptuneSettingsProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.NeptuneSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-