Class AmazonopensearchserviceDestinationUpdate
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmazonopensearchserviceDestinationUpdate.Builder,AmazonopensearchserviceDestinationUpdate>
Describes an update for a destination in 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 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 Amazon OpenSearch Service index name.The Amazon OpenSearch Service index rotation period.final StringThe Amazon OpenSearch Service index rotation period.final ProcessingConfigurationReturns the value of the ProcessingConfiguration property for this object.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.final S3DestinationUpdates3Update()Returns the value of the S3Update property for this object.static Class<? extends AmazonopensearchserviceDestinationUpdate.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 Amazon OpenSearch Service 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 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 Amazon OpenSearch Service Configuration API and for indexing documents.
-
domainARN
The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeDomain, DescribeDomains, and DescribeDomainConfig after assuming the IAM role specified in RoleARN.
- Returns:
- The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeDomain, DescribeDomains, and DescribeDomainConfig after assuming the IAM role specified in RoleARN.
-
clusterEndpoint
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
- Returns:
- The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
-
indexName
The Amazon OpenSearch Service index name.
- Returns:
- The Amazon OpenSearch Service index name.
-
typeName
The Amazon OpenSearch Service 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 Firehose stream, Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your Firehose stream with a new index name, provide an empty string for TypeName.
- Returns:
- The Amazon OpenSearch Service 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 Firehose stream, Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your Firehose stream with a new index name, provide an empty string for TypeName.
-
indexRotationPeriod
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriodwill returnAmazonopensearchserviceIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindexRotationPeriodAsString().- Returns:
- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
- See Also:
-
indexRotationPeriodAsString
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriodwill returnAmazonopensearchserviceIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindexRotationPeriodAsString().- Returns:
- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
- See Also:
-
bufferingHints
The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
- Returns:
- The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
-
retryOptions
The 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).
-
s3Update
Returns the value of the S3Update property for this object.- Returns:
- The value of the S3Update 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.
-
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AmazonopensearchserviceDestinationUpdate.Builder,AmazonopensearchserviceDestinationUpdate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AmazonopensearchserviceDestinationUpdate.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.
-