Class BrokerInfo

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

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2024-10-11T17:26:39.504605721Z[GMT]", comments="Generator version: 7.8.0") public class BrokerInfo extends Object
Provides information on a broker node.
  • Constructor Details

    • BrokerInfo

      public BrokerInfo()
  • Method Details

    • nodeId

      public BrokerInfo nodeId(Integer nodeId)
    • getNodeId

      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

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

      public void setHost(String host)
    • port

      public BrokerInfo port(Integer port)
    • getPort

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

      public void setPort(Integer port)
    • partitions

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

      public BrokerInfo addPartitionsItem(Partition partitionsItem)
    • getPartitions

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

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

      public BrokerInfo version(String version)
    • getVersion

      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