Record Class KafkaClusterResponse.ResetOffsetsRequest
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.ResetOffsetsRequest
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theconfirmationrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.@Nullable Longoffset()Returns the value of theoffsetrecord component.@Nullable IntegerReturns the value of thepartitionrecord component.booleanpreview()Returns the value of thepreviewrecord component.target()Returns the value of thetargetrecord component.@Nullable LongReturns the value of thetimestamprecord component.@Nullable Stringtopic()Returns the value of thetopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResetOffsetsRequest
public ResetOffsetsRequest(String groupId, String target, @Nullable String topic, @Nullable Integer partition, @Nullable Long offset, @Nullable Long timestamp, boolean preview, @Nullable String confirmation) Creates an instance of aResetOffsetsRequestrecord class.- Parameters:
groupId- the value for thegroupIdrecord componenttarget- the value for thetargetrecord componenttopic- the value for thetopicrecord componentpartition- the value for thepartitionrecord componentoffset- the value for theoffsetrecord componenttimestamp- the value for thetimestamprecord componentpreview- the value for thepreviewrecord componentconfirmation- the value for theconfirmationrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
topic
Returns the value of thetopicrecord component.- Returns:
- the value of the
topicrecord component
-
partition
Returns the value of thepartitionrecord component.- Returns:
- the value of the
partitionrecord component
-
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
preview
public boolean preview()Returns the value of thepreviewrecord component.- Returns:
- the value of the
previewrecord component
-
confirmation
Returns the value of theconfirmationrecord component.- Returns:
- the value of the
confirmationrecord component
-