public class ElasticsearchDestinationDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The destination description in Amazon ES.
Modifier and Type | Field and Description |
---|---|
private ElasticsearchBufferingHints |
bufferingHints
Buffering options.
|
private CloudWatchLoggingOptions |
cloudWatchLoggingOptions
CloudWatch logging options.
|
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
Elasticsearch retry options.
|
private java.lang.String |
roleARN
The ARN of the AWS credentials.
|
private java.lang.String |
s3BackupMode
Amazon S3 backup mode.
|
private S3DestinationDescription |
s3DestinationDescription |
private java.lang.String |
typeName
The Elasticsearch type name.
|
Constructor and Description |
---|
ElasticsearchDestinationDescription() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchDestinationDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
ElasticsearchBufferingHints |
getBufferingHints()
Buffering options.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
CloudWatch logging options.
|
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()
Elasticsearch retry options.
|
java.lang.String |
getRoleARN()
The ARN of the AWS credentials.
|
java.lang.String |
getS3BackupMode()
Amazon S3 backup mode.
|
S3DestinationDescription |
getS3DestinationDescription() |
java.lang.String |
getTypeName()
The Elasticsearch type name.
|
int |
hashCode() |
void |
setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
|
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)
Elasticsearch retry options.
|
void |
setRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
void |
setS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
|
void |
setS3BackupMode(java.lang.String s3BackupMode)
Amazon S3 backup mode.
|
void |
setS3DestinationDescription(S3DestinationDescription s3DestinationDescription) |
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.
|
ElasticsearchDestinationDescription |
withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
|
ElasticsearchDestinationDescription |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
|
ElasticsearchDestinationDescription |
withDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain.
|
ElasticsearchDestinationDescription |
withIndexName(java.lang.String indexName)
The Elasticsearch index name.
|
ElasticsearchDestinationDescription |
withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
|
ElasticsearchDestinationDescription |
withIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period
|
ElasticsearchDestinationDescription |
withRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.
|
ElasticsearchDestinationDescription |
withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
ElasticsearchDestinationDescription |
withS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
|
ElasticsearchDestinationDescription |
withS3BackupMode(java.lang.String s3BackupMode)
Amazon S3 backup mode.
|
ElasticsearchDestinationDescription |
withS3DestinationDescription(S3DestinationDescription s3DestinationDescription) |
ElasticsearchDestinationDescription |
withTypeName(java.lang.String typeName)
The Elasticsearch type name.
|
private java.lang.String roleARN
The ARN of the AWS credentials.
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 typeName
The Elasticsearch type name.
private java.lang.String indexRotationPeriod
The Elasticsearch index rotation period
private ElasticsearchBufferingHints bufferingHints
Buffering options.
private ElasticsearchRetryOptions retryOptions
Elasticsearch retry options.
private java.lang.String s3BackupMode
Amazon S3 backup mode.
private S3DestinationDescription s3DestinationDescription
private CloudWatchLoggingOptions cloudWatchLoggingOptions
CloudWatch logging options.
public void setRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public java.lang.String getRoleARN()
The ARN of the AWS credentials.
public ElasticsearchDestinationDescription withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public void setDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain.
domainARN
- The ARN of the Amazon ES domain.public java.lang.String getDomainARN()
The ARN of the Amazon ES domain.
public ElasticsearchDestinationDescription withDomainARN(java.lang.String domainARN)
The ARN of the Amazon ES domain.
domainARN
- The ARN of the Amazon ES domain.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 ElasticsearchDestinationDescription 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 ElasticsearchDestinationDescription 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
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
public java.lang.String getIndexRotationPeriod()
The Elasticsearch index rotation period
ElasticsearchIndexRotationPeriod
public ElasticsearchDestinationDescription withIndexRotationPeriod(java.lang.String indexRotationPeriod)
The Elasticsearch index rotation period
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
public void setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
public ElasticsearchDestinationDescription withIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
public void setBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
bufferingHints
- Buffering options.public ElasticsearchBufferingHints getBufferingHints()
Buffering options.
public ElasticsearchDestinationDescription withBufferingHints(ElasticsearchBufferingHints bufferingHints)
Buffering options.
bufferingHints
- Buffering options.public void setRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.
retryOptions
- Elasticsearch retry options.public ElasticsearchRetryOptions getRetryOptions()
Elasticsearch retry options.
public ElasticsearchDestinationDescription withRetryOptions(ElasticsearchRetryOptions retryOptions)
Elasticsearch retry options.
retryOptions
- Elasticsearch retry options.public void setS3BackupMode(java.lang.String s3BackupMode)
Amazon S3 backup mode.
s3BackupMode
- Amazon S3 backup mode.ElasticsearchS3BackupMode
public java.lang.String getS3BackupMode()
Amazon S3 backup mode.
ElasticsearchS3BackupMode
public ElasticsearchDestinationDescription withS3BackupMode(java.lang.String s3BackupMode)
Amazon S3 backup mode.
s3BackupMode
- Amazon S3 backup mode.ElasticsearchS3BackupMode
public void setS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
s3BackupMode
- Amazon S3 backup mode.ElasticsearchS3BackupMode
public ElasticsearchDestinationDescription withS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Amazon S3 backup mode.
s3BackupMode
- Amazon S3 backup mode.ElasticsearchS3BackupMode
public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
s3DestinationDescription
- public S3DestinationDescription getS3DestinationDescription()
public ElasticsearchDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
s3DestinationDescription
- public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
cloudWatchLoggingOptions
- CloudWatch logging options.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
CloudWatch logging options.
public ElasticsearchDestinationDescription withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
CloudWatch logging options.
cloudWatchLoggingOptions
- CloudWatch logging options.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 ElasticsearchDestinationDescription clone()
clone
in class java.lang.Object