@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines an Elasticsearch endpoint.
Constructor and Description |
---|
ElasticsearchSettings() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchSettings |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointUri()
The endpoint for the Elasticsearch cluster.
|
Integer |
getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch 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 service to access the IAM role.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointUri(String endpointUri)
The endpoint for the Elasticsearch cluster.
|
void |
setErrorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch 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 service to access the IAM role.
|
String |
toString()
Returns a string representation of this object.
|
ElasticsearchSettings |
withEndpointUri(String endpointUri)
The endpoint for the Elasticsearch cluster.
|
ElasticsearchSettings |
withErrorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch 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 service to access the IAM role.
|
public void setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by service to access the IAM role.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by service to access the IAM role.public String getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by service to access the IAM role.
public ElasticsearchSettings withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by service to access the IAM role.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by service to access the IAM role.public void setEndpointUri(String endpointUri)
The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport protocol (http/https) is not specified.
endpointUri
- The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport protocol (http/https) is not
specified.public String getEndpointUri()
The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport protocol (http/https) is not specified.
public ElasticsearchSettings withEndpointUri(String endpointUri)
The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport protocol (http/https) is not specified.
endpointUri
- The endpoint for the Elasticsearch cluster. AWS 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. Elasticsearch 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. Elasticsearch 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. Elasticsearch 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. Elasticsearch 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. Elasticsearch 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. Elasticsearch 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 Elasticsearch cluster.
errorRetryDuration
- The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.public Integer getErrorRetryDuration()
The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.
public ElasticsearchSettings withErrorRetryDuration(Integer errorRetryDuration)
The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.
errorRetryDuration
- The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.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.