Class Record
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.Record
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Record.Builder,Record>
@Generated("software.amazon.awssdk:codegen") public final class Record extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Record.Builder,Record>
An occurrence of sensitive data in an Apache Avro object container or an Apache Parquet file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Record.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjsonPath()The path, as a JSONPath expression, to the field in the record that contains the data.LongrecordIndex()The record index, starting from 0, for the record that contains the data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Record.Builder>serializableBuilderClass()Record.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jsonPath
public final 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.
- Returns:
- 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.
-
recordIndex
public final Long recordIndex()
The record index, starting from 0, for the record that contains the data.
- Returns:
- The record index, starting from 0, for the record that contains the data.
-
toBuilder
public Record.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Record.Builder,Record>
-
builder
public static Record.Builder builder()
-
serializableBuilderClass
public static Class<? extends Record.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-