Record Class AuditorViews.Pii
java.lang.Object
java.lang.Record
zeroecho.pki.server.AuditorViews.Pii
- Record Components:
metadata- authorized full metadatasubject- optional full subject namesubjectAlternativeNames- full subject-alternative names
- Enclosing class:
AuditorViews
-
Constructor Summary
Constructors -
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.metadata()Returns the value of themetadatarecord component.subject()Returns the value of thesubjectrecord component.Returns the value of thesubjectAlternativeNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pii
public Pii(AuditorViews.FullMetadata metadata, Optional<String> subject, List<String> subjectAlternativeNames) Defensively snapshots PII data.
-
-
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). -
metadata
-
subject
-
subjectAlternativeNames
Returns the value of thesubjectAlternativeNamesrecord component.- Returns:
- the value of the
subjectAlternativeNamesrecord component
-