Record Class KafkaClusterResponse.KafkaConnectOverview
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.KafkaConnectOverview
- Enclosing class:
KafkaClusterResponse
@Introspected
public static record KafkaClusterResponse.KafkaConnectOverview(boolean configured, @Nullable String url, List<KafkaClusterResponse.ConnectorSummary> connectors)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaConnectOverview(boolean configured, @Nullable String url, List<KafkaClusterResponse.ConnectorSummary> connectors) Creates an instance of aKafkaConnectOverviewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theconfiguredrecord component.Returns the value of theconnectorsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@Nullable Stringurl()Returns the value of theurlrecord component.
-
Constructor Details
-
KafkaConnectOverview
public KafkaConnectOverview(boolean configured, @Nullable String url, List<KafkaClusterResponse.ConnectorSummary> connectors) Creates an instance of aKafkaConnectOverviewrecord class.- Parameters:
configured- the value for theconfiguredrecord componenturl- the value for theurlrecord componentconnectors- the value for theconnectorsrecord 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. -
configured
public boolean configured()Returns the value of theconfiguredrecord component.- Returns:
- the value of the
configuredrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
connectors
Returns the value of theconnectorsrecord component.- Returns:
- the value of the
connectorsrecord component
-