@Generated(value="org.jsonschema2pojo") public class S3WriterConfiguration extends S3Configuration implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
S3WriterConfiguration.Compression |
S3Configuration.Protocol
Constructor and Description |
---|
S3WriterConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getChunk()
Whether you want the file chunked inside of a folder or not
|
S3WriterConfiguration.Compression |
getCompression()
compression
|
Long |
getMaxFileSize()
If files are elected to be 'chunked' which they are by default, this is the maximum size of that file before the byte array stream is vacated and the file is created.
|
String |
getWriterFilePrefix()
File Prefix
|
String |
getWriterPath()
Path
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setChunk(Boolean chunk)
Whether you want the file chunked inside of a folder or not
|
void |
setCompression(S3WriterConfiguration.Compression compression)
compression
|
void |
setMaxFileSize(Long maxFileSize)
If files are elected to be 'chunked' which they are by default, this is the maximum size of that file before the byte array stream is vacated and the file is created.
|
void |
setWriterFilePrefix(String writerFilePrefix)
File Prefix
|
void |
setWriterPath(String writerPath)
Path
|
String |
toString() |
S3WriterConfiguration |
withAdditionalProperty(String name,
Object value) |
S3WriterConfiguration |
withChunk(Boolean chunk) |
S3WriterConfiguration |
withCompression(S3WriterConfiguration.Compression compression) |
S3WriterConfiguration |
withMaxFileSize(Long maxFileSize) |
S3WriterConfiguration |
withWriterFilePrefix(String writerFilePrefix) |
S3WriterConfiguration |
withWriterPath(String writerPath) |
getBucket, getKey, getProtocol, getRegion, getSecretKey, setBucket, setKey, setProtocol, setRegion, setSecretKey, withBucket, withKey, withProtocol, withRegion, withSecretKey
getEncoding, getFieldDelimiter, getFields, getLineDelimiter, setEncoding, setFieldDelimiter, setFields, setLineDelimiter, withEncoding, withFieldDelimiter, withFields, withLineDelimiter
public String getWriterPath()
public void setWriterPath(String writerPath)
writerPath
- The writerPathpublic S3WriterConfiguration withWriterPath(String writerPath)
public String getWriterFilePrefix()
public void setWriterFilePrefix(String writerFilePrefix)
writerFilePrefix
- The writerFilePrefixpublic S3WriterConfiguration withWriterFilePrefix(String writerFilePrefix)
public Long getMaxFileSize()
public void setMaxFileSize(Long maxFileSize)
maxFileSize
- The maxFileSizepublic S3WriterConfiguration withMaxFileSize(Long maxFileSize)
public Boolean getChunk()
public void setChunk(Boolean chunk)
chunk
- The chunkpublic S3WriterConfiguration withChunk(Boolean chunk)
public S3WriterConfiguration.Compression getCompression()
public void setCompression(S3WriterConfiguration.Compression compression)
compression
- The compressionpublic S3WriterConfiguration withCompression(S3WriterConfiguration.Compression compression)
public String toString()
toString
in class S3Configuration
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class S3Configuration
public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class S3Configuration
public S3WriterConfiguration withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class S3Configuration
public int hashCode()
hashCode
in class S3Configuration
public boolean equals(Object other)
equals
in class S3Configuration
Copyright © 2017 The Apache Software Foundation. All rights reserved.