@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Record extends Object implements Serializable, Cloneable, StructuredPojo
An occurrence of sensitive data in an Apache Avro object container or an Apache Parquet file.
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
Record |
clone() |
boolean |
equals(Object obj) |
String |
getJsonPath()
The path, as a JSONPath expression, to the field in the record that contains the data.
|
Long |
getRecordIndex()
The record index, starting from 0, for the record that contains the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJsonPath(String jsonPath)
The path, as a JSONPath expression, to the field in the record that contains the data.
|
void |
setRecordIndex(Long recordIndex)
The record index, starting from 0, for the record that contains the data.
|
String |
toString()
Returns a string representation of this object.
|
Record |
withJsonPath(String jsonPath)
The path, as a JSONPath expression, to the field in the record that contains the data.
|
Record |
withRecordIndex(Long recordIndex)
The record index, starting from 0, for the record that contains the data.
|
public void setJsonPath(String jsonPath)
The path, as a JSONPath expression, to the field in the record that contains the data. If the field name is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.
jsonPath
- The path, as a JSONPath expression, to the field in the record that contains the data. If the field name
is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.public String getJsonPath()
The path, as a JSONPath expression, to the field in the record that contains the data. If the field name is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.
public Record withJsonPath(String jsonPath)
The path, as a JSONPath expression, to the field in the record that contains the data. If the field name is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.
jsonPath
- The path, as a JSONPath expression, to the field in the record that contains the data. If the field name
is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.public void setRecordIndex(Long recordIndex)
The record index, starting from 0, for the record that contains the data.
recordIndex
- The record index, starting from 0, for the record that contains the data.public Long getRecordIndex()
The record index, starting from 0, for the record that contains the data.
public Record withRecordIndex(Long recordIndex)
The record index, starting from 0, for the record that contains the data.
recordIndex
- The record index, starting from 0, for the record 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.