Record Class KafkaClusterResponse.ConnectorSummary
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.ConnectorSummary
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorSummary(String name, @Nullable String type, @Nullable String state, @Nullable String workerId, List<KafkaClusterResponse.ConnectorTask> tasks, Map<String, String> config) Creates an instance of aConnectorSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.@Nullable Stringstate()Returns the value of thestaterecord component.tasks()Returns the value of thetasksrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringtype()Returns the value of thetyperecord component.@Nullable StringworkerId()Returns the value of theworkerIdrecord component.
-
Constructor Details
-
ConnectorSummary
public ConnectorSummary(String name, @Nullable String type, @Nullable String state, @Nullable String workerId, List<KafkaClusterResponse.ConnectorTask> tasks, Map<String, String> config) Creates an instance of aConnectorSummaryrecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentstate- the value for thestaterecord componentworkerId- the value for theworkerIdrecord componenttasks- the value for thetasksrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
workerId
Returns the value of theworkerIdrecord component.- Returns:
- the value of the
workerIdrecord component
-
tasks
Returns the value of thetasksrecord component.- Returns:
- the value of the
tasksrecord component
-
config
-