Record Class VaultConnectionConfig.VaultAppRole
java.lang.Object
java.lang.Record
de.otto.kafka.messaging.e2ee.vault.VaultConnectionConfig.VaultAppRole
- Enclosing class:
- VaultConnectionConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVaultAppRole(String path, String roleid, String secretid) Creates an instance of aVaultAppRolerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.roleid()Returns the value of theroleidrecord component.secretid()Returns the value of thesecretidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VaultAppRole
Creates an instance of aVaultAppRolerecord class.- Parameters:
path- the value for thepathrecord componentroleid- the value for theroleidrecord componentsecretid- the value for thesecretidrecord component
-
-
Method Details
-
builder
-
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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
roleid
Returns the value of theroleidrecord component.- Returns:
- the value of the
roleidrecord component
-
secretid
Returns the value of thesecretidrecord component.- Returns:
- the value of the
secretidrecord component
-