@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DestinationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of a destination in Amazon S3.
Constructor and Description |
---|
S3DestinationConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3DestinationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketARN()
The ARN of the S3 bucket.
|
BufferingHints |
getBufferingHints()
The buffering option.
|
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
String |
getCompressionFormat()
The compression format.
|
EncryptionConfiguration |
getEncryptionConfiguration()
The encryption configuration.
|
String |
getPrefix()
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.
|
String |
getRoleARN()
The ARN of the AWS credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketARN(String bucketARN)
The ARN of the S3 bucket.
|
void |
setBufferingHints(BufferingHints bufferingHints)
The buffering option.
|
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
void |
setCompressionFormat(CompressionFormat compressionFormat)
The compression format.
|
void |
setCompressionFormat(String compressionFormat)
The compression format.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration.
|
void |
setPrefix(String prefix)
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.
|
void |
setRoleARN(String roleARN)
The ARN of the AWS credentials.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3DestinationConfiguration |
withBucketARN(String bucketARN)
The ARN of the S3 bucket.
|
S3DestinationConfiguration |
withBufferingHints(BufferingHints bufferingHints)
The buffering option.
|
S3DestinationConfiguration |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
S3DestinationConfiguration |
withCompressionFormat(CompressionFormat compressionFormat)
The compression format.
|
S3DestinationConfiguration |
withCompressionFormat(String compressionFormat)
The compression format.
|
S3DestinationConfiguration |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration.
|
S3DestinationConfiguration |
withPrefix(String prefix)
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.
|
S3DestinationConfiguration |
withRoleARN(String roleARN)
The ARN of the AWS credentials.
|
public void setRoleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public String getRoleARN()
The ARN of the AWS credentials.
public S3DestinationConfiguration withRoleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public void setBucketARN(String bucketARN)
The ARN of the S3 bucket.
bucketARN
- The ARN of the S3 bucket.public String getBucketARN()
The ARN of the S3 bucket.
public S3DestinationConfiguration withBucketARN(String bucketARN)
The ARN of the S3 bucket.
bucketARN
- The ARN of the S3 bucket.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. 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. 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 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. 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(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. 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. 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(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 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(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)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
public S3DestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public String toString()
toString
in class Object
Object.toString()
public S3DestinationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.