Class ElasticsearchDestinationUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.ElasticsearchDestinationUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ElasticsearchDestinationUpdate.Builder,ElasticsearchDestinationUpdate>
@Generated("software.amazon.awssdk:codegen") public final class ElasticsearchDestinationUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchDestinationUpdate.Builder,ElasticsearchDestinationUpdate>
Describes an update for a destination in Amazon ES.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceElasticsearchDestinationUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchBufferingHintsbufferingHints()The buffering options.static ElasticsearchDestinationUpdate.Builderbuilder()CloudWatchLoggingOptionscloudWatchLoggingOptions()The CloudWatch logging options for your delivery stream.StringclusterEndpoint()The endpoint to use when communicating with the cluster.DocumentIdOptionsdocumentIdOptions()Indicates the method for setting up document ID.StringdomainARN()The ARN of the Amazon ES domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexName()The Elasticsearch index name.ElasticsearchIndexRotationPeriodindexRotationPeriod()The Elasticsearch index rotation period.StringindexRotationPeriodAsString()The Elasticsearch index rotation period.ProcessingConfigurationprocessingConfiguration()The data processing configuration.ElasticsearchRetryOptionsretryOptions()The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES.StringroleARN()The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents.S3DestinationUpdates3Update()The Amazon S3 destination.List<SdkField<?>>sdkFields()static Class<? extends ElasticsearchDestinationUpdate.Builder>serializableBuilderClass()ElasticsearchDestinationUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtypeName()The Elasticsearch type name.-
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
-
roleARN
public final String roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Kinesis Data 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 Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
-
domainARN
public final String domainARN()
The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeDomain,DescribeDomains, andDescribeDomainConfigafter assuming the IAM role specified inRoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either
ClusterEndpointorDomainARN.- Returns:
- The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeDomain,DescribeDomains, andDescribeDomainConfigafter assuming the IAM role specified inRoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either
ClusterEndpointorDomainARN.
-
clusterEndpoint
public final String clusterEndpoint()
The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpointor theDomainARNfield.- Returns:
- The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpointor theDomainARNfield.
-
indexName
public final String indexName()
The Elasticsearch index name.
- Returns:
- The Elasticsearch index name.
-
typeName
public final String 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, Kinesis Data Firehose returns an error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data 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, Kinesis Data Firehose returns an
error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data 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
public final ElasticsearchIndexRotationPeriod indexRotationPeriod()
The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexNameto 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,
indexRotationPeriodwill 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
IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay. - See Also:
ElasticsearchIndexRotationPeriod
-
indexRotationPeriodAsString
public final String indexRotationPeriodAsString()
The Elasticsearch index rotation period. Index rotation appends a timestamp to
IndexNameto 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,
indexRotationPeriodwill 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
IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value isOneDay. - See Also:
ElasticsearchIndexRotationPeriod
-
bufferingHints
public final ElasticsearchBufferingHints bufferingHints()
The buffering options. If no value is specified,
ElasticsearchBufferingHintsobject default values are used.- Returns:
- The buffering options. If no value is specified,
ElasticsearchBufferingHintsobject default values are used.
-
retryOptions
public final ElasticsearchRetryOptions retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
- Returns:
- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
-
s3Update
public final S3DestinationUpdate s3Update()
The Amazon S3 destination.
- Returns:
- The Amazon S3 destination.
-
processingConfiguration
public final ProcessingConfiguration processingConfiguration()
The data processing configuration.
- Returns:
- The data processing configuration.
-
cloudWatchLoggingOptions
public final CloudWatchLoggingOptions cloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
- Returns:
- The CloudWatch logging options for your delivery stream.
-
documentIdOptions
public final DocumentIdOptions documentIdOptions()
Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
- Returns:
- Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
-
toBuilder
public ElasticsearchDestinationUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ElasticsearchDestinationUpdate.Builder,ElasticsearchDestinationUpdate>
-
builder
public static ElasticsearchDestinationUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ElasticsearchDestinationUpdate.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.
-
-