@Generated(value="software.amazon.awssdk:codegen") public class S3Settings extends Object implements StructuredPojo, ToCopyableBuilder<S3Settings.Builder,S3Settings>
Modifier and Type | Class and Description |
---|---|
static interface |
S3Settings.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketFolder()
An optional parameter to set a folder name in the S3 bucket.
|
String |
bucketName()
The name of the S3 bucket.
|
static S3Settings.Builder |
builder() |
CompressionTypeValue |
compressionType()
An optional parameter to use GZIP to compress the target files.
|
String |
compressionTypeAsString()
An optional parameter to use GZIP to compress the target files.
|
String |
csvDelimiter()
The delimiter used to separate columns in the source files.
|
String |
csvRowDelimiter()
The delimiter used to separate rows in the source files.
|
boolean |
equals(Object obj) |
String |
externalTableDefinition() |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends S3Settings.Builder> |
serializableBuilderClass() |
String |
serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
|
S3Settings.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 serviceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
public String externalTableDefinition()
public String csvRowDelimiter()
The delimiter used to separate rows in the source files. The default is a carriage return (\n).
public String csvDelimiter()
The delimiter used to separate columns in the source files. The default is a comma.
public String bucketFolder()
An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path <bucketFolder>/<schema_name>/<table_name>/. If this parameter is not specified, then the path used is <schema_name>/<table_name>/.
public String bucketName()
The name of the S3 bucket.
public CompressionTypeValue compressionType()
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionTypeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from compressionTypeAsString()
.
CompressionTypeValue
public String compressionTypeAsString()
An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionTypeValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from compressionTypeAsString()
.
CompressionTypeValue
public S3Settings.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Settings.Builder,S3Settings>
public static S3Settings.Builder builder()
public static Class<? extends S3Settings.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.