Package app.ductape.sdk.brokers.types
Record Class BrokerTypes.GetBrokerEventsOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.brokers.types.BrokerTypes.GetBrokerEventsOptions
- Enclosing class:
- BrokerTypes
-
Constructor Summary
ConstructorsConstructorDescriptionGetBrokerEventsOptions(String product, String env, String brokerTag, String topic, BrokerTypes.BrokerEventCategory category, BrokerTypes.BrokerEventStatus status, Boolean idempotent, Date startDate, Date endDate, Integer page, Integer limit) Creates an instance of aGetBrokerEventsOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebrokerTagrecord component.category()Returns the value of thecategoryrecord component.endDate()Returns the value of theendDaterecord 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 theidempotentrecord component.limit()Returns the value of thelimitrecord component.page()Returns the value of thepagerecord component.product()Returns the value of theproductrecord component.Returns the value of thestartDaterecord component.status()Returns the value of thestatusrecord component.topic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GetBrokerEventsOptions
public GetBrokerEventsOptions(String product, String env, String brokerTag, String topic, BrokerTypes.BrokerEventCategory category, BrokerTypes.BrokerEventStatus status, Boolean idempotent, Date startDate, Date endDate, Integer page, Integer limit) Creates an instance of aGetBrokerEventsOptionsrecord class.- Parameters:
product- the value for theproductrecord componentenv- the value for theenvrecord componentbrokerTag- the value for thebrokerTagrecord componenttopic- the value for thetopicrecord componentcategory- the value for thecategoryrecord componentstatus- the value for thestatusrecord componentidempotent- the value for theidempotentrecord componentstartDate- the value for thestartDaterecord componentendDate- the value for theendDaterecord componentpage- the value for thepagerecord componentlimit- the value for thelimitrecord 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
-
brokerTag
Returns the value of thebrokerTagrecord component.- Returns:
- the value of the
brokerTagrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
idempotent
Returns the value of theidempotentrecord component.- Returns:
- the value of the
idempotentrecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
endDate
Returns the value of theendDaterecord component.- Returns:
- the value of the
endDaterecord component
-
page
Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-