Class AssociationInfo
java.lang.Object
io.confluent.kafka.schemaregistry.client.rest.entities.requests.AssociationInfo
-
Constructor Summary
ConstructorsConstructorDescriptionAssociationInfo(String subject, String associationType, LifecyclePolicy lifecycle, Boolean frozen, Schema schema) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe frozen value for serialization.inthashCode()booleanisFrozen()The effective frozen value, applying the lifecycle default when unset.voidsetAssociationType(String associationType) voidvoidsetLifecycle(LifecyclePolicy lifecycle) voidvoidsetSubject(String subject) toJson()
-
Constructor Details
-
AssociationInfo
public AssociationInfo(String subject, String associationType, LifecyclePolicy lifecycle, Boolean frozen, Schema schema)
-
-
Method Details
-
getSubject
-
setSubject
-
getAssociationType
-
setAssociationType
-
getLifecycle
-
setLifecycle
-
isFrozen
public boolean isFrozen()The effective frozen value, applying the lifecycle default when unset. Used by business logic; not serialized directly. -
getFrozen
The frozen value for serialization. Returnsnull(so the property is omitted) when it matches the lifecycle default, and the explicit value otherwise. -
setFrozen
-
getSchema
-
setSchema
-
equals
-
hashCode
public int hashCode() -
toJson
- Throws:
IOException
-