Package app.ductape.sdk.database.types
Record Class ConnectionTypes.AdapterConnectionOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.ConnectionTypes.AdapterConnectionOptions
- Enclosing class:
- ConnectionTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationNamerecord component.Returns the value of theconnectionTimeoutrecord component.Returns the value of theconnectionUrlrecord 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 theidleTimeoutrecord component.poolSize()Returns the value of thepoolSizerecord component.ssl()Returns the value of thesslrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterConnectionOptions
public AdapterConnectionOptions(String connectionUrl, Integer poolSize, Integer connectionTimeout, Integer idleTimeout, Object ssl, String applicationName) Creates an instance of aAdapterConnectionOptionsrecord class.- Parameters:
connectionUrl- the value for theconnectionUrlrecord componentpoolSize- the value for thepoolSizerecord componentconnectionTimeout- the value for theconnectionTimeoutrecord componentidleTimeout- the value for theidleTimeoutrecord componentssl- the value for thesslrecord componentapplicationName- the value for theapplicationNamerecord component
-
-
Method Details
-
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). -
connectionUrl
Returns the value of theconnectionUrlrecord component.- Returns:
- the value of the
connectionUrlrecord component
-
poolSize
Returns the value of thepoolSizerecord component.- Returns:
- the value of the
poolSizerecord component
-
connectionTimeout
Returns the value of theconnectionTimeoutrecord component.- Returns:
- the value of the
connectionTimeoutrecord component
-
idleTimeout
Returns the value of theidleTimeoutrecord component.- Returns:
- the value of the
idleTimeoutrecord component
-
ssl
Returns the value of thesslrecord component.- Returns:
- the value of the
sslrecord component
-
applicationName
Returns the value of theapplicationNamerecord component.- Returns:
- the value of the
applicationNamerecord component
-