Class ElasticsearchDestinationConfiguration
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<ElasticsearchDestinationConfiguration.Builder,- ElasticsearchDestinationConfiguration> 
Describes the configuration of a destination in Amazon OpenSearch Service.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionThe buffering options.builder()final CloudWatchLoggingOptionsThe Amazon CloudWatch logging options for your Firehose stream.final StringThe endpoint to use when communicating with the cluster.final DocumentIdOptionsIndicates the method for setting up document ID.final StringThe ARN of the Amazon OpenSearch Service domain.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final StringThe Elasticsearch index name.The Elasticsearch index rotation period.final StringThe Elasticsearch index rotation period.final ProcessingConfigurationThe data processing configuration.The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service.final StringroleARN()The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents.Defines how documents should be delivered to Amazon S3.final StringDefines how documents should be delivered to Amazon S3.The configuration for the backup Amazon S3 location.static Class<? extends ElasticsearchDestinationConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringtypeName()The Elasticsearch type name.final VpcConfigurationThe details of the VPC of the Amazon destination.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
roleARNThe Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Amazon OpenSearch Service 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 OpenSearch Service 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.
 
- 
domainARNThe ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeDomain,DescribeDomains, andDescribeDomainConfigafter assuming the role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either ClusterEndpointorDomainARN.- Returns:
- The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for 
         DescribeDomain,DescribeDomains, andDescribeDomainConfigafter assuming the role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Specify either ClusterEndpointorDomainARN.
 
- 
clusterEndpointThe 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.
 
- 
indexNameThe Elasticsearch index name. - Returns:
- The Elasticsearch index name.
 
- 
typeNameThe 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 run time. For Elasticsearch 7.x, don't specify a 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
         run time.
         For Elasticsearch 7.x, don't specify a TypeName.
 
- 
indexRotationPeriodThe Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon OpenSearch Service Destination. The 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 the IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon OpenSearch Service Destination. The default value isOneDay.
- See Also:
 
- 
indexRotationPeriodAsStringThe Elasticsearch index rotation period. Index rotation appends a timestamp to the IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon OpenSearch Service Destination. The 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 the IndexNameto facilitate the expiration of old data. For more information, see Index Rotation for the Amazon OpenSearch Service Destination. The default value isOneDay.
- See Also:
 
- 
bufferingHintsThe buffering options. If no value is specified, the default values for ElasticsearchBufferingHintsare used.- Returns:
- The buffering options. If no value is specified, the default values for
         ElasticsearchBufferingHintsare used.
 
- 
retryOptionsThe retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes). - Returns:
- The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
 
- 
s3BackupModeDefines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, withAmazonOpenSearchService-failed/appended to the key prefix. When set toAllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents withAmazonOpenSearchService-failed/appended to the prefix. For more information, see Amazon S3 Backup for the Amazon OpenSearch Service Destination. Default value isFailedDocumentsOnly.You can't change this backup mode after you create the Firehose stream. If the service returns an enum value that is not available in the current SDK version, s3BackupModewill returnElasticsearchS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BackupModeAsString().- Returns:
- Defines how documents should be delivered to Amazon S3. When it is set to
         FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, withAmazonOpenSearchService-failed/appended to the key prefix. When set toAllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents withAmazonOpenSearchService-failed/appended to the prefix. For more information, see Amazon S3 Backup for the Amazon OpenSearch Service Destination. Default value isFailedDocumentsOnly.You can't change this backup mode after you create the Firehose stream. 
- See Also:
 
- 
s3BackupModeAsStringDefines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, withAmazonOpenSearchService-failed/appended to the key prefix. When set toAllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents withAmazonOpenSearchService-failed/appended to the prefix. For more information, see Amazon S3 Backup for the Amazon OpenSearch Service Destination. Default value isFailedDocumentsOnly.You can't change this backup mode after you create the Firehose stream. If the service returns an enum value that is not available in the current SDK version, s3BackupModewill returnElasticsearchS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BackupModeAsString().- Returns:
- Defines how documents should be delivered to Amazon S3. When it is set to
         FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, withAmazonOpenSearchService-failed/appended to the key prefix. When set toAllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents withAmazonOpenSearchService-failed/appended to the prefix. For more information, see Amazon S3 Backup for the Amazon OpenSearch Service Destination. Default value isFailedDocumentsOnly.You can't change this backup mode after you create the Firehose stream. 
- See Also:
 
- 
s3ConfigurationThe configuration for the backup Amazon S3 location. - Returns:
- The configuration for the backup Amazon S3 location.
 
- 
processingConfigurationThe data processing configuration. - Returns:
- The data processing configuration.
 
- 
cloudWatchLoggingOptionsThe Amazon CloudWatch logging options for your Firehose stream. - Returns:
- The Amazon CloudWatch logging options for your Firehose stream.
 
- 
vpcConfigurationThe details of the VPC of the Amazon destination. - Returns:
- The details of the VPC of the Amazon destination.
 
- 
documentIdOptionsIndicates 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.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<ElasticsearchDestinationConfiguration.Builder,- ElasticsearchDestinationConfiguration> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClasspublic static Class<? extends ElasticsearchDestinationConfiguration.Builder> serializableBuilderClass()
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- 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
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-