Package app.ductape.sdk.brokers.types
Record Class BrokerTypes.BrokerServiceConfig
java.lang.Object
java.lang.Record
app.ductape.sdk.brokers.types.BrokerTypes.BrokerServiceConfig
- Enclosing class:
- BrokerTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessKeyrecord component.envType()Returns the value of theenvTyperecord 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 thepreInitializedProductBuilderrecord component.Returns the value of thepublicKeyrecord component.Returns the value of theredisClientrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.Returns the value of theworkspaceIdrecord component.Returns the value of theworkspacePrivateKeyrecord component.
-
Constructor Details
-
BrokerServiceConfig
public BrokerServiceConfig(String workspaceId, String publicKey, String userId, String token, String envType, Object redisClient, String accessKey, Object preInitializedProductBuilder, String workspacePrivateKey) Creates an instance of aBrokerServiceConfigrecord class.- Parameters:
workspaceId- the value for theworkspaceIdrecord componentpublicKey- the value for thepublicKeyrecord componentuserId- the value for theuserIdrecord componenttoken- the value for thetokenrecord componentenvType- the value for theenvTyperecord componentredisClient- the value for theredisClientrecord componentaccessKey- the value for theaccessKeyrecord componentpreInitializedProductBuilder- the value for thepreInitializedProductBuilderrecord componentworkspacePrivateKey- the value for theworkspacePrivateKeyrecord 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). -
workspaceId
Returns the value of theworkspaceIdrecord component.- Returns:
- the value of the
workspaceIdrecord component
-
publicKey
Returns the value of thepublicKeyrecord component.- Returns:
- the value of the
publicKeyrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
envType
Returns the value of theenvTyperecord component.- Returns:
- the value of the
envTyperecord component
-
redisClient
Returns the value of theredisClientrecord component.- Returns:
- the value of the
redisClientrecord component
-
accessKey
Returns the value of theaccessKeyrecord component.- Returns:
- the value of the
accessKeyrecord component
-
preInitializedProductBuilder
Returns the value of thepreInitializedProductBuilderrecord component.- Returns:
- the value of the
preInitializedProductBuilderrecord component
-
workspacePrivateKey
Returns the value of theworkspacePrivateKeyrecord component.- Returns:
- the value of the
workspacePrivateKeyrecord component
-