Record Class Config.Proxy.Redis
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Config.Proxy.Redis
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Config.Proxy
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.host()Returns the value of thehostrecord component.password()Returns the value of thepasswordrecord component.port()Returns the value of theportrecord component.ssl()Returns the value of thesslrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.withEnable(Boolean enable) withPassword(String password)
-
Constructor Details
-
Redis
Creates an instance of aRedisrecord class.- Parameters:
enable- the value for theenablerecord componenthost- the value for thehostrecord componentport- the value for theportrecord componentssl- the value for thesslrecord componentuser- the value for theuserrecord componentpassword- the value for thepasswordrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHost
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPort
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSsl
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUser
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPassword
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
enable
Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
host
Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
port
Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
ssl
Returns the value of thesslrecord component.- Returns:
- the value of the
sslrecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-