@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExcelOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options that define how DataBrew will interpret a Microsoft Excel file, when creating a dataset from that file.
| Constructor and Description |
|---|
ExcelOptions() |
| Modifier and Type | Method and Description |
|---|---|
ExcelOptions |
clone() |
boolean |
equals(Object obj) |
List<Integer> |
getSheetIndexes()
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
|
List<String> |
getSheetNames()
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSheetIndexes(Collection<Integer> sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
|
void |
setSheetNames(Collection<String> sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
|
String |
toString()
Returns a string representation of this object.
|
ExcelOptions |
withSheetIndexes(Collection<Integer> sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
|
ExcelOptions |
withSheetIndexes(Integer... sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
|
ExcelOptions |
withSheetNames(Collection<String> sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
|
ExcelOptions |
withSheetNames(String... sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
|
public List<String> getSheetNames()
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
public void setSheetNames(Collection<String> sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
sheetNames - Specifies one or more named sheets in the Excel file, which will be included in the dataset.public ExcelOptions withSheetNames(String... sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
NOTE: This method appends the values to the existing list (if any). Use
setSheetNames(java.util.Collection) or withSheetNames(java.util.Collection) if you want to
override the existing values.
sheetNames - Specifies one or more named sheets in the Excel file, which will be included in the dataset.public ExcelOptions withSheetNames(Collection<String> sheetNames)
Specifies one or more named sheets in the Excel file, which will be included in the dataset.
sheetNames - Specifies one or more named sheets in the Excel file, which will be included in the dataset.public List<Integer> getSheetIndexes()
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
public void setSheetIndexes(Collection<Integer> sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
sheetIndexes - Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.public ExcelOptions withSheetIndexes(Integer... sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
NOTE: This method appends the values to the existing list (if any). Use
setSheetIndexes(java.util.Collection) or withSheetIndexes(java.util.Collection) if you want to
override the existing values.
sheetIndexes - Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.public ExcelOptions withSheetIndexes(Collection<Integer> sheetIndexes)
Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
sheetIndexes - Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.public String toString()
toString in class ObjectObject.toString()public ExcelOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.