Package co.cryptoservice.sdk
Record Class DoraInventoryItem
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.DoraInventoryItem
- Record Components:
fipsCompliance- what the package implements (name kept for clients)packageName- the packagestatus- the statusversion- the package version, or unknown
public record DoraInventoryItem(String fipsCompliance, String packageName, String status, String version)
extends Record
One element of
cryptographicInventory.-
Constructor Summary
ConstructorsConstructorDescriptionDoraInventoryItem(String fipsCompliance, String packageName, String status, String version) Creates an instance of aDoraInventoryItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefipsCompliancerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepackageNamerecord component.status()Returns the value of thestatusrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.version()Returns the value of theversionrecord component.
-
Constructor Details
-
DoraInventoryItem
Creates an instance of aDoraInventoryItemrecord class.- Parameters:
fipsCompliance- the value for thefipsCompliancerecord componentpackageName- the value for thepackageNamerecord componentstatus- the value for thestatusrecord componentversion- the value for theversionrecord component
-
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
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). -
fipsCompliance
Returns the value of thefipsCompliancerecord component.- Returns:
- the value of the
fipsCompliancerecord component
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-