Class ElasticsearchSettings
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.ElasticsearchSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ElasticsearchSettings.Builder,ElasticsearchSettings>
@Generated("software.amazon.awssdk:codegen") public final class ElasticsearchSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchSettings.Builder,ElasticsearchSettings>
Provides information that defines an OpenSearch endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceElasticsearchSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElasticsearchSettings.Builderbuilder()StringendpointUri()The endpoint for the OpenSearch cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegererrorRetryDuration()The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.IntegerfullLoadErrorPercentage()The maximum percentage of records that can fail to be written before a full load operation stops.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ElasticsearchSettings.Builder>serializableBuilderClass()StringserviceAccessRoleArn()The Amazon Resource Name (ARN) used by the service to access the IAM role.ElasticsearchSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanuseNewMappingType()Set this option totruefor DMS to migrate documentation using the documentation type_doc.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceAccessRoleArn
public final String serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRoleaction.- Returns:
- The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRoleaction.
-
endpointUri
public final String endpointUri()
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
- Returns:
- The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
-
fullLoadErrorPercentage
public final 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.
- Returns:
- 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.
-
errorRetryDuration
public final Integer errorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
- Returns:
- The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
-
useNewMappingType
public final Boolean useNewMappingType()
Set this option to
truefor 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 isfalse.- Returns:
- Set this option to
truefor 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 isfalse.
-
toBuilder
public ElasticsearchSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ElasticsearchSettings.Builder,ElasticsearchSettings>
-
builder
public static ElasticsearchSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends ElasticsearchSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-