@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCsvClassifierRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a custom CSV classifier to be updated.
Constructor and Description |
---|
UpdateCsvClassifierRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCsvClassifierRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowSingleColumn()
Enables the processing of files that contain only one column.
|
String |
getContainsHeader()
Indicates whether the CSV file contains a header.
|
String |
getDelimiter()
A custom symbol to denote what separates each column entry in the row.
|
Boolean |
getDisableValueTrimming()
Specifies not to trim values before identifying the type of column values.
|
List<String> |
getHeader()
A list of strings representing column names.
|
String |
getName()
The name of the classifier.
|
String |
getQuoteSymbol()
A custom symbol to denote what combines content into a single column value.
|
int |
hashCode() |
Boolean |
isAllowSingleColumn()
Enables the processing of files that contain only one column.
|
Boolean |
isDisableValueTrimming()
Specifies not to trim values before identifying the type of column values.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
void |
setContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
void |
setDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
void |
setDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
void |
setHeader(Collection<String> header)
A list of strings representing column names.
|
void |
setName(String name)
The name of the classifier.
|
void |
setQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCsvClassifierRequest |
withAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
UpdateCsvClassifierRequest |
withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
|
UpdateCsvClassifierRequest |
withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
UpdateCsvClassifierRequest |
withDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
UpdateCsvClassifierRequest |
withDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
UpdateCsvClassifierRequest |
withHeader(Collection<String> header)
A list of strings representing column names.
|
UpdateCsvClassifierRequest |
withHeader(String... header)
A list of strings representing column names.
|
UpdateCsvClassifierRequest |
withName(String name)
The name of the classifier.
|
UpdateCsvClassifierRequest |
withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
public void setName(String name)
The name of the classifier.
name
- The name of the classifier.public String getName()
The name of the classifier.
public UpdateCsvClassifierRequest withName(String name)
The name of the classifier.
name
- The name of the classifier.public void setDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
delimiter
- A custom symbol to denote what separates each column entry in the row.public String getDelimiter()
A custom symbol to denote what separates each column entry in the row.
public UpdateCsvClassifierRequest withDelimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
delimiter
- A custom symbol to denote what separates each column entry in the row.public void setQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
quoteSymbol
- A custom symbol to denote what combines content into a single column value. It must be different from the
column delimiter.public String getQuoteSymbol()
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
public UpdateCsvClassifierRequest withQuoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
quoteSymbol
- A custom symbol to denote what combines content into a single column value. It must be different from the
column delimiter.public void setContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader
- Indicates whether the CSV file contains a header.CsvHeaderOption
public String getContainsHeader()
Indicates whether the CSV file contains a header.
CsvHeaderOption
public UpdateCsvClassifierRequest withContainsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader
- Indicates whether the CSV file contains a header.CsvHeaderOption
public UpdateCsvClassifierRequest withContainsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
containsHeader
- Indicates whether the CSV file contains a header.CsvHeaderOption
public List<String> getHeader()
A list of strings representing column names.
public void setHeader(Collection<String> header)
A list of strings representing column names.
header
- A list of strings representing column names.public UpdateCsvClassifierRequest withHeader(String... header)
A list of strings representing column names.
NOTE: This method appends the values to the existing list (if any). Use
setHeader(java.util.Collection)
or withHeader(java.util.Collection)
if you want to override the
existing values.
header
- A list of strings representing column names.public UpdateCsvClassifierRequest withHeader(Collection<String> header)
A list of strings representing column names.
header
- A list of strings representing column names.public void setDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values. The default value is true.
disableValueTrimming
- Specifies not to trim values before identifying the type of column values. The default value is true.public Boolean getDisableValueTrimming()
Specifies not to trim values before identifying the type of column values. The default value is true.
public UpdateCsvClassifierRequest withDisableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values. The default value is true.
disableValueTrimming
- Specifies not to trim values before identifying the type of column values. The default value is true.public Boolean isDisableValueTrimming()
Specifies not to trim values before identifying the type of column values. The default value is true.
public void setAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
allowSingleColumn
- Enables the processing of files that contain only one column.public Boolean getAllowSingleColumn()
Enables the processing of files that contain only one column.
public UpdateCsvClassifierRequest withAllowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
allowSingleColumn
- Enables the processing of files that contain only one column.public Boolean isAllowSingleColumn()
Enables the processing of files that contain only one column.
public String toString()
toString
in class Object
Object.toString()
public UpdateCsvClassifierRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.