Package app.ductape.sdk.brokers.types
Record Class BrokerTypes.ReplayEventOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.brokers.types.BrokerTypes.ReplayEventOptions
- Enclosing class:
- BrokerTypes
-
Constructor Summary
ConstructorsConstructorDescriptionReplayEventOptions(String product, String env, String eventId, Boolean force) Creates an instance of aReplayEventOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionenv()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.eventId()Returns the value of theeventIdrecord component.force()Returns the value of theforcerecord component.final inthashCode()Returns a hash code value for this object.product()Returns the value of theproductrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReplayEventOptions
Creates an instance of aReplayEventOptionsrecord class.- Parameters:
product- the value for theproductrecord componentenv- the value for theenvrecord componenteventId- the value for theeventIdrecord componentforce- the value for theforcerecord 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
Returns the value of theproductrecord component.- Returns:
- the value of the
productrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
eventId
Returns the value of theeventIdrecord component.- Returns:
- the value of the
eventIdrecord component
-
force
Returns the value of theforcerecord component.- Returns:
- the value of the
forcerecord component
-