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:
  • Constructor Details

    • ElasticsearchDestinationDescription

      public ElasticsearchDestinationDescription()
  • Method Details

    • 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:
    • getIndexRotationPeriod

      public String getIndexRotationPeriod()

      The Elasticsearch index rotation period

      Returns:
      The Elasticsearch index rotation period
      See Also:
    • 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:
    • setIndexRotationPeriod

      public void setIndexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)

      The Elasticsearch index rotation period

      Parameters:
      indexRotationPeriod - The Elasticsearch index rotation period
      See Also:
    • 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:
    • 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:
    • getS3BackupMode

      public String getS3BackupMode()

      Amazon S3 backup mode.

      Returns:
      Amazon S3 backup mode.
      See Also:
    • 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:
    • setS3BackupMode

      public void setS3BackupMode(ElasticsearchS3BackupMode s3BackupMode)

      Amazon S3 backup mode.

      Parameters:
      s3BackupMode - Amazon S3 backup mode.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object