Class AmazonOpenSearchServerlessDestinationConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmazonOpenSearchServerlessDestinationConfiguration.Builder,AmazonOpenSearchServerlessDestinationConfiguration>
Describes the configuration of a destination in the Serverless offering for Amazon OpenSearch Service.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionThe buffering options.builder()final CloudWatchLoggingOptionsReturns the value of the CloudWatchLoggingOptions property for this object.final StringThe endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.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 Serverless offering for Amazon OpenSearch Service index name.final ProcessingConfigurationReturns the value of the ProcessingConfiguration property for this object.The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service.final StringroleARN()The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for 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.Returns the value of the S3Configuration property for this object.static Class<? extends AmazonOpenSearchServerlessDestinationConfiguration.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 VpcConfigurationReturns the value of the VpcConfiguration property for this object.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 Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
-
collectionEndpoint
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
- Returns:
- The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
-
indexName
The Serverless offering for Amazon OpenSearch Service index name.
- Returns:
- The Serverless offering for Amazon OpenSearch Service index name.
-
bufferingHints
The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
- Returns:
- The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
-
retryOptions
The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
- Returns:
- The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
-
s3BackupMode
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, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
If the service returns an enum value that is not available in the current SDK version,
s3BackupModewill returnAmazonOpenSearchServerlessS3BackupMode.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, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
- See Also:
-
s3BackupModeAsString
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, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
If the service returns an enum value that is not available in the current SDK version,
s3BackupModewill returnAmazonOpenSearchServerlessS3BackupMode.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, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
- See Also:
-
s3Configuration
Returns the value of the S3Configuration property for this object.- Returns:
- The value of the S3Configuration property for this object.
-
processingConfiguration
Returns the value of the ProcessingConfiguration property for this object.- Returns:
- The value of the ProcessingConfiguration property for this object.
-
cloudWatchLoggingOptions
Returns the value of the CloudWatchLoggingOptions property for this object.- Returns:
- The value of the CloudWatchLoggingOptions property for this object.
-
vpcConfiguration
Returns the value of the VpcConfiguration property for this object.- Returns:
- The value of the VpcConfiguration property for this object.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AmazonOpenSearchServerlessDestinationConfiguration.Builder,AmazonOpenSearchServerlessDestinationConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AmazonOpenSearchServerlessDestinationConfiguration.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description 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 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-