Package com.io7m.idstore.user_client.api
Record Class IdUClientConnectionParameters
java.lang.Object
java.lang.Record
com.io7m.idstore.user_client.api.IdUClientConnectionParameters
- Record Components:
userName- The usernamepassword- The passwordbaseURI- The base URIattributes- The attributesloginTimeout- The login timeoutcommandTimeout- The command timeout
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBConnectionParametersType
public record IdUClientConnectionParameters(String userName, String password, URI baseURI, Map<String,String> attributes, Duration loginTimeout, Duration commandTimeout)
extends Record
implements com.io7m.hibiscus.api.HBConnectionParametersType
The client credentials.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributesrecord component.baseURI()Returns the value of thebaseURIrecord component.Returns the value of thecommandTimeoutrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theloginTimeoutrecord component.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
IdUClientConnectionParameters
public IdUClientConnectionParameters(String userName, String password, URI baseURI, Map<String, String> attributes, Duration loginTimeout, Duration commandTimeout) The client credentials.- Parameters:
userName- The usernamepassword- The passwordbaseURI- The base URIattributes- The attributesloginTimeout- The login timeoutcommandTimeout- The command timeout
-
-
Method Details
-
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). -
userName
-
password
-
baseURI
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
loginTimeout
Returns the value of theloginTimeoutrecord component.- Returns:
- the value of the
loginTimeoutrecord component
-
commandTimeout
Returns the value of thecommandTimeoutrecord component.- Returns:
- the value of the
commandTimeoutrecord component
-