@Stability(value=Stable) public static final class CfnEndpoint.ElasticsearchSettingsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.ElasticsearchSettingsProperty>
CfnEndpoint.ElasticsearchSettingsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint.ElasticsearchSettingsProperty |
build()
Builds the configured instance.
|
CfnEndpoint.ElasticsearchSettingsProperty.Builder |
endpointUri(String endpointUri)
Sets the value of
CfnEndpoint.ElasticsearchSettingsProperty.getEndpointUri() |
CfnEndpoint.ElasticsearchSettingsProperty.Builder |
errorRetryDuration(Number errorRetryDuration)
Sets the value of
CfnEndpoint.ElasticsearchSettingsProperty.getErrorRetryDuration() |
CfnEndpoint.ElasticsearchSettingsProperty.Builder |
fullLoadErrorPercentage(Number fullLoadErrorPercentage)
Sets the value of
CfnEndpoint.ElasticsearchSettingsProperty.getFullLoadErrorPercentage() |
CfnEndpoint.ElasticsearchSettingsProperty.Builder |
serviceAccessRoleArn(String serviceAccessRoleArn)
Sets the value of
CfnEndpoint.ElasticsearchSettingsProperty.getServiceAccessRoleArn() |
@Stability(value=Stable) public CfnEndpoint.ElasticsearchSettingsProperty.Builder endpointUri(String endpointUri)
CfnEndpoint.ElasticsearchSettingsProperty.getEndpointUri()endpointUri - The endpoint for the OpenSearch cluster.
AWS DMS uses HTTPS if a transport protocol (either HTTP or HTTPS) isn't specified.this@Stability(value=Stable) public CfnEndpoint.ElasticsearchSettingsProperty.Builder errorRetryDuration(Number errorRetryDuration)
CfnEndpoint.ElasticsearchSettingsProperty.getErrorRetryDuration()errorRetryDuration - The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.this@Stability(value=Stable) public CfnEndpoint.ElasticsearchSettingsProperty.Builder fullLoadErrorPercentage(Number fullLoadErrorPercentage)
CfnEndpoint.ElasticsearchSettingsProperty.getFullLoadErrorPercentage()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 1,000 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.this@Stability(value=Stable) public CfnEndpoint.ElasticsearchSettingsProperty.Builder serviceAccessRoleArn(String serviceAccessRoleArn)
CfnEndpoint.ElasticsearchSettingsProperty.getServiceAccessRoleArn()serviceAccessRoleArn - The Amazon Resource Name (ARN) used by the service to access the IAM role.
The role must allow the iam:PassRole action.this@Stability(value=Stable) public CfnEndpoint.ElasticsearchSettingsProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.ElasticsearchSettingsProperty>CfnEndpoint.ElasticsearchSettingsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.