@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonopensearchserviceDestinationUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Describes an update for a destination in Amazon OpenSearch Service.
Constructor and Description |
---|
AmazonopensearchserviceDestinationUpdate() |
Modifier and Type | Method and Description |
---|---|
AmazonopensearchserviceDestinationUpdate |
clone() |
boolean |
equals(Object obj) |
AmazonopensearchserviceBufferingHints |
getBufferingHints()
The buffering options.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions() |
String |
getClusterEndpoint()
The endpoint to use when communicating with the cluster.
|
DocumentIdOptions |
getDocumentIdOptions()
Indicates the method for setting up document ID.
|
String |
getDomainARN()
The ARN of the Amazon OpenSearch Service domain.
|
String |
getIndexName()
The Amazon OpenSearch Service index name.
|
String |
getIndexRotationPeriod()
The Amazon OpenSearch Service index rotation period.
|
ProcessingConfiguration |
getProcessingConfiguration() |
AmazonopensearchserviceRetryOptions |
getRetryOptions()
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service.
|
String |
getRoleARN()
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.
|
S3DestinationUpdate |
getS3Update() |
String |
getTypeName()
The Amazon OpenSearch Service type name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) |
void |
setClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster.
|
void |
setDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID.
|
void |
setDomainARN(String domainARN)
The ARN of the Amazon OpenSearch Service domain.
|
void |
setIndexName(String indexName)
The Amazon OpenSearch Service index name.
|
void |
setIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period.
|
void |
setProcessingConfiguration(ProcessingConfiguration processingConfiguration) |
void |
setRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service.
|
void |
setRoleARN(String 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.
|
void |
setS3Update(S3DestinationUpdate s3Update) |
void |
setTypeName(String typeName)
The Amazon OpenSearch Service type name.
|
String |
toString()
Returns a string representation of this object.
|
AmazonopensearchserviceDestinationUpdate |
withBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options.
|
AmazonopensearchserviceDestinationUpdate |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) |
AmazonopensearchserviceDestinationUpdate |
withClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster.
|
AmazonopensearchserviceDestinationUpdate |
withDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID.
|
AmazonopensearchserviceDestinationUpdate |
withDomainARN(String domainARN)
The ARN of the Amazon OpenSearch Service domain.
|
AmazonopensearchserviceDestinationUpdate |
withIndexName(String indexName)
The Amazon OpenSearch Service index name.
|
AmazonopensearchserviceDestinationUpdate |
withIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod indexRotationPeriod)
The Amazon OpenSearch Service index rotation period.
|
AmazonopensearchserviceDestinationUpdate |
withIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period.
|
AmazonopensearchserviceDestinationUpdate |
withProcessingConfiguration(ProcessingConfiguration processingConfiguration) |
AmazonopensearchserviceDestinationUpdate |
withRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service.
|
AmazonopensearchserviceDestinationUpdate |
withRoleARN(String 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.
|
AmazonopensearchserviceDestinationUpdate |
withS3Update(S3DestinationUpdate s3Update) |
AmazonopensearchserviceDestinationUpdate |
withTypeName(String typeName)
The Amazon OpenSearch Service type name.
|
public AmazonopensearchserviceDestinationUpdate()
public void setRoleARN(String 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.
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.public String getRoleARN()
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.
public AmazonopensearchserviceDestinationUpdate withRoleARN(String 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.
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.public void setDomainARN(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.
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 String getDomainARN()
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 AmazonopensearchserviceDestinationUpdate withDomainARN(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.
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 void setClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the
DomainARN field.public String getClusterEndpoint()
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
public AmazonopensearchserviceDestinationUpdate withClusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the
DomainARN field.public void setIndexName(String indexName)
The Amazon OpenSearch Service index name.
indexName
- The Amazon OpenSearch Service index name.public String getIndexName()
The Amazon OpenSearch Service index name.
public AmazonopensearchserviceDestinationUpdate withIndexName(String indexName)
The Amazon OpenSearch Service index name.
indexName
- The Amazon OpenSearch Service index name.public void setTypeName(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, Firehose returns an error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, 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.
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 delivery stream, 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 String getTypeName()
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 delivery stream, 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, 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 AmazonopensearchserviceDestinationUpdate withTypeName(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, Firehose returns an error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, 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.
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 delivery stream, 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 void setIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
indexRotationPeriod
- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to
facilitate the expiration of old data.AmazonopensearchserviceIndexRotationPeriod
public String getIndexRotationPeriod()
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
AmazonopensearchserviceIndexRotationPeriod
public AmazonopensearchserviceDestinationUpdate withIndexRotationPeriod(String indexRotationPeriod)
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
indexRotationPeriod
- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to
facilitate the expiration of old data.AmazonopensearchserviceIndexRotationPeriod
public AmazonopensearchserviceDestinationUpdate withIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod indexRotationPeriod)
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to facilitate the expiration of old data.
indexRotationPeriod
- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to IndexName to
facilitate the expiration of old data.AmazonopensearchserviceIndexRotationPeriod
public void setBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
bufferingHints
- The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are
used.public AmazonopensearchserviceBufferingHints getBufferingHints()
The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
public AmazonopensearchserviceDestinationUpdate withBufferingHints(AmazonopensearchserviceBufferingHints bufferingHints)
The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are used.
bufferingHints
- The buffering options. If no value is specified, AmazonopensearchBufferingHints object default values are
used.public void setRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The
default value is 300 (5 minutes).public AmazonopensearchserviceRetryOptions getRetryOptions()
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
public AmazonopensearchserviceDestinationUpdate withRetryOptions(AmazonopensearchserviceRetryOptions retryOptions)
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The
default value is 300 (5 minutes).public void setS3Update(S3DestinationUpdate s3Update)
s3Update
- public S3DestinationUpdate getS3Update()
public AmazonopensearchserviceDestinationUpdate withS3Update(S3DestinationUpdate s3Update)
s3Update
- public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public ProcessingConfiguration getProcessingConfiguration()
public AmazonopensearchserviceDestinationUpdate withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
processingConfiguration
- public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
public AmazonopensearchserviceDestinationUpdate withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
cloudWatchLoggingOptions
- public void setDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
documentIdOptions
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID
and OpenSearch Service generated document ID.public DocumentIdOptions getDocumentIdOptions()
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
public AmazonopensearchserviceDestinationUpdate withDocumentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
documentIdOptions
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID
and OpenSearch Service generated document ID.public String toString()
toString
in class Object
Object.toString()
public AmazonopensearchserviceDestinationUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.