@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
@BeanProperty(value="writerPath") public String getWriterPath()
@BeanProperty(value="writerPath") public void setWriterPath(String writerPath)
writerPath
- The writerPathpublic S3WriterConfiguration withWriterPath(String writerPath)
@BeanProperty(value="writerFilePrefix") public String getWriterFilePrefix()
@BeanProperty(value="writerFilePrefix") public void setWriterFilePrefix(String writerFilePrefix)
writerFilePrefix
- The writerFilePrefixpublic S3WriterConfiguration withWriterFilePrefix(String writerFilePrefix)
@BeanProperty(value="maxFileSize") public Long getMaxFileSize()
@BeanProperty(value="maxFileSize") public void setMaxFileSize(Long maxFileSize)
maxFileSize
- The maxFileSizepublic S3WriterConfiguration withMaxFileSize(Long maxFileSize)
@BeanProperty(value="chunk") public Boolean getChunk()
@BeanProperty(value="chunk") public void setChunk(Boolean chunk)
chunk
- The chunkpublic S3WriterConfiguration withChunk(Boolean chunk)
@BeanProperty(value="compression") public S3WriterConfiguration.Compression getCompression()
@BeanProperty(value="compression") public void setCompression(S3WriterConfiguration.Compression compression)
compression
- The compressionpublic S3WriterConfiguration withCompression(S3WriterConfiguration.Compression compression)
public String toString()
toString
in class S3Configuration
@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class S3Configuration
@BeanProperty(name="*") 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 © 2018 The Apache Software Foundation. All rights reserved.