Record Class Config.Proxy
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Config.Proxy
- Enclosing class:
Config
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Config.Proxy.ProxyBuilderbuilder()Returns the value of thebungeecordrecord component.clusters()Returns the value of theclustersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.redis()Returns the value of theredisrecord component.final StringtoString()Returns a string representation of this record class.velocity()Returns the value of thevelocityrecord component.withBungeecord(Boolean bungeecord) withClusters(Set<String> clusters) withRedis(Config.Proxy.Redis redis) withVelocity(Boolean velocity)
-
Constructor Details
-
Proxy
Creates an instance of aProxyrecord class.- Parameters:
clusters- the value for theclustersrecord componentbungeecord- the value for thebungeecordrecord componentvelocity- the value for thevelocityrecord componentredis- the value for theredisrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withClusters
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBungeecord
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withVelocity
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRedis
- 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). -
clusters
-
bungeecord
Returns the value of thebungeecordrecord component.- Returns:
- the value of the
bungeecordrecord component
-
velocity
Returns the value of thevelocityrecord component.- Returns:
- the value of the
velocityrecord component
-
redis
Returns the value of theredisrecord component.- Returns:
- the value of the
redisrecord component
-