Record Class KafkaClusterResponse.Overview
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.Overview
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebrokerCountrecord component.@Nullable StringReturns the value of theclusterIdrecord component.config()Returns the value of theconfigrecord component.intReturns the value of theconsumerGroupCountrecord component.@Nullable KafkaClusterResponse.BrokerNodeReturns the value of thecontrollerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepartitionCountrecord component.intReturns the value of thetopicCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Overview
public Overview(@Nullable String clusterId, @Nullable KafkaClusterResponse.BrokerNode controller, int brokerCount, int topicCount, int partitionCount, int consumerGroupCount, Map<String, String> config) Creates an instance of aOverviewrecord class.- Parameters:
clusterId- the value for theclusterIdrecord componentcontroller- the value for thecontrollerrecord componentbrokerCount- the value for thebrokerCountrecord componenttopicCount- the value for thetopicCountrecord componentpartitionCount- the value for thepartitionCountrecord componentconsumerGroupCount- the value for theconsumerGroupCountrecord componentconfig- the value for theconfigrecord 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. -
clusterId
Returns the value of theclusterIdrecord component.- Returns:
- the value of the
clusterIdrecord component
-
controller
Returns the value of thecontrollerrecord component.- Returns:
- the value of the
controllerrecord component
-
brokerCount
public int brokerCount()Returns the value of thebrokerCountrecord component.- Returns:
- the value of the
brokerCountrecord component
-
topicCount
public int topicCount()Returns the value of thetopicCountrecord component.- Returns:
- the value of the
topicCountrecord component
-
partitionCount
public int partitionCount()Returns the value of thepartitionCountrecord component.- Returns:
- the value of the
partitionCountrecord component
-
consumerGroupCount
public int consumerGroupCount()Returns the value of theconsumerGroupCountrecord component.- Returns:
- the value of the
consumerGroupCountrecord component
-
config
-