Package app.ductape.sdk.graph.types
Record Class GraphTypes.GraphConnectionOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.graph.types.GraphTypes.GraphConnectionOptions
- Enclosing class:
- GraphTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionTimeoutrecord component.Returns the value of theencryptedrecord 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 themaxPoolSizerecord component.Returns the value of thequeryTimeoutrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustedCertificatesrecord component.Returns the value of thetrustStrategyrecord component.
-
Constructor Details
-
GraphConnectionOptions
public GraphConnectionOptions(Integer connectionTimeout, Integer queryTimeout, Integer maxPoolSize, Boolean encrypted, String trustStrategy, List<String> trustedCertificates) Creates an instance of aGraphConnectionOptionsrecord class.- Parameters:
connectionTimeout- the value for theconnectionTimeoutrecord componentqueryTimeout- the value for thequeryTimeoutrecord componentmaxPoolSize- the value for themaxPoolSizerecord componentencrypted- the value for theencryptedrecord componenttrustStrategy- the value for thetrustStrategyrecord componenttrustedCertificates- the value for thetrustedCertificatesrecord 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). -
connectionTimeout
Returns the value of theconnectionTimeoutrecord component.- Returns:
- the value of the
connectionTimeoutrecord component
-
queryTimeout
Returns the value of thequeryTimeoutrecord component.- Returns:
- the value of the
queryTimeoutrecord component
-
maxPoolSize
Returns the value of themaxPoolSizerecord component.- Returns:
- the value of the
maxPoolSizerecord component
-
encrypted
Returns the value of theencryptedrecord component.- Returns:
- the value of the
encryptedrecord component
-
trustStrategy
Returns the value of thetrustStrategyrecord component.- Returns:
- the value of the
trustStrategyrecord component
-
trustedCertificates
Returns the value of thetrustedCertificatesrecord component.- Returns:
- the value of the
trustedCertificatesrecord component
-