Class ElasticsearchDestinationDescription
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.ElasticsearchDestinationDescription
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ElasticsearchDestinationDescription extends Object implements Serializable, Cloneable
The destination description in Amazon ES.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchDestinationDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchDestinationDescriptionclone()booleanequals(Object obj)ElasticsearchBufferingHintsgetBufferingHints()Buffering options.CloudWatchLoggingOptionsgetCloudWatchLoggingOptions()CloudWatch logging options.StringgetDomainARN()The ARN of the Amazon ES domain.StringgetIndexName()The Elasticsearch index name.StringgetIndexRotationPeriod()The Elasticsearch index rotation periodElasticsearchRetryOptionsgetRetryOptions()Elasticsearch retry options.StringgetRoleARN()The ARN of the AWS credentials.StringgetS3BackupMode()Amazon S3 backup mode.S3DestinationDescriptiongetS3DestinationDescription()StringgetTypeName()The Elasticsearch type name.inthashCode()voidsetBufferingHints(ElasticsearchBufferingHints bufferingHints)Buffering options.voidsetCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)CloudWatch logging options.voidsetDomainARN(String domainARN)The ARN of the Amazon ES domain.voidsetIndexName(String indexName)The Elasticsearch index name.voidsetIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)The Elasticsearch index rotation periodvoidsetIndexRotationPeriod(String indexRotationPeriod)The Elasticsearch index rotation periodvoidsetRetryOptions(ElasticsearchRetryOptions retryOptions)Elasticsearch retry options.voidsetRoleARN(String roleARN)The ARN of the AWS credentials.voidsetS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)Amazon S3 backup mode.voidsetS3BackupMode(String s3BackupMode)Amazon S3 backup mode.voidsetS3DestinationDescription(S3DestinationDescription s3DestinationDescription)voidsetTypeName(String typeName)The Elasticsearch type name.StringtoString()Returns a string representation of this object; useful for testing and debugging.ElasticsearchDestinationDescriptionwithBufferingHints(ElasticsearchBufferingHints bufferingHints)Buffering options.ElasticsearchDestinationDescriptionwithCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)CloudWatch logging options.ElasticsearchDestinationDescriptionwithDomainARN(String domainARN)The ARN of the Amazon ES domain.ElasticsearchDestinationDescriptionwithIndexName(String indexName)The Elasticsearch index name.ElasticsearchDestinationDescriptionwithIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)The Elasticsearch index rotation periodElasticsearchDestinationDescriptionwithIndexRotationPeriod(String indexRotationPeriod)The Elasticsearch index rotation periodElasticsearchDestinationDescriptionwithRetryOptions(ElasticsearchRetryOptions retryOptions)Elasticsearch retry options.ElasticsearchDestinationDescriptionwithRoleARN(String roleARN)The ARN of the AWS credentials.ElasticsearchDestinationDescriptionwithS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)Amazon S3 backup mode.ElasticsearchDestinationDescriptionwithS3BackupMode(String s3BackupMode)Amazon S3 backup mode.ElasticsearchDestinationDescriptionwithS3DestinationDescription(S3DestinationDescription s3DestinationDescription)ElasticsearchDestinationDescriptionwithTypeName(String typeName)The Elasticsearch type name.
-
-
-
Method Detail
-
setRoleARN
public void setRoleARN(String roleARN)
The ARN of the AWS credentials.
- Parameters:
roleARN- The ARN of the AWS credentials.
-
getRoleARN
public String getRoleARN()
The ARN of the AWS credentials.
- Returns:
- The ARN of the AWS credentials.
-
withRoleARN
public ElasticsearchDestinationDescription withRoleARN(String roleARN)
The ARN of the AWS credentials.
- Parameters:
roleARN- The ARN of the AWS credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomainARN
public void setDomainARN(String domainARN)
The ARN of the Amazon ES domain.
- Parameters:
domainARN- The ARN of the Amazon ES domain.
-
getDomainARN
public String getDomainARN()
The ARN of the Amazon ES domain.
- Returns:
- The ARN of the Amazon ES domain.
-
withDomainARN
public ElasticsearchDestinationDescription withDomainARN(String domainARN)
The ARN of the Amazon ES domain.
- Parameters:
domainARN- The ARN of the Amazon ES domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIndexName
public void setIndexName(String indexName)
The Elasticsearch index name.
- Parameters:
indexName- The Elasticsearch index name.
-
getIndexName
public String getIndexName()
The Elasticsearch index name.
- Returns:
- The Elasticsearch index name.
-
withIndexName
public ElasticsearchDestinationDescription withIndexName(String indexName)
The Elasticsearch index name.
- Parameters:
indexName- The Elasticsearch index name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTypeName
public void setTypeName(String typeName)
The Elasticsearch type name.
- Parameters:
typeName- The Elasticsearch type name.
-
getTypeName
public String getTypeName()
The Elasticsearch type name.
- Returns:
- The Elasticsearch type name.
-
withTypeName
public ElasticsearchDestinationDescription withTypeName(String typeName)
The Elasticsearch type name.
- Parameters:
typeName- The Elasticsearch type name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIndexRotationPeriod
public void setIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod- The Elasticsearch index rotation period- See Also:
ElasticsearchIndexRotationPeriod
-
getIndexRotationPeriod
public String getIndexRotationPeriod()
The Elasticsearch index rotation period
- Returns:
- The Elasticsearch index rotation period
- See Also:
ElasticsearchIndexRotationPeriod
-
withIndexRotationPeriod
public ElasticsearchDestinationDescription withIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod- The Elasticsearch index rotation period- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchIndexRotationPeriod
-
setIndexRotationPeriod
public void setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod- The Elasticsearch index rotation period- See Also:
ElasticsearchIndexRotationPeriod
-
withIndexRotationPeriod
public ElasticsearchDestinationDescription withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod- The Elasticsearch index rotation period- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchIndexRotationPeriod
-
setBufferingHints
public void setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
- Parameters:
bufferingHints- Buffering options.
-
getBufferingHints
public ElasticsearchBufferingHints getBufferingHints()
Buffering options.
- Returns:
- Buffering options.
-
withBufferingHints
public ElasticsearchDestinationDescription withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
- Parameters:
bufferingHints- Buffering options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetryOptions
public void setRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.
- Parameters:
retryOptions- Elasticsearch retry options.
-
getRetryOptions
public ElasticsearchRetryOptions getRetryOptions()
Elasticsearch retry options.
- Returns:
- Elasticsearch retry options.
-
withRetryOptions
public ElasticsearchDestinationDescription withRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.
- Parameters:
retryOptions- Elasticsearch retry options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3BackupMode
public void setS3BackupMode(String s3BackupMode)
Amazon S3 backup mode.
- Parameters:
s3BackupMode- Amazon S3 backup mode.- See Also:
ElasticsearchS3BackupMode
-
getS3BackupMode
public String getS3BackupMode()
Amazon S3 backup mode.
- Returns:
- Amazon S3 backup mode.
- See Also:
ElasticsearchS3BackupMode
-
withS3BackupMode
public ElasticsearchDestinationDescription withS3BackupMode(String s3BackupMode)
Amazon S3 backup mode.
- Parameters:
s3BackupMode- Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchS3BackupMode
-
setS3BackupMode
public void setS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
- Parameters:
s3BackupMode- Amazon S3 backup mode.- See Also:
ElasticsearchS3BackupMode
-
withS3BackupMode
public ElasticsearchDestinationDescription withS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
- Parameters:
s3BackupMode- Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchS3BackupMode
-
setS3DestinationDescription
public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
- Parameters:
s3DestinationDescription-
-
getS3DestinationDescription
public S3DestinationDescription getS3DestinationDescription()
- Returns:
-
withS3DestinationDescription
public ElasticsearchDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
- Parameters:
s3DestinationDescription-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudWatchLoggingOptions
public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
- Parameters:
cloudWatchLoggingOptions- CloudWatch logging options.
-
getCloudWatchLoggingOptions
public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
CloudWatch logging options.
- Returns:
- CloudWatch logging options.
-
withCloudWatchLoggingOptions
public ElasticsearchDestinationDescription withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
- Parameters:
cloudWatchLoggingOptions- CloudWatch logging options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchDestinationDescription clone()
-
-