public class LogicalClusterMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LogicalClusterMetadata.LifecycleMetadata |
Modifier and Type | Field and Description |
---|---|
static Long |
DEFAULT_HEALTHCHECK_MAX_CONSUMER_RATE |
static Long |
DEFAULT_HEALTHCHECK_MAX_PRODUCER_RATE |
static Long |
DEFAULT_MIN_NETWORK_BYTE_RATE |
static Integer |
DEFAULT_NETWORK_QUOTA_OVERHEAD_PERCENTAGE |
static Double |
DEFAULT_REQUEST_PERCENTAGE_PER_BROKER |
static String |
HEALTHCHECK_LOGICAL_CLUSTER_TYPE |
static String |
KAFKA_LOGICAL_CLUSTER_TYPE |
static String |
LINK_HEALTHCHECK_LOGICAL_CLUSTER_TYPE |
Constructor and Description |
---|
LogicalClusterMetadata(String logicalClusterId,
String physicalClusterId,
String logicalClusterName,
String accountId,
String k8sClusterId,
String logicalClusterType,
Long storageBytes,
Long producerByteRate,
Long consumerByteRate,
Long maxProducerByteRate,
Long maxConsumerByteRate,
Long brokerRequestPercentage,
Integer networkQuotaOverhead,
LogicalClusterMetadata.LifecycleMetadata lifecycleMetadata,
Integer maxPartitions,
String organizationId,
String environmentId) |
Modifier and Type | Method and Description |
---|---|
String |
accountId() |
Double |
brokerRequestPercentage() |
Long |
consumerByteRate() |
String |
environmentId() |
boolean |
equals(Object o) |
static LogicalClusterMetadata |
fromProtobuf(LogicalCluster lc) |
int |
hashCode() |
boolean |
isActive() |
String |
k8sClusterId() |
LogicalClusterMetadata.LifecycleMetadata |
lifecycleMetadata() |
String |
logicalClusterId() |
String |
logicalClusterName() |
String |
logicalClusterType() |
Integer |
maxPartitions() |
Integer |
networkQuotaOverhead() |
String |
organizationId() |
String |
physicalClusterId() |
Long |
producerByteRate() |
QuotaConfig |
quotaConfig() |
Long |
storageBytes() |
String |
toString() |
public static final String KAFKA_LOGICAL_CLUSTER_TYPE
public static final String HEALTHCHECK_LOGICAL_CLUSTER_TYPE
public static final String LINK_HEALTHCHECK_LOGICAL_CLUSTER_TYPE
public static final Double DEFAULT_REQUEST_PERCENTAGE_PER_BROKER
public static final Integer DEFAULT_NETWORK_QUOTA_OVERHEAD_PERCENTAGE
public static final Long DEFAULT_HEALTHCHECK_MAX_PRODUCER_RATE
public static final Long DEFAULT_HEALTHCHECK_MAX_CONSUMER_RATE
public static final Long DEFAULT_MIN_NETWORK_BYTE_RATE
public LogicalClusterMetadata(String logicalClusterId, String physicalClusterId, String logicalClusterName, String accountId, String k8sClusterId, String logicalClusterType, Long storageBytes, Long producerByteRate, Long consumerByteRate, Long maxProducerByteRate, Long maxConsumerByteRate, Long brokerRequestPercentage, Integer networkQuotaOverhead, LogicalClusterMetadata.LifecycleMetadata lifecycleMetadata, Integer maxPartitions, String organizationId, String environmentId)
public static LogicalClusterMetadata fromProtobuf(LogicalCluster lc)
public String logicalClusterId()
public String physicalClusterId()
public String logicalClusterName()
public String accountId()
public String organizationId()
public String environmentId()
public String k8sClusterId()
public String logicalClusterType()
public Long storageBytes()
public Long producerByteRate()
public Long consumerByteRate()
public Double brokerRequestPercentage()
public Integer networkQuotaOverhead()
public LogicalClusterMetadata.LifecycleMetadata lifecycleMetadata()
public Integer maxPartitions()
public boolean isActive()
public QuotaConfig quotaConfig()