Record Class VaultKeyLocation
java.lang.Object
java.lang.Record
ch.admin.bit.jeap.crypto.vault.keymanagement.VaultKeyLocation
-
Constructor Summary
ConstructorsConstructorDescriptionVaultKeyLocation(String secretEnginePath, String keyName) Creates an instance of aVaultKeyLocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ch.admin.bit.jeap.crypto.api.KeyReferenceasKeyReference(String secretEnginePath, String keyName) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.keyName()Returns the value of thekeyNamerecord component.Returns the value of thesecretEnginePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VaultKeyLocation
Creates an instance of aVaultKeyLocationrecord class.- Parameters:
secretEnginePath- the value for thesecretEnginePathrecord componentkeyName- the value for thekeyNamerecord component
-
-
Method Details
-
asKeyReference
-
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). -
secretEnginePath
Returns the value of thesecretEnginePathrecord component.- Returns:
- the value of the
secretEnginePathrecord component
-
keyName
Returns the value of thekeyNamerecord component.- Returns:
- the value of the
keyNamerecord component
-