Interface NeptuneSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NeptuneSettings.Builder,NeptuneSettings>, SdkBuilder<NeptuneSettings.Builder,NeptuneSettings>, SdkPojo
Enclosing class:
NeptuneSettings

public static interface NeptuneSettings.Builder extends SdkPojo, CopyableBuilder<NeptuneSettings.Builder,NeptuneSettings>
  • Method Details

    • serviceAccessRoleArn

      NeptuneSettings.Builder serviceAccessRoleArn(String 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 Database Migration Service User Guide.

      Parameters:
      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 Database Migration Service User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketName

      NeptuneSettings.Builder s3BucketName(String s3BucketName)

      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.

      Parameters:
      s3BucketName - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3BucketFolder

      NeptuneSettings.Builder s3BucketFolder(String s3BucketFolder)

      A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName

      Parameters:
      s3BucketFolder - A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorRetryDuration

      NeptuneSettings.Builder errorRetryDuration(Integer errorRetryDuration)

      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.

      Parameters:
      errorRetryDuration - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxFileSize

      NeptuneSettings.Builder maxFileSize(Integer maxFileSize)

      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.

      Parameters:
      maxFileSize - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxRetryCount

      NeptuneSettings.Builder maxRetryCount(Integer maxRetryCount)

      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.

      Parameters:
      maxRetryCount - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamAuthEnabled

      NeptuneSettings.Builder iamAuthEnabled(Boolean iamAuthEnabled)

      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.

      Parameters:
      iamAuthEnabled - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.