Package app.ductape.sdk.graph.types
Record Class GraphTypes.GraphEnvConfig
java.lang.Object
java.lang.Record
app.ductape.sdk.graph.types.GraphTypes.GraphEnvConfig
- Enclosing class:
- GraphTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionUrlrecord component.database()Returns the value of thedatabaserecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegraphNamerecord component.final inthashCode()Returns a hash code value for this object.password()Returns the value of thepasswordrecord component.region()Returns the value of theregionrecord component.slug()Returns the value of theslugrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
GraphEnvConfig
public GraphEnvConfig(String slug, String connectionUrl, String description, String database, String graphName, String region, String username, String password) Creates an instance of aGraphEnvConfigrecord class.- Parameters:
slug- the value for theslugrecord componentconnectionUrl- the value for theconnectionUrlrecord componentdescription- the value for thedescriptionrecord componentdatabase- the value for thedatabaserecord componentgraphName- the value for thegraphNamerecord componentregion- the value for theregionrecord componentusername- the value for theusernamerecord componentpassword- the value for thepasswordrecord 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). -
slug
Returns the value of theslugrecord component.- Returns:
- the value of the
slugrecord component
-
connectionUrl
Returns the value of theconnectionUrlrecord component.- Returns:
- the value of the
connectionUrlrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
graphName
Returns the value of thegraphNamerecord component.- Returns:
- the value of the
graphNamerecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-