Record Class PreparedExportDocument
java.lang.Object
java.lang.Record
ai.attackframework.tools.burp.utils.export.PreparedExportDocument
- Record Components:
indexName- full target index nameindexKey- short index key (for exampletraffic)exportId- stable sink-shared document IDdocument- filtered document body withdocument_meta.export_idpopulated
public record PreparedExportDocument(String indexName, String indexKey, String exportId, Map<String,Object> document)
extends Record
Prepared export document shared across sinks.
Instances contain the filtered document body, the target index naming context, and the stable export ID reused across OpenSearch and file sinks for the same emitted event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondocument()Returns the value of thedocumentrecord component.final booleanIndicates whether some other object is "equal to" this one.exportId()Returns the value of theexportIdrecord component.final inthashCode()Returns a hash code value for this object.indexKey()Returns the value of theindexKeyrecord component.Returns the value of theindexNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
indexName
Returns the value of theindexNamerecord component.- Returns:
- the value of the
indexNamerecord component
-
indexKey
Returns the value of theindexKeyrecord component.- Returns:
- the value of the
indexKeyrecord component
-
exportId
Returns the value of theexportIdrecord component.- Returns:
- the value of the
exportIdrecord component
-
document
Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-