Record Class BootstrapModels.BootstrapBrokerParams
java.lang.Object
java.lang.Record
app.ductape.sdk.api.services.model.BootstrapModels.BootstrapBrokerParams
- Enclosing class:
- BootstrapModels
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapBrokerParams(String product_tag, String env_slug, String broker_tag, String topic_tag) Creates an instance of aBootstrapBrokerParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebroker_tagrecord component.env_slug()Returns the value of theenv_slugrecord 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 theproduct_tagrecord component.Returns the value of thetopic_tagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BootstrapBrokerParams
public BootstrapBrokerParams(String product_tag, String env_slug, String broker_tag, String topic_tag) Creates an instance of aBootstrapBrokerParamsrecord class.- Parameters:
product_tag- the value for theproduct_tagrecord componentenv_slug- the value for theenv_slugrecord componentbroker_tag- the value for thebroker_tagrecord componenttopic_tag- the value for thetopic_tagrecord 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_tag
Returns the value of theproduct_tagrecord component.- Returns:
- the value of the
product_tagrecord component
-
env_slug
Returns the value of theenv_slugrecord component.- Returns:
- the value of the
env_slugrecord component
-
broker_tag
Returns the value of thebroker_tagrecord component.- Returns:
- the value of the
broker_tagrecord component
-
topic_tag
Returns the value of thetopic_tagrecord component.- Returns:
- the value of the
topic_tagrecord component
-