public static interface S3Settings.Builder extends CopyableBuilder<S3Settings.Builder,S3Settings>
Modifier and Type | Method and Description |
---|---|
S3Settings.Builder |
bucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket.
|
S3Settings.Builder |
bucketName(String bucketName)
The name of the S3 bucket.
|
S3Settings.Builder |
compressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings.Builder |
compressionType(String compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings.Builder |
csvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the source files.
|
S3Settings.Builder |
csvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the source files.
|
S3Settings.Builder |
externalTableDefinition(String externalTableDefinition) |
S3Settings.Builder |
serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
copy
apply, build
S3Settings.Builder serviceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
serviceAccessRoleArn
- The Amazon Resource Name (ARN) used by the service access IAM role.S3Settings.Builder externalTableDefinition(String externalTableDefinition)
externalTableDefinition
- S3Settings.Builder csvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the source files. The default is a carriage return (\n).
csvRowDelimiter
- The delimiter used to separate rows in the source files. The default is a carriage return (\n).S3Settings.Builder csvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the source files. The default is a comma.
csvDelimiter
- The delimiter used to separate columns in the source files. The default is a comma.S3Settings.Builder bucketFolder(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>/.
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>/.S3Settings.Builder bucketName(String bucketName)
The name of the S3 bucket.
bucketName
- The name of the S3 bucket.S3Settings.Builder compressionType(String 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.
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.CompressionTypeValue
,
CompressionTypeValue
S3Settings.Builder compressionType(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.
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.CompressionTypeValue
,
CompressionTypeValue
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.