public static interface ElasticsearchSettings.Builder extends SdkPojo, CopyableBuilder<ElasticsearchSettings.Builder,ElasticsearchSettings>
| Modifier and Type | Method and Description |
|---|---|
ElasticsearchSettings.Builder |
endpointUri(String endpointUri)
The endpoint for the OpenSearch cluster.
|
ElasticsearchSettings.Builder |
errorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
ElasticsearchSettings.Builder |
fullLoadErrorPercentage(Integer fullLoadErrorPercentage)
The maximum percentage of records that can fail to be written before a full load operation stops.
|
ElasticsearchSettings.Builder |
serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
ElasticsearchSettings.Builder |
useNewMappingType(Boolean useNewMappingType)
Set this option to
true for DMS to migrate documentation using the documentation type
_doc. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildElasticsearchSettings.Builder serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole action.
serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole action.ElasticsearchSettings.Builder endpointUri(String endpointUri)
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
endpointUri - The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not
specified.ElasticsearchSettings.Builder fullLoadErrorPercentage(Integer fullLoadErrorPercentage)
The maximum percentage of records that can fail to be written before a full load operation stops.
To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
fullLoadErrorPercentage - The maximum percentage of records that can fail to be written before a full load operation stops.
To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
ElasticsearchSettings.Builder errorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
errorRetryDuration - The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.ElasticsearchSettings.Builder useNewMappingType(Boolean useNewMappingType)
Set this option to true for DMS to migrate documentation using the documentation type
_doc. OpenSearch and an Elasticsearch cluster only support the _doc documentation type in
versions 7. x and later. The default value is false.
useNewMappingType - Set this option to true for DMS to migrate documentation using the documentation type
_doc. OpenSearch and an Elasticsearch cluster only support the _doc documentation type in
versions 7. x and later. The default value is false.Copyright © 2023. All rights reserved.