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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3DestinationUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3DestinationUpdateclone()booleanequals(Object obj)StringgetBucketARN()The ARN of the S3 bucket.BufferingHintsgetBufferingHints()The buffering option.CloudWatchLoggingOptionsgetCloudWatchLoggingOptions()Describes CloudWatch logging options for your delivery stream.StringgetCompressionFormat()The compression format.EncryptionConfigurationgetEncryptionConfiguration()The encryption configuration.StringgetPrefix()The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.StringgetRoleARN()The ARN of the AWS credentials.inthashCode()voidsetBucketARN(String bucketARN)The ARN of the S3 bucket.voidsetBufferingHints(BufferingHints bufferingHints)The buffering option.voidsetCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)Describes CloudWatch logging options for your delivery stream.voidsetCompressionFormat(CompressionFormat compressionFormat)The compression format.voidsetCompressionFormat(String compressionFormat)The compression format.voidsetEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)The encryption configuration.voidsetPrefix(String prefix)The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.voidsetRoleARN(String roleARN)The ARN of the AWS credentials.StringtoString()Returns a string representation of this object; useful for testing and debugging.S3DestinationUpdatewithBucketARN(String bucketARN)The ARN of the S3 bucket.S3DestinationUpdatewithBufferingHints(BufferingHints bufferingHints)The buffering option.S3DestinationUpdatewithCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)Describes CloudWatch logging options for your delivery stream.S3DestinationUpdatewithCompressionFormat(CompressionFormat compressionFormat)The compression format.S3DestinationUpdatewithCompressionFormat(String compressionFormat)The compression format.S3DestinationUpdatewithEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)The encryption configuration.S3DestinationUpdatewithPrefix(String prefix)The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.S3DestinationUpdatewithRoleARN(String roleARN)The ARN of the AWS credentials.
-
-
-
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 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
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Parameters:
compressionFormat- The compression format. If no value is specified, the default isNOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- See Also:
CompressionFormat
-
getCompressionFormat
public String getCompressionFormat()
The compression format. If no value is specified, the default is
NOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Returns:
- The compression format. If no value is specified, the default is
NOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket. - See Also:
CompressionFormat
-
withCompressionFormat
public S3DestinationUpdate withCompressionFormat(String compressionFormat)
The compression format. If no value is specified, the default is
NOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Parameters:
compressionFormat- The compression format. If no value is specified, the default isNOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CompressionFormat
-
setCompressionFormat
public void setCompressionFormat(CompressionFormat compressionFormat)
The compression format. If no value is specified, the default is
NOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Parameters:
compressionFormat- The compression format. If no value is specified, the default isNOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- See Also:
CompressionFormat
-
withCompressionFormat
public S3DestinationUpdate withCompressionFormat(CompressionFormat compressionFormat)
The compression format. If no value is specified, the default is
NOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Parameters:
compressionFormat- The compression format. If no value is specified, the default isNOCOMPRESSION.The compression formats
SNAPPYorZIPcannot be specified for Amazon Redshift destinations because they are not supported by the Amazon RedshiftCOPYoperation that reads from the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CompressionFormat
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public S3DestinationUpdate clone()
-
-