Class S3DestinationUpdate

java.lang.Object
com.amazonaws.services.kinesisfirehose.model.S3DestinationUpdate
All Implemented Interfaces:
Serializable, Cloneable

public class S3DestinationUpdate extends Object implements Serializable, Cloneable

Describes an update for a destination in Amazon S3.

See Also:
  • Constructor Details

    • S3DestinationUpdate

      public S3DestinationUpdate()
  • 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 S3DestinationUpdate 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.
    • setBucketARN

      public void setBucketARN(String bucketARN)

      The ARN of the S3 bucket.

      Parameters:
      bucketARN - The ARN of the S3 bucket.
    • getBucketARN

      public String getBucketARN()

      The ARN of the S3 bucket.

      Returns:
      The ARN of the S3 bucket.
    • withBucketARN

      public S3DestinationUpdate withBucketARN(String bucketARN)

      The ARN of the S3 bucket.

      Parameters:
      bucketARN - The ARN of the S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPrefix

      public void setPrefix(String prefix)

      The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.

      Parameters:
      prefix - The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.
    • getPrefix

      public String getPrefix()

      The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.

      Returns:
      The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.
    • withPrefix

      public S3DestinationUpdate withPrefix(String prefix)

      The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.

      Parameters:
      prefix - The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. Note that if the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setBufferingHints

      public void setBufferingHints(BufferingHints bufferingHints)

      The buffering option. If no value is specified, BufferingHints object default values are used.

      Parameters:
      bufferingHints - The buffering option. If no value is specified, BufferingHints object default values are used.
    • getBufferingHints

      public BufferingHints getBufferingHints()

      The buffering option. If no value is specified, BufferingHints object default values are used.

      Returns:
      The buffering option. If no value is specified, BufferingHints object default values are used.
    • withBufferingHints

      public S3DestinationUpdate withBufferingHints(BufferingHints bufferingHints)

      The buffering option. If no value is specified, BufferingHints object default values are used.

      Parameters:
      bufferingHints - The buffering option. If no value is specified, BufferingHints object default values are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCompressionFormat

      public void setCompressionFormat(String compressionFormat)

      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Parameters:
      compressionFormat - The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      See Also:
    • getCompressionFormat

      public String getCompressionFormat()

      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Returns:
      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      See Also:
    • withCompressionFormat

      public S3DestinationUpdate withCompressionFormat(String compressionFormat)

      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Parameters:
      compressionFormat - The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setCompressionFormat

      public void setCompressionFormat(CompressionFormat compressionFormat)

      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Parameters:
      compressionFormat - The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      See Also:
    • withCompressionFormat

      public S3DestinationUpdate withCompressionFormat(CompressionFormat compressionFormat)

      The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Parameters:
      compressionFormat - The compression format. If no value is specified, the default is NOCOMPRESSION.

      The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setEncryptionConfiguration

      public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      The encryption configuration. If no value is specified, the default is no encryption.

      Parameters:
      encryptionConfiguration - The encryption configuration. If no value is specified, the default is no encryption.
    • getEncryptionConfiguration

      public EncryptionConfiguration getEncryptionConfiguration()

      The encryption configuration. If no value is specified, the default is no encryption.

      Returns:
      The encryption configuration. If no value is specified, the default is no encryption.
    • withEncryptionConfiguration

      public S3DestinationUpdate withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      The encryption configuration. If no value is specified, the default is no encryption.

      Parameters:
      encryptionConfiguration - The encryption configuration. If no value is specified, the default is no encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCloudWatchLoggingOptions

      public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)

      Describes CloudWatch logging options for your delivery stream.

      Parameters:
      cloudWatchLoggingOptions - Describes CloudWatch logging options for your delivery stream.
    • getCloudWatchLoggingOptions

      public CloudWatchLoggingOptions getCloudWatchLoggingOptions()

      Describes CloudWatch logging options for your delivery stream.

      Returns:
      Describes CloudWatch logging options for your delivery stream.
    • withCloudWatchLoggingOptions

      public S3DestinationUpdate withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)

      Describes CloudWatch logging options for your delivery stream.

      Parameters:
      cloudWatchLoggingOptions - Describes CloudWatch logging options for your delivery stream.
      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

      public S3DestinationUpdate clone()
      Overrides:
      clone in class Object