@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
S3Settings() |
Modifier and Type | Method and Description |
---|---|
S3Settings |
clone() |
boolean |
equals(Object obj) |
String |
getBucketFolder()
An optional parameter to set a folder name in the S3 bucket.
|
String |
getBucketName()
The name of the S3 bucket.
|
String |
getCompressionType()
An optional parameter to use GZIP to compress the target files.
|
String |
getCsvDelimiter()
The delimiter used to separate columns in the source files.
|
String |
getCsvRowDelimiter()
The delimiter used to separate rows in the source files.
|
String |
getExternalTableDefinition() |
String |
getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket.
|
void |
setBucketName(String bucketName)
The name of the S3 bucket.
|
void |
setCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files.
|
void |
setCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files.
|
void |
setCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the source files.
|
void |
setCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the source files.
|
void |
setExternalTableDefinition(String externalTableDefinition) |
void |
setServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Settings |
withBucketFolder(String bucketFolder)
An optional parameter to set a folder name in the S3 bucket.
|
S3Settings |
withBucketName(String bucketName)
The name of the S3 bucket.
|
S3Settings |
withCompressionType(CompressionTypeValue compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings |
withCompressionType(String compressionType)
An optional parameter to use GZIP to compress the target files.
|
S3Settings |
withCsvDelimiter(String csvDelimiter)
The delimiter used to separate columns in the source files.
|
S3Settings |
withCsvRowDelimiter(String csvRowDelimiter)
The delimiter used to separate rows in the source files.
|
S3Settings |
withExternalTableDefinition(String externalTableDefinition) |
S3Settings |
withServiceAccessRoleArn(String serviceAccessRoleArn)
The Amazon Resource Name (ARN) used by the service access IAM role.
|
public void setServiceAccessRoleArn(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.public String getServiceAccessRoleArn()
The Amazon Resource Name (ARN) used by the service access IAM role.
public S3Settings withServiceAccessRoleArn(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.public void setExternalTableDefinition(String externalTableDefinition)
externalTableDefinition
- public String getExternalTableDefinition()
public S3Settings withExternalTableDefinition(String externalTableDefinition)
externalTableDefinition
- public void setCsvRowDelimiter(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).public String getCsvRowDelimiter()
The delimiter used to separate rows in the source files. The default is a carriage return (\n).
public S3Settings withCsvRowDelimiter(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).public void setCsvDelimiter(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.public String getCsvDelimiter()
The delimiter used to separate columns in the source files. The default is a comma.
public S3Settings withCsvDelimiter(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.public void setBucketFolder(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>/.public String getBucketFolder()
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 S3Settings withBucketFolder(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>/.public void setBucketName(String bucketName)
The name of the S3 bucket.
bucketName
- The name of the S3 bucket.public String getBucketName()
The name of the S3 bucket.
public S3Settings withBucketName(String bucketName)
The name of the S3 bucket.
bucketName
- The name of the S3 bucket.public void setCompressionType(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
public String getCompressionType()
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
public S3Settings withCompressionType(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
public void setCompressionType(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
public S3Settings withCompressionType(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
public String toString()
toString
in class Object
Object.toString()
public S3Settings 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.