public static final class CfnEndpoint.NeptuneSettingsProperty.Builder
extends java.lang.Object
CfnEndpoint.NeptuneSettingsProperty
Constructor and Description |
---|
Builder() |
public CfnEndpoint.NeptuneSettingsProperty.Builder errorRetryDuration(java.lang.Number errorRetryDuration)
CfnEndpoint.NeptuneSettingsProperty.getErrorRetryDuration()
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.this
public CfnEndpoint.NeptuneSettingsProperty.Builder iamAuthEnabled(java.lang.Boolean iamAuthEnabled)
CfnEndpoint.NeptuneSettingsProperty.getIamAuthEnabled()
iamAuthEnabled
- If you want 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
.this
public CfnEndpoint.NeptuneSettingsProperty.Builder iamAuthEnabled(IResolvable iamAuthEnabled)
CfnEndpoint.NeptuneSettingsProperty.getIamAuthEnabled()
iamAuthEnabled
- If you want 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
.this
public CfnEndpoint.NeptuneSettingsProperty.Builder maxFileSize(java.lang.Number maxFileSize)
CfnEndpoint.NeptuneSettingsProperty.getMaxFileSize()
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.this
public CfnEndpoint.NeptuneSettingsProperty.Builder maxRetryCount(java.lang.Number maxRetryCount)
CfnEndpoint.NeptuneSettingsProperty.getMaxRetryCount()
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.this
public CfnEndpoint.NeptuneSettingsProperty.Builder s3BucketFolder(java.lang.String s3BucketFolder)
CfnEndpoint.NeptuneSettingsProperty.getS3BucketFolder()
s3BucketFolder
- A folder path where you want AWS DMS to store migrated graph data in the S3 bucket specified by `S3BucketName`.this
public CfnEndpoint.NeptuneSettingsProperty.Builder s3BucketName(java.lang.String s3BucketName)
CfnEndpoint.NeptuneSettingsProperty.getS3BucketName()
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.this
public CfnEndpoint.NeptuneSettingsProperty.Builder serviceAccessRoleArn(java.lang.String serviceAccessRoleArn)
CfnEndpoint.NeptuneSettingsProperty.getServiceAccessRoleArn()
serviceAccessRoleArn
- 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 AWS Database Migration Service User Guide .
this
public CfnEndpoint.NeptuneSettingsProperty build()
CfnEndpoint.NeptuneSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided