Class StatusHistoryDTO

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

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

  • Constructor Details

    • StatusHistoryDTO

      public StatusHistoryDTO()
  • Method Details

    • generated

      public StatusHistoryDTO generated(String generated)
    • getGenerated

      public String getGenerated()
      When the status history was generated.
      Returns:
      generated
    • setGenerated

      public void setGenerated(String generated)
    • componentDetails

      public StatusHistoryDTO componentDetails(Map<String,String> componentDetails)
    • putComponentDetailsItem

      public StatusHistoryDTO putComponentDetailsItem(String key, String componentDetailsItem)
    • getComponentDetails

      public Map<String,String> getComponentDetails()
      A Map of key/value pairs that describe the component that the status history belongs to
      Returns:
      componentDetails
    • setComponentDetails

      public void setComponentDetails(Map<String,String> componentDetails)
    • fieldDescriptors

      public StatusHistoryDTO fieldDescriptors(List<StatusDescriptorDTO> fieldDescriptors)
    • addFieldDescriptorsItem

      public StatusHistoryDTO addFieldDescriptorsItem(StatusDescriptorDTO fieldDescriptorsItem)
    • getFieldDescriptors

      public List<StatusDescriptorDTO> getFieldDescriptors()
      The Descriptors that provide information on each of the metrics provided in the status history
      Returns:
      fieldDescriptors
    • setFieldDescriptors

      public void setFieldDescriptors(List<StatusDescriptorDTO> fieldDescriptors)
    • aggregateSnapshots

      public StatusHistoryDTO aggregateSnapshots(List<StatusSnapshotDTO> aggregateSnapshots)
    • addAggregateSnapshotsItem

      public StatusHistoryDTO addAggregateSnapshotsItem(StatusSnapshotDTO aggregateSnapshotsItem)
    • getAggregateSnapshots

      public List<StatusSnapshotDTO> getAggregateSnapshots()
      A list of StatusSnapshotDTO objects that provide the actual metric values for the component. If the NiFi instance is clustered, this will represent the aggregate status across all nodes. If the NiFi instance is not clustered, this will represent the status of the entire NiFi instance.
      Returns:
      aggregateSnapshots
    • setAggregateSnapshots

      public void setAggregateSnapshots(List<StatusSnapshotDTO> aggregateSnapshots)
    • nodeSnapshots

      public StatusHistoryDTO nodeSnapshots(List<NodeStatusSnapshotsDTO> nodeSnapshots)
    • addNodeSnapshotsItem

      public StatusHistoryDTO addNodeSnapshotsItem(NodeStatusSnapshotsDTO nodeSnapshotsItem)
    • getNodeSnapshots

      public List<NodeStatusSnapshotsDTO> getNodeSnapshots()
      The NodeStatusSnapshotsDTO objects that provide the actual metric values for the component, for each node. If the NiFi instance is not clustered, this value will be null.
      Returns:
      nodeSnapshots
    • setNodeSnapshots

      public void setNodeSnapshots(List<NodeStatusSnapshotsDTO> nodeSnapshots)
    • 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).