Package io.camunda.client.protocol.rest
Class BrokerInfo
java.lang.Object
io.camunda.client.protocol.rest.BrokerInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-08T19:37:20.302687113Z[GMT]",
comments="Generator version: 7.12.0")
public class BrokerInfo
extends Object
Provides information on a broker node.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartitionsItem(Partition partitionsItem) booleangetHost()The hostname for reaching the broker.The unique (within a cluster) node ID for the broker.A list of partitions managed or replicated on this broker.getPort()The port for reaching the broker.The broker version.inthashCode()partitions(List<Partition> partitions) voidvoidvoidsetPartitions(List<Partition> partitions) voidvoidsetVersion(String version) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NODE_ID
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_PARTITIONS
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
BrokerInfo
public BrokerInfo()
-
-
Method Details
-
nodeId
-
getNodeId
The unique (within a cluster) node ID for the broker.- Returns:
- nodeId
-
setNodeId
-
host
-
getHost
The hostname for reaching the broker.- Returns:
- host
-
setHost
-
port
-
getPort
The port for reaching the broker.- Returns:
- port
-
setPort
-
partitions
-
addPartitionsItem
-
getPartitions
A list of partitions managed or replicated on this broker.- Returns:
- partitions
-
setPartitions
-
version
-
getVersion
The broker version.- Returns:
- version
-
setVersion
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-