Package org.apache.nifi.security.util
Record Class TemporaryKeyStoreBuilder.KeyStoreConfiguration
java.lang.Object
java.lang.Record
org.apache.nifi.security.util.TemporaryKeyStoreBuilder.KeyStoreConfiguration
- Enclosing class:
TemporaryKeyStoreBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateKeyStoreConfiguration(String location, String password, String keyStoreType) Creates an instance of aKeyStoreConfigurationrecord class. -
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.Returns the value of thekeyStoreTyperecord component.location()Returns the value of thelocationrecord component.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
location
The field for thelocationrecord component. -
password
The field for thepasswordrecord component. -
keyStoreType
The field for thekeyStoreTyperecord component.
-
-
Constructor Details
-
KeyStoreConfiguration
Creates an instance of aKeyStoreConfigurationrecord class.- Parameters:
location- the value for thelocationrecord componentpassword- the value for thepasswordrecord componentkeyStoreType- the value for thekeyStoreTyperecord component
-
-
Method Details
-
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). -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
keyStoreType
Returns the value of thekeyStoreTyperecord component.- Returns:
- the value of the
keyStoreTyperecord component
-