@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cell extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.
Constructor and Description |
---|
Cell() |
Modifier and Type | Method and Description |
---|---|
Cell |
clone() |
boolean |
equals(Object obj) |
String |
getCellReference()
The location of the cell, as an absolute cell reference, that contains the data.
|
Long |
getColumn()
The column number of the column that contains the data.
|
String |
getColumnName()
The name of the column that contains the data, if available.
|
Long |
getRow()
The row number of the row that contains the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCellReference(String cellReference)
The location of the cell, as an absolute cell reference, that contains the data.
|
void |
setColumn(Long column)
The column number of the column that contains the data.
|
void |
setColumnName(String columnName)
The name of the column that contains the data, if available.
|
void |
setRow(Long row)
The row number of the row that contains the data.
|
String |
toString()
Returns a string representation of this object.
|
Cell |
withCellReference(String cellReference)
The location of the cell, as an absolute cell reference, that contains the data.
|
Cell |
withColumn(Long column)
The column number of the column that contains the data.
|
Cell |
withColumnName(String columnName)
The name of the column that contains the data, if available.
|
Cell |
withRow(Long row)
The row number of the row that contains the data.
|
public void setCellReference(String cellReference)
The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
cellReference
- The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5
for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.public String getCellReference()
The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
public Cell withCellReference(String cellReference)
The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
cellReference
- The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5
for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.public void setColumn(Long column)
The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.
column
- The column number of the column that contains the data. For a Microsoft Excel workbook, this value
correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for
column B, and so on.public Long getColumn()
The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.
public Cell withColumn(Long column)
The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.
column
- The column number of the column that contains the data. For a Microsoft Excel workbook, this value
correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for
column B, and so on.public void setColumnName(String columnName)
The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.
columnName
- The name of the column that contains the data, if available. This value is also null if Amazon Macie
detects sensitive data in the name of any column in the file.public String getColumnName()
The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.
public Cell withColumnName(String columnName)
The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.
columnName
- The name of the column that contains the data, if available. This value is also null if Amazon Macie
detects sensitive data in the name of any column in the file.public void setRow(Long row)
The row number of the row that contains the data.
row
- The row number of the row that contains the data.public Long getRow()
The row number of the row that contains the data.
public Cell withRow(Long row)
The row number of the row that contains the data.
row
- The row number of the row that contains the data.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.