Class CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dms.CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.ElasticsearchSettingsProperty>
- Enclosing interface:
CfnEndpointPropsMixin.ElasticsearchSettingsProperty
@Stability(Stable)
public static final class CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointPropsMixin.ElasticsearchSettingsProperty>
A builder for
CfnEndpointPropsMixin.ElasticsearchSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointUri(String endpointUri) Sets the value ofCfnEndpointPropsMixin.ElasticsearchSettingsProperty.getEndpointUri()errorRetryDuration(Number errorRetryDuration) fullLoadErrorPercentage(Number fullLoadErrorPercentage) serviceAccessRoleArn(String serviceAccessRoleArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointUri
@Stability(Stable) public CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder endpointUri(String endpointUri) Sets the value ofCfnEndpointPropsMixin.ElasticsearchSettingsProperty.getEndpointUri()- Parameters:
endpointUri- The endpoint for the OpenSearch cluster. AWS DMS uses HTTPS if a transport protocol (either HTTP or HTTPS) isn't specified.- Returns:
this
-
errorRetryDuration
@Stability(Stable) public CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder errorRetryDuration(Number errorRetryDuration) - Parameters:
errorRetryDuration- The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.- Returns:
this
-
fullLoadErrorPercentage
@Stability(Stable) public CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder fullLoadErrorPercentage(Number fullLoadErrorPercentage) - Parameters:
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.- Returns:
this
-
serviceAccessRoleArn
@Stability(Stable) public CfnEndpointPropsMixin.ElasticsearchSettingsProperty.Builder serviceAccessRoleArn(String serviceAccessRoleArn) - Parameters:
serviceAccessRoleArn- The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow theiam:PassRoleaction.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.ElasticsearchSettingsProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.ElasticsearchSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-