Record Class Integration.Proxy
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Integration.Proxy
- Enclosing class:
Integration
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.user()Returns the value of theuserrecord component.withPassword(String password) withType(Proxy.Type type)
-
Constructor Details
-
Proxy
Creates an instance of aProxyrecord class.- Parameters:
type- the value for thetyperecord componenthost- the value for thehostrecord componentport- the value for theportrecord componentuser- the value for theuserrecord componentpassword- the value for thepasswordrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withType
- 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).
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord 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
-
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
-