public class ElasticsearchDestinationUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an update for a destination in Amazon ES.
Modifier and Type | Field and Description |
---|---|
private ElasticsearchBufferingHints |
bufferingHints
Buffering options.
|
private CloudWatchLoggingOptions |
cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
|
private java.lang.String |
domainARN
The ARN of the Amazon ES domain.
|
private java.lang.String |
indexName
The Elasticsearch index name.
|
private java.lang.String |
indexRotationPeriod
The Elasticsearch index rotation period.
|
private ElasticsearchRetryOptions |
retryOptions
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon ES.
|
private java.lang.String |
roleARN
The ARN of the IAM role to be assumed by Firehose for calling the Amazon
ES Configuration API and for indexing documents.
|
private S3DestinationUpdate |
s3Update |
private java.lang.String |
typeName
The Elasticsearch type name.
|
Constructor and Description |
---|
ElasticsearchDestinationUpdate() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchDestinationUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
ElasticsearchBufferingHints |
getBufferingHints()
Buffering options.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
|
java.lang.String |
getDomainARN()
The ARN of the Amazon ES domain.
|
java.lang.String |
getIndexName()
The Elasticsearch index name.
|
java.lang.String |
getIndexRotationPeriod()
The Elasticsearch index rotation period.
|
ElasticsearchRetryOptions |
getRetryOptions()
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon ES.
|
java.lang.String |
getRoleARN()
The ARN of the IAM role to be assumed by Firehose for calling the Amazon
ES Configuration API and for indexing documents.
|
S3DestinationUpdate |
getS3Update() |
java.lang.String |
getTypeName()
The Elasticsearch type name.
|
int |
hashCode() |
void |
setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
void |
setDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain.
|
void |
setIndexName(java.lang.String indexName)
The Elasticsearch index name.
|
void |
setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period.
|
void |
setIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period.
|
void |
setRetryOptions(ElasticsearchRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon ES.
|
void |
setRoleARN(java.lang.String roleARN)
The ARN of the IAM role to be assumed by Firehose for calling the Amazon
ES Configuration API and for indexing documents.
|
void |
setS3Update(S3DestinationUpdate s3Update) |
void |
setTypeName(java.lang.String typeName)
The Elasticsearch type name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ElasticsearchDestinationUpdate |
withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
|
ElasticsearchDestinationUpdate |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
ElasticsearchDestinationUpdate |
withDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain.
|
ElasticsearchDestinationUpdate |
withIndexName(java.lang.String indexName)
The Elasticsearch index name.
|
ElasticsearchDestinationUpdate |
withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period.
|
ElasticsearchDestinationUpdate |
withIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period.
|
ElasticsearchDestinationUpdate |
withRetryOptions(ElasticsearchRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon ES.
|
ElasticsearchDestinationUpdate |
withRoleARN(java.lang.String roleARN)
The ARN of the IAM role to be assumed by Firehose for calling the Amazon
ES Configuration API and for indexing documents.
|
ElasticsearchDestinationUpdate |
withS3Update(S3DestinationUpdate s3Update) |
ElasticsearchDestinationUpdate |
withTypeName(java.lang.String typeName)
The Elasticsearch type name.
|
private java.lang.String roleARN
The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
private java.lang.String domainARN
The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming RoleARN.
private java.lang.String indexName
The Elasticsearch index name.
private java.lang.String typeName
The Elasticsearch type name.
private java.lang.String indexRotationPeriod
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
private ElasticsearchBufferingHints bufferingHints
Buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
private ElasticsearchRetryOptions retryOptions
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. Default value is 300 (5 minutes).
private S3DestinationUpdate s3Update
private CloudWatchLoggingOptions cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
public void setRoleARN(java.lang.String roleARN)
The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
roleARN
- The ARN of the IAM role to be assumed by Firehose for calling the
Amazon ES Configuration API and for indexing documents. For more
information, see Amazon S3 Bucket Access.public java.lang.String getRoleARN()
The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
public ElasticsearchDestinationUpdate withRoleARN(java.lang.String roleARN)
The ARN of the IAM role to be assumed by Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
roleARN
- The ARN of the IAM role to be assumed by Firehose for calling the
Amazon ES Configuration API and for indexing documents. For more
information, see Amazon S3 Bucket Access.public void setDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming RoleARN.
domainARN
- The ARN of the Amazon ES domain. The IAM role must have permission
for DescribeElasticsearchDomain, DescribeElasticsearchDomains ,
and DescribeElasticsearchDomainConfig after assuming
RoleARN.public java.lang.String getDomainARN()
The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming RoleARN.
public ElasticsearchDestinationUpdate withDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain, DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming RoleARN.
domainARN
- The ARN of the Amazon ES domain. The IAM role must have permission
for DescribeElasticsearchDomain, DescribeElasticsearchDomains ,
and DescribeElasticsearchDomainConfig after assuming
RoleARN.public void setIndexName(java.lang.String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.public java.lang.String getIndexName()
The Elasticsearch index name.
public ElasticsearchDestinationUpdate withIndexName(java.lang.String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.public void setTypeName(java.lang.String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.public java.lang.String getTypeName()
The Elasticsearch type name.
public ElasticsearchDestinationUpdate withTypeName(java.lang.String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.public void setIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old
data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination.
Default value is OneDay
.ElasticsearchIndexRotationPeriod
public java.lang.String getIndexRotationPeriod()
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
OneDay
.ElasticsearchIndexRotationPeriod
public ElasticsearchDestinationUpdate withIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old
data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination.
Default value is OneDay
.ElasticsearchIndexRotationPeriod
public void setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old
data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination.
Default value is OneDay
.ElasticsearchIndexRotationPeriod
public ElasticsearchDestinationUpdate withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old data. For
more information, see Index Rotation for Amazon Elasticsearch Service Destination. Default
value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a
timestamp to the IndexName to facilitate the expiration of old
data. For more information, see Index Rotation for Amazon Elasticsearch Service Destination.
Default value is OneDay
.ElasticsearchIndexRotationPeriod
public void setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
bufferingHints
- Buffering options. If no value is specified,
ElasticsearchBufferingHints object default values are used.public ElasticsearchBufferingHints getBufferingHints()
Buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
public ElasticsearchDestinationUpdate withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
bufferingHints
- Buffering options. If no value is specified,
ElasticsearchBufferingHints object default values are used.public void setRetryOptions(ElasticsearchRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. Default value is 300 (5 minutes).
retryOptions
- Configures retry behavior in the event that Firehose is unable to
deliver documents to Amazon ES. Default value is 300 (5 minutes).public ElasticsearchRetryOptions getRetryOptions()
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. Default value is 300 (5 minutes).
public ElasticsearchDestinationUpdate withRetryOptions(ElasticsearchRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES. Default value is 300 (5 minutes).
retryOptions
- Configures retry behavior in the event that Firehose is unable to
deliver documents to Amazon ES. Default value is 300 (5 minutes).public void setS3Update(S3DestinationUpdate s3Update)
s3Update
- public S3DestinationUpdate getS3Update()
public ElasticsearchDestinationUpdate withS3Update(S3DestinationUpdate s3Update)
s3Update
- public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
public ElasticsearchDestinationUpdate withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ElasticsearchDestinationUpdate clone()
clone
in class java.lang.Object