@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TsvStoreOptions extends Object implements Serializable, Cloneable, StructuredPojo
File settings for a TSV store.
Constructor and Description |
---|
TsvStoreOptions() |
Modifier and Type | Method and Description |
---|---|
TsvStoreOptions |
addFormatToHeaderEntry(String key,
String value)
Add a single FormatToHeader entry
|
TsvStoreOptions |
clearFormatToHeaderEntries()
Removes all the entries added into FormatToHeader.
|
TsvStoreOptions |
clone() |
boolean |
equals(Object obj) |
String |
getAnnotationType()
The store's annotation type.
|
Map<String,String> |
getFormatToHeader()
The store's header key to column name mapping.
|
List<Map<String,String>> |
getSchema()
The store's schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnnotationType(String annotationType)
The store's annotation type.
|
void |
setFormatToHeader(Map<String,String> formatToHeader)
The store's header key to column name mapping.
|
void |
setSchema(Collection<Map<String,String>> schema)
The store's schema.
|
String |
toString()
Returns a string representation of this object.
|
TsvStoreOptions |
withAnnotationType(AnnotationType annotationType)
The store's annotation type.
|
TsvStoreOptions |
withAnnotationType(String annotationType)
The store's annotation type.
|
TsvStoreOptions |
withFormatToHeader(Map<String,String> formatToHeader)
The store's header key to column name mapping.
|
TsvStoreOptions |
withSchema(Collection<Map<String,String>> schema)
The store's schema.
|
TsvStoreOptions |
withSchema(Map<String,String>... schema)
The store's schema.
|
public void setAnnotationType(String annotationType)
The store's annotation type.
annotationType
- The store's annotation type.AnnotationType
public String getAnnotationType()
The store's annotation type.
AnnotationType
public TsvStoreOptions withAnnotationType(String annotationType)
The store's annotation type.
annotationType
- The store's annotation type.AnnotationType
public TsvStoreOptions withAnnotationType(AnnotationType annotationType)
The store's annotation type.
annotationType
- The store's annotation type.AnnotationType
public Map<String,String> getFormatToHeader()
The store's header key to column name mapping.
public void setFormatToHeader(Map<String,String> formatToHeader)
The store's header key to column name mapping.
formatToHeader
- The store's header key to column name mapping.public TsvStoreOptions withFormatToHeader(Map<String,String> formatToHeader)
The store's header key to column name mapping.
formatToHeader
- The store's header key to column name mapping.public TsvStoreOptions addFormatToHeaderEntry(String key, String value)
public TsvStoreOptions clearFormatToHeaderEntries()
public List<Map<String,String>> getSchema()
The store's schema.
public void setSchema(Collection<Map<String,String>> schema)
The store's schema.
schema
- The store's schema.public TsvStoreOptions withSchema(Map<String,String>... schema)
The store's schema.
NOTE: This method appends the values to the existing list (if any). Use
setSchema(java.util.Collection)
or withSchema(java.util.Collection)
if you want to override the
existing values.
schema
- The store's schema.public TsvStoreOptions withSchema(Collection<Map<String,String>> schema)
The store's schema.
schema
- The store's schema.public String toString()
toString
in class Object
Object.toString()
public TsvStoreOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.