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 ElasticsearchDestinationDescription
clone()
boolean
equals(Object obj)
ElasticsearchBufferingHints
getBufferingHints()
Buffering options.CloudWatchLoggingOptions
getCloudWatchLoggingOptions()
CloudWatch logging options.String
getDomainARN()
The ARN of the Amazon ES domain.String
getIndexName()
The Elasticsearch index name.String
getIndexRotationPeriod()
The Elasticsearch index rotation periodElasticsearchRetryOptions
getRetryOptions()
Elasticsearch retry options.String
getRoleARN()
The ARN of the AWS credentials.String
getS3BackupMode()
Amazon S3 backup mode.S3DestinationDescription
getS3DestinationDescription()
String
getTypeName()
The Elasticsearch type name.int
hashCode()
void
setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.void
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.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 periodvoid
setIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation periodvoid
setRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.void
setRoleARN(String roleARN)
The ARN of the AWS credentials.void
setS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.void
setS3BackupMode(String s3BackupMode)
Amazon S3 backup mode.void
setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
void
setTypeName(String typeName)
The Elasticsearch type name.String
toString()
Returns a string representation of this object; useful for testing and debugging.ElasticsearchDestinationDescription
withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.ElasticsearchDestinationDescription
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.ElasticsearchDestinationDescription
withDomainARN(String domainARN)
The ARN of the Amazon ES domain.ElasticsearchDestinationDescription
withIndexName(String indexName)
The Elasticsearch index name.ElasticsearchDestinationDescription
withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation periodElasticsearchDestinationDescription
withIndexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation periodElasticsearchDestinationDescription
withRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.ElasticsearchDestinationDescription
withRoleARN(String roleARN)
The ARN of the AWS credentials.ElasticsearchDestinationDescription
withS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.ElasticsearchDestinationDescription
withS3BackupMode(String s3BackupMode)
Amazon S3 backup mode.ElasticsearchDestinationDescription
withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
ElasticsearchDestinationDescription
withTypeName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchDestinationDescription clone()
-
-