Class BrokerInfo

java.lang.Object
io.camunda.zeebe.client.protocol.rest.BrokerInfo

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-07-03T15:09:39.678402357Z[GMT]", comments="Generator version: 7.4.0") public class BrokerInfo extends Object
Provides information on a broker node.
  • Field Details

  • Constructor Details

    • BrokerInfo

      public BrokerInfo()
  • Method Details

    • nodeId

      public BrokerInfo nodeId(Integer nodeId)
    • getNodeId

      @Nullable public Integer getNodeId()
      The unique (within a cluster) node ID for the broker.
      Returns:
      nodeId
    • setNodeId

      public void setNodeId(Integer nodeId)
    • host

      public BrokerInfo host(String host)
    • getHost

      @Nullable public String getHost()
      The hostname for reaching the broker.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • port

      public BrokerInfo port(Integer port)
    • getPort

      @Nullable public Integer getPort()
      The port for reaching the broker.
      Returns:
      port
    • setPort

      public void setPort(Integer port)
    • partitions

      public BrokerInfo partitions(List<Partition> partitions)
    • addPartitionsItem

      public BrokerInfo addPartitionsItem(Partition partitionsItem)
    • getPartitions

      @Nullable public List<Partition> getPartitions()
      A list of partitions managed or replicated on this broker.
      Returns:
      partitions
    • setPartitions

      public void setPartitions(List<Partition> partitions)
    • version

      public BrokerInfo version(String version)
    • getVersion

      @Nullable public String getVersion()
      The broker version.
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string