Class ElasticsearchDestinationUpdate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ElasticsearchDestinationUpdate.Builder,
ElasticsearchDestinationUpdate>
Describes an update for a destination in Amazon ES.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe buffering options.builder()
final CloudWatchLoggingOptions
The CloudWatch logging options for your delivery stream.final String
The endpoint to use when communicating with the cluster.final DocumentIdOptions
Indicates the method for setting up document ID.final String
The ARN of the Amazon ES domain.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The Elasticsearch index name.The Elasticsearch index rotation period.final String
The Elasticsearch index rotation period.final ProcessingConfiguration
The data processing configuration.The retry behavior in case Firehose is unable to deliver documents to Amazon ES.final String
roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents.final S3DestinationUpdate
s3Update()
The Amazon S3 destination.static Class
<? extends ElasticsearchDestinationUpdate.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
typeName()
The Elasticsearch type name.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
roleARN
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
-
domainARN
The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeDomain
,DescribeDomains
, andDescribeDomainConfig
after assuming the IAM role specified inRoleARN
. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either
ClusterEndpoint
orDomainARN
.- Returns:
- The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeDomain
,DescribeDomains
, andDescribeDomainConfig
after assuming the IAM role specified inRoleARN
. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either
ClusterEndpoint
orDomainARN
.
-
clusterEndpoint
The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpoint
or theDomainARN
field.- Returns:
- The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpoint
or theDomainARN
field.
-
indexName
The Elasticsearch index name.
- Returns:
- The Elasticsearch index name.
-
typeName
The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Firehose returns an error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for
TypeName
.- Returns:
- The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to
specify a new type for an existing index that already has another type, Firehose returns an error during
runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for
TypeName
.
-
indexRotationPeriod
The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay
.If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriod
will returnElasticsearchIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromindexRotationPeriodAsString()
.- Returns:
- The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay
. - See Also:
-
indexRotationPeriodAsString
The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay
.If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriod
will returnElasticsearchIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromindexRotationPeriodAsString()
.- Returns:
- The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay
. - See Also:
-
bufferingHints
The buffering options. If no value is specified,
ElasticsearchBufferingHints
object default values are used.- Returns:
- The buffering options. If no value is specified,
ElasticsearchBufferingHints
object default values are used.
-
retryOptions
The retry behavior in case Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
- Returns:
- The retry behavior in case Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
-
s3Update
The Amazon S3 destination.
- Returns:
- The Amazon S3 destination.
-
processingConfiguration
The data processing configuration.
- Returns:
- The data processing configuration.
-
cloudWatchLoggingOptions
The CloudWatch logging options for your delivery stream.
- Returns:
- The CloudWatch logging options for your delivery stream.
-
documentIdOptions
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
- Returns:
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ElasticsearchDestinationUpdate.Builder,
ElasticsearchDestinationUpdate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-