@Generated(value="software.amazon.awssdk:codegen") public class S3DestinationConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<S3DestinationConfiguration.Builder,S3DestinationConfiguration>
Describes the configuration of a destination in Amazon S3.
Modifier and Type | Class and Description |
---|---|
static interface |
S3DestinationConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketARN()
The ARN of the S3 bucket.
|
BufferingHints |
bufferingHints()
The buffering option.
|
static S3DestinationConfiguration.Builder |
builder() |
CloudWatchLoggingOptions |
cloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
CompressionFormat |
compressionFormat()
The compression format.
|
String |
compressionFormatString()
The compression format.
|
EncryptionConfiguration |
encryptionConfiguration()
The encryption configuration.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
prefix()
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files.
|
String |
roleARN()
The ARN of the AWS credentials.
|
static Class<? extends S3DestinationConfiguration.Builder> |
serializableBuilderClass() |
S3DestinationConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String roleARN()
The ARN of the AWS credentials.
public String bucketARN()
The ARN of the S3 bucket.
public 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.
public BufferingHints bufferingHints()
The buffering option. If no value is specified, BufferingHints object default values are used.
public 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.
If the service returns an enum value that is not available in the current SDK version, compressionFormat
will return CompressionFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from compressionFormatString()
.
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 compressionFormatString()
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.
If the service returns an enum value that is not available in the current SDK version, compressionFormat
will return CompressionFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from compressionFormatString()
.
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 EncryptionConfiguration encryptionConfiguration()
The encryption configuration. If no value is specified, the default is no encryption.
public CloudWatchLoggingOptions cloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
public S3DestinationConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3DestinationConfiguration.Builder,S3DestinationConfiguration>
public static S3DestinationConfiguration.Builder builder()
public static Class<? extends S3DestinationConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.