Package com.atlan.model.structs
Class KafkaTopicConsumption
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.KafkaTopicConsumption
- All Implemented Interfaces:
Serializable
@Generated("com.atlan.generators.ModelGeneratorV2")
public class KafkaTopicConsumption
extends AtlanStruct
Detailed information about the consumption of a Kafka topic.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
KafkaTopicConsumption.KafkaTopicConsumptionBuilder<C extends KafkaTopicConsumption,
B extends KafkaTopicConsumption.KafkaTopicConsumptionBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.structs.AtlanStruct
AtlanStruct.AtlanStructBuilder<C extends AtlanStruct,
B extends AtlanStruct.AtlanStructBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Current offset of the Kafka topic.Lag of the Kafka topic.Name of the Kafka topic.Partition of the Kafka topic.Fixed typeName for KafkaTopicConsumption.int
hashCode()
static KafkaTopicConsumption
Quickly create a new KafkaTopicConsumption.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
KafkaTopicConsumption
-
-
Method Details
-
of
public static KafkaTopicConsumption of(String topicName, String topicPartition, Long topicLag, Long topicCurrentOffset) Quickly create a new KafkaTopicConsumption.- Parameters:
topicName
- Name of the Kafka topic.topicPartition
- Partition of the Kafka topic.topicLag
- Lag of the Kafka topic.topicCurrentOffset
- Current offset of the Kafka topic.- Returns:
- a KafkaTopicConsumption with the provided information
-
builder
-
toBuilder
-
getTopicName
Name of the Kafka topic. -
getTopicPartition
Partition of the Kafka topic. -
getTopicLag
Lag of the Kafka topic. -
getTopicCurrentOffset
Current offset of the Kafka topic. -
equals
- Overrides:
equals
in classAtlanStruct
-
canEqual
- Overrides:
canEqual
in classAtlanStruct
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanStruct
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-
getTypeName
Fixed typeName for KafkaTopicConsumption.- Overrides:
getTypeName
in classAtlanStruct
-