Package io.strimzi.api.kafka.model
Class KafkaTopicSpec
- java.lang.Object
-
- io.strimzi.api.kafka.model.Spec
-
- io.strimzi.api.kafka.model.KafkaTopicSpec
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class KafkaTopicSpec extends Spec
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KafkaTopicSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getConfig()IntegergetPartitions()IntegergetReplicas()StringgetTopicName()voidsetConfig(Map<String,Object> config)voidsetPartitions(Integer partitions)voidsetReplicas(Integer replicas)voidsetTopicName(String topicName)-
Methods inherited from class io.strimzi.api.kafka.model.Spec
getAdditionalProperties, setAdditionalProperty
-
-
-
-
Method Detail
-
getTopicName
public String getTopicName()
-
setTopicName
public void setTopicName(String topicName)
-
getPartitions
public Integer getPartitions()
-
setPartitions
public void setPartitions(Integer partitions)
-
getReplicas
public Integer getReplicas()
-
setReplicas
public void setReplicas(Integer replicas)
-
-