Record Class BootstrapModels.BootstrapBrokerResponse
java.lang.Object
java.lang.Record
app.ductape.sdk.api.services.model.BootstrapModels.BootstrapBrokerResponse
- Enclosing class:
- BootstrapModels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbroker()Returns the value of thebrokerrecord component.Returns the value of thebroker_envrecord component.env()Returns the value of theenvrecord 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 theprivate_keyrecord component.Returns the value of theproduct_idrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkspace_idrecord component.
-
Constructor Details
-
BootstrapBrokerResponse
public BootstrapBrokerResponse(String product_id, String workspace_id, String private_key, Map<String, Object> env, Map<String, Object> broker, Map<String, Object> broker_env, Map<String, Object> topic) Creates an instance of aBootstrapBrokerResponserecord class.- Parameters:
product_id- the value for theproduct_idrecord componentworkspace_id- the value for theworkspace_idrecord componentprivate_key- the value for theprivate_keyrecord componentenv- the value for theenvrecord componentbroker- the value for thebrokerrecord componentbroker_env- the value for thebroker_envrecord componenttopic- the value for thetopicrecord 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). -
product_id
Returns the value of theproduct_idrecord component.- Returns:
- the value of the
product_idrecord component
-
workspace_id
Returns the value of theworkspace_idrecord component.- Returns:
- the value of the
workspace_idrecord component
-
private_key
Returns the value of theprivate_keyrecord component.- Returns:
- the value of the
private_keyrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
broker
Returns the value of thebrokerrecord component.- Returns:
- the value of the
brokerrecord component
-
broker_env
Returns the value of thebroker_envrecord component.- Returns:
- the value of the
broker_envrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-