Class NodeDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.NodeDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class NodeDTO extends Object
NodeDTO
  • Field Details

    • nodeId

      private String nodeId
    • address

      private String address
    • apiPort

      private Integer apiPort
    • status

      private String status
    • heartbeat

      private String heartbeat
    • connectionRequested

      private String connectionRequested
    • roles

      private List<String> roles
    • activeThreadCount

      private Integer activeThreadCount
    • queued

      private String queued
    • events

      private List<NodeEventDTO> events
    • nodeStartTime

      private String nodeStartTime
  • Constructor Details

    • NodeDTO

      public NodeDTO()
  • Method Details

    • getNodeId

      public String getNodeId()
      The id of the node.
      Returns:
      nodeId
    • getAddress

      public String getAddress()
      The node's host/ip address.
      Returns:
      address
    • getApiPort

      public Integer getApiPort()
      The port the node is listening for API requests.
      Returns:
      apiPort
    • status

      public NodeDTO status(String status)
    • getStatus

      public String getStatus()
      The node's status.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • getHeartbeat

      public String getHeartbeat()
      the time of the nodes's last heartbeat.
      Returns:
      heartbeat
    • getConnectionRequested

      public String getConnectionRequested()
      The time of the node's last connection request.
      Returns:
      connectionRequested
    • getRoles

      public List<String> getRoles()
      The roles of this node.
      Returns:
      roles
    • getActiveThreadCount

      public Integer getActiveThreadCount()
      The active threads for the NiFi on the node.
      Returns:
      activeThreadCount
    • getQueued

      public String getQueued()
      The queue the NiFi on the node.
      Returns:
      queued
    • getEvents

      public List<NodeEventDTO> getEvents()
      The node's events.
      Returns:
      events
    • getNodeStartTime

      public String getNodeStartTime()
      The time at which this Node was last refreshed.
      Returns:
      nodeStartTime
    • 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
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).