public class S3DestinationConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the configuration of a destination in Amazon S3.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucketARN
The ARN of the S3 bucket.
|
private BufferingHints |
bufferingHints
The buffering option.
|
private CloudWatchLoggingOptions |
cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
|
private java.lang.String |
compressionFormat
The compression format.
|
private EncryptionConfiguration |
encryptionConfiguration
The encryption configuration.
|
private java.lang.String |
prefix
The "YYYY/MM/DD/HH" time format prefix is automatically used for
delivered S3 files.
|
private java.lang.String |
roleARN
The ARN of the AWS credentials.
|
Constructor and Description |
---|
S3DestinationConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DestinationConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBucketARN()
The ARN of the S3 bucket.
|
BufferingHints |
getBufferingHints()
The buffering option.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
|
java.lang.String |
getCompressionFormat()
The compression format.
|
EncryptionConfiguration |
getEncryptionConfiguration()
The encryption configuration.
|
java.lang.String |
getPrefix()
The "YYYY/MM/DD/HH" time format prefix is automatically used for
delivered S3 files.
|
java.lang.String |
getRoleARN()
The ARN of the AWS credentials.
|
int |
hashCode() |
void |
setBucketARN(java.lang.String bucketARN)
The ARN of the S3 bucket.
|
void |
setBufferingHints(BufferingHints bufferingHints)
The buffering option.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
void |
setCompressionFormat(CompressionFormat compressionFormat)
The compression format.
|
void |
setCompressionFormat(java.lang.String compressionFormat)
The compression format.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration.
|
void |
setPrefix(java.lang.String prefix)
The "YYYY/MM/DD/HH" time format prefix is automatically used for
delivered S3 files.
|
void |
setRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3DestinationConfiguration |
withBucketARN(java.lang.String bucketARN)
The ARN of the S3 bucket.
|
S3DestinationConfiguration |
withBufferingHints(BufferingHints bufferingHints)
The buffering option.
|
S3DestinationConfiguration |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
S3DestinationConfiguration |
withCompressionFormat(CompressionFormat compressionFormat)
The compression format.
|
S3DestinationConfiguration |
withCompressionFormat(java.lang.String compressionFormat)
The compression format.
|
S3DestinationConfiguration |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration.
|
S3DestinationConfiguration |
withPrefix(java.lang.String prefix)
The "YYYY/MM/DD/HH" time format prefix is automatically used for
delivered S3 files.
|
S3DestinationConfiguration |
withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
private java.lang.String roleARN
The ARN of the AWS credentials.
private java.lang.String bucketARN
The ARN of the S3 bucket.
private java.lang.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.
private BufferingHints bufferingHints
The buffering option. If no value is specified, BufferingHints object default values are used.
private java.lang.String compressionFormat
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
private EncryptionConfiguration encryptionConfiguration
The encryption configuration. If no value is specified, the default is no encryption.
private CloudWatchLoggingOptions cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
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 S3DestinationConfiguration withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public void setBucketARN(java.lang.String bucketARN)
The ARN of the S3 bucket.
bucketARN
- The ARN of the S3 bucket.public java.lang.String getBucketARN()
The ARN of the S3 bucket.
public S3DestinationConfiguration withBucketARN(java.lang.String bucketARN)
The ARN of the S3 bucket.
bucketARN
- The ARN of the S3 bucket.public void setPrefix(java.lang.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.
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.public java.lang.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.
public S3DestinationConfiguration withPrefix(java.lang.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.
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.public void setBufferingHints(BufferingHints bufferingHints)
The buffering option. If no value is specified, BufferingHints object default values are used.
bufferingHints
- The buffering option. If no value is specified,
BufferingHints object default values are used.public BufferingHints getBufferingHints()
The buffering option. If no value is specified, BufferingHints object default values are used.
public S3DestinationConfiguration withBufferingHints(BufferingHints bufferingHints)
The buffering option. If no value is specified, BufferingHints object default values are used.
bufferingHints
- The buffering option. If no value is specified,
BufferingHints object default values are used.public void setCompressionFormat(java.lang.String compressionFormat)
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
CompressionFormat
public java.lang.String getCompressionFormat()
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
UNCOMPRESSED
.
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.
CompressionFormat
public S3DestinationConfiguration withCompressionFormat(java.lang.String compressionFormat)
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
CompressionFormat
public void setCompressionFormat(CompressionFormat compressionFormat)
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
CompressionFormat
public S3DestinationConfiguration withCompressionFormat(CompressionFormat compressionFormat)
The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is
UNCOMPRESSED
.
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.
CompressionFormat
public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration. If no value is specified, the default is no encryption.
encryptionConfiguration
- The encryption configuration. If no value is specified, the
default is no encryption.public EncryptionConfiguration getEncryptionConfiguration()
The encryption configuration. If no value is specified, the default is no encryption.
public S3DestinationConfiguration withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration. If no value is specified, the default is no encryption.
encryptionConfiguration
- The encryption configuration. If no value is specified, the
default is no encryption.public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
public S3DestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.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 S3DestinationConfiguration clone()
clone
in class java.lang.Object