@Generated(value="software.amazon.awssdk:codegen") public final class AmazonopensearchserviceDestinationUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmazonopensearchserviceDestinationUpdate.Builder,AmazonopensearchserviceDestinationUpdate>
Describes an update for a destination in Amazon OpenSearch Service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AmazonopensearchserviceDestinationUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
AmazonopensearchserviceBufferingHints |
bufferingHints()
The buffering options.
|
static AmazonopensearchserviceDestinationUpdate.Builder |
builder() |
CloudWatchLoggingOptions |
cloudWatchLoggingOptions()
Returns the value of the CloudWatchLoggingOptions property for this object.
|
String |
clusterEndpoint()
The endpoint to use when communicating with the cluster.
|
DocumentIdOptions |
documentIdOptions()
Indicates the method for setting up document ID.
|
String |
domainARN()
The ARN of the Amazon OpenSearch Service domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
indexName()
The Amazon OpenSearch Service index name.
|
AmazonopensearchserviceIndexRotationPeriod |
indexRotationPeriod()
The Amazon OpenSearch Service index rotation period.
|
String |
indexRotationPeriodAsString()
The Amazon OpenSearch Service index rotation period.
|
ProcessingConfiguration |
processingConfiguration()
Returns the value of the ProcessingConfiguration property for this object.
|
AmazonopensearchserviceRetryOptions |
retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service.
|
String |
roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon
OpenSearch Service Configuration API and for indexing documents.
|
S3DestinationUpdate |
s3Update()
Returns the value of the S3Update property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AmazonopensearchserviceDestinationUpdate.Builder> |
serializableBuilderClass() |
AmazonopensearchserviceDestinationUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeName()
The Amazon OpenSearch Service type name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents.
public final String 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.
public final String clusterEndpoint()
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
public final String indexName()
The Amazon OpenSearch Service index name.
public final String 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, 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.
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.
public final AmazonopensearchserviceIndexRotationPeriod 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,
indexRotationPeriod will return
AmazonopensearchserviceIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from indexRotationPeriodAsString().
AmazonopensearchserviceIndexRotationPeriodpublic final String 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,
indexRotationPeriod will return
AmazonopensearchserviceIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from indexRotationPeriodAsString().
AmazonopensearchserviceIndexRotationPeriodpublic final AmazonopensearchserviceBufferingHints bufferingHints()
The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
public final AmazonopensearchserviceRetryOptions retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
public final S3DestinationUpdate s3Update()
public final ProcessingConfiguration processingConfiguration()
public final CloudWatchLoggingOptions cloudWatchLoggingOptions()
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.
public AmazonopensearchserviceDestinationUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AmazonopensearchserviceDestinationUpdate.Builder,AmazonopensearchserviceDestinationUpdate>public static AmazonopensearchserviceDestinationUpdate.Builder builder()
public static Class<? extends AmazonopensearchserviceDestinationUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.