Record Class AuditorViews.FullMetadata
java.lang.Object
java.lang.Record
zeroecho.pki.server.AuditorViews.FullMetadata
- Record Components:
redacted- common redacted metadatasafeMetadata- immutable additional non-PII metadata
- Enclosing class:
AuditorViews
public static record AuditorViews.FullMetadata(AuditorViews.Redacted redacted, Map<String,String> safeMetadata)
extends Record
Full non-PII metadata projection.
-
Constructor Summary
ConstructorsConstructorDescriptionFullMetadata(AuditorViews.Redacted redacted, Map<String, String> safeMetadata) Defensively snapshots safe metadata. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.redacted()Returns the value of theredactedrecord component.Returns the value of thesafeMetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FullMetadata
Defensively snapshots safe metadata.
-
-
Method Details
-
toString
-
hashCode
-
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). -
redacted
-
safeMetadata
Returns the value of thesafeMetadatarecord component.- Returns:
- the value of the
safeMetadatarecord component
-