Package com.exoscale.sdk.model
Class JsonSchemaSchemaRegistry
- java.lang.Object
-
- com.exoscale.sdk.model.JsonSchemaSchemaRegistry
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class JsonSchemaSchemaRegistry extends Object
JsonSchemaSchemaRegistry
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LEADER_ELIGIBILITY
static String
JSON_PROPERTY_TOPIC_NAME
-
Constructor Summary
Constructors Constructor Description JsonSchemaSchemaRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this json-schema-schema-registry object is equal to o.Boolean
getLeaderEligibility()
If true, Karapace / Schema Registry on the service nodes can participate in leader election.String
getTopicName()
The durable single partition topic that acts as the durable log for the data.int
hashCode()
JsonSchemaSchemaRegistry
leaderEligibility(Boolean leaderEligibility)
void
setLeaderEligibility(Boolean leaderEligibility)
void
setTopicName(String topicName)
JsonSchemaSchemaRegistry
topicName(String topicName)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_LEADER_ELIGIBILITY
public static final String JSON_PROPERTY_LEADER_ELIGIBILITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOPIC_NAME
public static final String JSON_PROPERTY_TOPIC_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
leaderEligibility
public JsonSchemaSchemaRegistry leaderEligibility(Boolean leaderEligibility)
-
getLeaderEligibility
@Nullable public Boolean getLeaderEligibility()
If true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to `true`.- Returns:
- leaderEligibility
-
setLeaderEligibility
public void setLeaderEligibility(Boolean leaderEligibility)
-
topicName
public JsonSchemaSchemaRegistry topicName(String topicName)
-
getTopicName
@Nullable public String getTopicName()
The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`.- Returns:
- topicName
-
setTopicName
public void setTopicName(String topicName)
-
equals
public boolean equals(Object o)
Return true if this json-schema-schema-registry object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-