@Generated(value="software.amazon.awssdk:codegen") public final class S3DestinationConfiguration extends Object implements SdkPojo, Serializable, 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 |
compressionFormatAsString()
The compression format.
|
EncryptionConfiguration |
encryptionConfiguration()
The encryption configuration.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files.
|
String |
roleARN()
The Amazon Resource Name (ARN) of the AWS credentials.
|
List<SdkField<?>> |
sdkFields() |
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 Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
public String bucketARN()
The ARN of the S3 bucket. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
public String prefix()
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon 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 Data Firehose Developer Guide.
public BufferingHints bufferingHints()
The buffering option. If no value is specified, BufferingHints
object default values are used.
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 compressionFormatAsString()
.
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 compressionFormatAsString()
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 compressionFormatAsString()
.
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.