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