Record Class JksSslStoreDetails
java.lang.Object
java.lang.Record
org.springframework.boot.ssl.jks.JksSslStoreDetails
- Record Components:
type- the key store type, for exampleJKSorPKCS11. Anullvalue will useKeyStore.getDefaultType()).provider- the name of the key store providerlocation- the location of the key store file ornullif using aPKCS11hardware storepassword- the password used to unlock the store ornull
-
Constructor Summary
ConstructorsConstructorDescriptionJksSslStoreDetails(@Nullable String type, @Nullable String provider, @Nullable String location, @Nullable String password) Creates an instance of aJksSslStoreDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static JksSslStoreDetailsforLocation(@Nullable String location) Factory method to create a newJksSslStoreDetailsinstance for the given location.final inthashCode()Returns a hash code value for this object.@Nullable Stringlocation()Returns the value of thelocationrecord component.@Nullable Stringpassword()Returns the value of thepasswordrecord component.@Nullable Stringprovider()Returns the value of theproviderrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringtype()Returns the value of thetyperecord component.withPassword(String password) Return a newJksSslStoreDetailsinstance with a new password.
-
Constructor Details
-
JksSslStoreDetails
-
-
Method Details
-
withPassword
Return a newJksSslStoreDetailsinstance with a new password.- Parameters:
password- the new password- Returns:
- a new
JksSslStoreDetailsinstance
-
forLocation
Factory method to create a newJksSslStoreDetailsinstance for the given location.- Parameters:
location- the location- Returns:
- a new
JksSslStoreDetailsinstance.
-
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). -
type
-
provider
-
location
-
password
-