Package energy.eddie.aiida.config
Record Class MqttConfiguration
java.lang.Object
java.lang.Record
energy.eddie.aiida.config.MqttConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.crypto.bcrypt.BCryptPasswordEncoderReturns the value of thebCryptSaltRoundsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalHostrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinternalHostrecord component.password()Returns the value of thepasswordrecord component.Returns the value of thetlsCertificatePathrecord component.final StringtoString()Returns a string representation of this record class.username()
-
Constructor Details
-
MqttConfiguration
public MqttConfiguration(String internalHost, String externalHost, Integer bCryptSaltRounds, String password, String tlsCertificatePath) Creates an instance of aMqttConfigurationrecord class.- Parameters:
internalHost- the value for theinternalHostrecord componentexternalHost- the value for theexternalHostrecord componentbCryptSaltRounds- the value for thebCryptSaltRoundsrecord componentpassword- the value for thepasswordrecord componenttlsCertificatePath- the value for thetlsCertificatePathrecord component
-
-
Method Details
-
bCryptPasswordEncoder
@Bean public org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder bCryptPasswordEncoder() -
username
-
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). -
internalHost
Returns the value of theinternalHostrecord component.- Returns:
- the value of the
internalHostrecord component
-
externalHost
Returns the value of theexternalHostrecord component.- Returns:
- the value of the
externalHostrecord component
-
bCryptSaltRounds
Returns the value of thebCryptSaltRoundsrecord component.- Returns:
- the value of the
bCryptSaltRoundsrecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
tlsCertificatePath
Returns the value of thetlsCertificatePathrecord component.- Returns:
- the value of the
tlsCertificatePathrecord component
-