@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines an OpenSearch endpoint.
Constructor and Description |
---|
ElasticsearchSettings() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchSettings |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointUri()
The endpoint for the OpenSearch cluster.
|
Integer |
getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
Integer |
getFullLoadErrorPercentage()
The maximum percentage of records that can fail to be written before a full load operation stops.
|
String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
Boolean |
getUseNewMappingType()
Set this option to
true for DMS to migrate documentation using the documentation type
_doc . |
int |
hashCode() |
Boolean |
isUseNewMappingType()
Set this option to
true for DMS to migrate documentation using the documentation type
_doc . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointUri(String endpointUri)
The endpoint for the OpenSearch cluster.
|
void |
setErrorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
void |
setFullLoadErrorPercentage(Integer fullLoadErrorPercentage)
The maximum percentage of records that can fail to be written before a full load operation stops.
|
void |
setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
void |
setUseNewMappingType(Boolean useNewMappingType)
Set this option to
true for DMS to migrate documentation using the documentation type
_doc . |
String |
toString()
Returns a string representation of this object.
|
ElasticsearchSettings |
withEndpointUri(String endpointUri)
The endpoint for the OpenSearch cluster.
|
ElasticsearchSettings |
withErrorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
|
ElasticsearchSettings |
withFullLoadErrorPercentage(Integer fullLoadErrorPercentage)
The maximum percentage of records that can fail to be written before a full load operation stops.
|
ElasticsearchSettings |
withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service to access the IAM role.
|
ElasticsearchSettings |
withUseNewMappingType(Boolean useNewMappingType)
Set this option to
true for DMS to migrate documentation using the documentation type
_doc . |
public void setServiceAccessRoleArn(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.public String getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the
iam:PassRole
action.
iam:PassRole
action.public ElasticsearchSettings withServiceAccessRoleArn(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.public void setEndpointUri(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.public String getEndpointUri()
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
public ElasticsearchSettings withEndpointUri(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.public void setFullLoadErrorPercentage(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.
public Integer getFullLoadErrorPercentage()
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.
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.
public ElasticsearchSettings withFullLoadErrorPercentage(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.
public void setErrorRetryDuration(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.public Integer getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
public ElasticsearchSettings withErrorRetryDuration(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.public void setUseNewMappingType(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
.public Boolean getUseNewMappingType()
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
.
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
.public ElasticsearchSettings withUseNewMappingType(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
.public Boolean isUseNewMappingType()
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
.
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
.public String toString()
toString
in class Object
Object.toString()
public ElasticsearchSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.