@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchDestinationUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Describes an update for a destination in Amazon ES.
Constructor and Description |
---|
ElasticsearchDestinationUpdate() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchDestinationUpdate |
clone() |
boolean |
equals(Object obj) |
ElasticsearchBufferingHints |
getBufferingHints()
The buffering options.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
String |
getDomainARN()
The ARN of the Amazon ES domain.
|
String |
getIndexName()
The Elasticsearch index name.
|
String |
getIndexRotationPeriod()
The Elasticsearch index rotation period.
|
ProcessingConfiguration |
getProcessingConfiguration()
The data processing configuration.
|
ElasticsearchRetryOptions |
getRetryOptions()
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES.
|
String |
getRoleARN()
The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API and for
indexing documents.
|
S3DestinationUpdate |
getS3Update()
The Amazon S3 destination.
|
String |
getTypeName()
The Elasticsearch type name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
void |
setDomainARN(String domainARN)
The ARN of the Amazon ES domain.
|
void |
setIndexName(String indexName)
The Elasticsearch index name.
|
void |
setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period.
|
void |
setIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period.
|
void |
setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
|
void |
setRetryOptions(ElasticsearchRetryOptions retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES.
|
void |
setRoleARN(String roleARN)
The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API and for
indexing documents.
|
void |
setS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
|
void |
setTypeName(String typeName)
The Elasticsearch type name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ElasticsearchDestinationUpdate |
withBufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options.
|
ElasticsearchDestinationUpdate |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
ElasticsearchDestinationUpdate |
withDomainARN(String domainARN)
The ARN of the Amazon ES domain.
|
ElasticsearchDestinationUpdate |
withIndexName(String indexName)
The Elasticsearch index name.
|
ElasticsearchDestinationUpdate |
withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period.
|
ElasticsearchDestinationUpdate |
withIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period.
|
ElasticsearchDestinationUpdate |
withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
|
ElasticsearchDestinationUpdate |
withRetryOptions(ElasticsearchRetryOptions retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES.
|
ElasticsearchDestinationUpdate |
withRoleARN(String roleARN)
The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API and for
indexing documents.
|
ElasticsearchDestinationUpdate |
withS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
|
ElasticsearchDestinationUpdate |
withTypeName(String typeName)
The Elasticsearch type name.
|
public void setRoleARN(String roleARN)
The ARN of the IAM role to be assumed by Kinesis 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 Kinesis Firehose for calling the Amazon ES Configuration API and
for indexing documents. For more information, see Amazon S3
Bucket Access.public String getRoleARN()
The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
public ElasticsearchDestinationUpdate withRoleARN(String roleARN)
The ARN of the IAM role to be assumed by Kinesis 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 Kinesis Firehose for calling the Amazon ES Configuration API and
for indexing documents. For more information, see Amazon S3
Bucket Access.public void setDomainARN(String domainARN)
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain
,
DescribeElasticsearchDomains
, and DescribeElasticsearchDomainConfig
after assuming the
IAM role specified in RoleARN.
domainARN
- The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeElasticsearchDomain
, DescribeElasticsearchDomains
, and
DescribeElasticsearchDomainConfig
after assuming the IAM role specified in RoleARN.public String getDomainARN()
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain
,
DescribeElasticsearchDomains
, and DescribeElasticsearchDomainConfig
after assuming the
IAM role specified in RoleARN.
DescribeElasticsearchDomain
, DescribeElasticsearchDomains
, and
DescribeElasticsearchDomainConfig
after assuming the IAM role specified in RoleARN.public ElasticsearchDestinationUpdate withDomainARN(String domainARN)
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain
,
DescribeElasticsearchDomains
, and DescribeElasticsearchDomainConfig
after assuming the
IAM role specified in RoleARN.
domainARN
- The ARN of the Amazon ES domain. The IAM role must have permissions for
DescribeElasticsearchDomain
, DescribeElasticsearchDomains
, and
DescribeElasticsearchDomainConfig
after assuming the IAM role specified in RoleARN.public void setIndexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.public String getIndexName()
The Elasticsearch index name.
public ElasticsearchDestinationUpdate withIndexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.public void setTypeName(String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.public String getTypeName()
The Elasticsearch type name.
public ElasticsearchDestinationUpdate withTypeName(String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.public void setIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a time stamp to 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 time stamp to 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 String getIndexRotationPeriod()
The Elasticsearch index rotation period. Index rotation appends a time stamp to 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(String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a time stamp to 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 time stamp to 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 time stamp to 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 time stamp to 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 time stamp to 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 time stamp to 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)
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
bufferingHints
- The buffering options. If no value is specified, ElasticsearchBufferingHints object default values
are used.public ElasticsearchBufferingHints getBufferingHints()
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
public ElasticsearchDestinationUpdate withBufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
bufferingHints
- The buffering options. If no value is specified, ElasticsearchBufferingHints object default values
are used.public void setRetryOptions(ElasticsearchRetryOptions retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value
is 300 (5 minutes).public ElasticsearchRetryOptions getRetryOptions()
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
public ElasticsearchDestinationUpdate withRetryOptions(ElasticsearchRetryOptions retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value
is 300 (5 minutes).public void setS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
s3Update
- The Amazon S3 destination.public S3DestinationUpdate getS3Update()
The Amazon S3 destination.
public ElasticsearchDestinationUpdate withS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
s3Update
- The Amazon S3 destination.public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.public ProcessingConfiguration getProcessingConfiguration()
The data processing configuration.
public ElasticsearchDestinationUpdate withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
public ElasticsearchDestinationUpdate withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public String toString()
toString
in class Object
Object.toString()
public ElasticsearchDestinationUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.