@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TsvVersionOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options for a TSV file.
Constructor and Description |
---|
TsvVersionOptions() |
Modifier and Type | Method and Description |
---|---|
TsvVersionOptions |
addFormatToHeaderEntry(String key,
String value)
Add a single FormatToHeader entry
|
TsvVersionOptions |
clearFormatToHeaderEntries()
Removes all the entries added into FormatToHeader.
|
TsvVersionOptions |
clone() |
boolean |
equals(Object obj) |
String |
getAnnotationType()
The store version's annotation type.
|
Map<String,String> |
getFormatToHeader()
The annotation store version's header key to column name mapping.
|
List<Map<String,String>> |
getSchema()
The TSV schema for an annotation store version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnnotationType(String annotationType)
The store version's annotation type.
|
void |
setFormatToHeader(Map<String,String> formatToHeader)
The annotation store version's header key to column name mapping.
|
void |
setSchema(Collection<Map<String,String>> schema)
The TSV schema for an annotation store version.
|
String |
toString()
Returns a string representation of this object.
|
TsvVersionOptions |
withAnnotationType(AnnotationType annotationType)
The store version's annotation type.
|
TsvVersionOptions |
withAnnotationType(String annotationType)
The store version's annotation type.
|
TsvVersionOptions |
withFormatToHeader(Map<String,String> formatToHeader)
The annotation store version's header key to column name mapping.
|
TsvVersionOptions |
withSchema(Collection<Map<String,String>> schema)
The TSV schema for an annotation store version.
|
TsvVersionOptions |
withSchema(Map<String,String>... schema)
The TSV schema for an annotation store version.
|
public void setAnnotationType(String annotationType)
The store version's annotation type.
annotationType
- The store version's annotation type.AnnotationType
public String getAnnotationType()
The store version's annotation type.
AnnotationType
public TsvVersionOptions withAnnotationType(String annotationType)
The store version's annotation type.
annotationType
- The store version's annotation type.AnnotationType
public TsvVersionOptions withAnnotationType(AnnotationType annotationType)
The store version's annotation type.
annotationType
- The store version's annotation type.AnnotationType
public Map<String,String> getFormatToHeader()
The annotation store version's header key to column name mapping.
public void setFormatToHeader(Map<String,String> formatToHeader)
The annotation store version's header key to column name mapping.
formatToHeader
- The annotation store version's header key to column name mapping.public TsvVersionOptions withFormatToHeader(Map<String,String> formatToHeader)
The annotation store version's header key to column name mapping.
formatToHeader
- The annotation store version's header key to column name mapping.public TsvVersionOptions addFormatToHeaderEntry(String key, String value)
public TsvVersionOptions clearFormatToHeaderEntries()
public List<Map<String,String>> getSchema()
The TSV schema for an annotation store version.
public void setSchema(Collection<Map<String,String>> schema)
The TSV schema for an annotation store version.
schema
- The TSV schema for an annotation store version.public TsvVersionOptions withSchema(Map<String,String>... schema)
The TSV schema for an annotation store version.
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 TSV schema for an annotation store version.public TsvVersionOptions withSchema(Collection<Map<String,String>> schema)
The TSV schema for an annotation store version.
schema
- The TSV schema for an annotation store version.public String toString()
toString
in class Object
Object.toString()
public TsvVersionOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.