Class ConnectionDTO

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

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

  • Constructor Details

    • ConnectionDTO

      public ConnectionDTO()
  • Method Details

    • id

      public ConnectionDTO id(String id)
    • getId

      public String getId()
      The id of the component.
      Returns:
      id
    • setId

      public void setId(String id)
    • versionedComponentId

      public ConnectionDTO versionedComponentId(String versionedComponentId)
    • getVersionedComponentId

      public String getVersionedComponentId()
      The ID of the corresponding component that is under version control
      Returns:
      versionedComponentId
    • setVersionedComponentId

      public void setVersionedComponentId(String versionedComponentId)
    • parentGroupId

      public ConnectionDTO parentGroupId(String parentGroupId)
    • getParentGroupId

      public String getParentGroupId()
      The id of parent process group of this component if applicable.
      Returns:
      parentGroupId
    • setParentGroupId

      public void setParentGroupId(String parentGroupId)
    • position

      public ConnectionDTO position(PositionDTO position)
    • getPosition

      public PositionDTO getPosition()
      Get position
      Returns:
      position
    • setPosition

      public void setPosition(PositionDTO position)
    • source

      public ConnectionDTO source(ConnectableDTO source)
    • getSource

      public ConnectableDTO getSource()
      Get source
      Returns:
      source
    • setSource

      public void setSource(ConnectableDTO source)
    • destination

      public ConnectionDTO destination(ConnectableDTO destination)
    • getDestination

      public ConnectableDTO getDestination()
      Get destination
      Returns:
      destination
    • setDestination

      public void setDestination(ConnectableDTO destination)
    • name

      public ConnectionDTO name(String name)
    • getName

      public String getName()
      The name of the connection.
      Returns:
      name
    • setName

      public void setName(String name)
    • labelIndex

      public ConnectionDTO labelIndex(Integer labelIndex)
    • getLabelIndex

      public Integer getLabelIndex()
      The index of the bend point where to place the connection label.
      Returns:
      labelIndex
    • setLabelIndex

      public void setLabelIndex(Integer labelIndex)
    • getzIndex

      public ConnectionDTO getzIndex(Long getzIndex)
    • getGetzIndex

      public Long getGetzIndex()
      The z index of the connection.
      Returns:
      getzIndex
    • setGetzIndex

      public void setGetzIndex(Long getzIndex)
    • selectedRelationships

      public ConnectionDTO selectedRelationships(List<String> selectedRelationships)
    • addSelectedRelationshipsItem

      public ConnectionDTO addSelectedRelationshipsItem(String selectedRelationshipsItem)
    • getSelectedRelationships

      public List<String> getSelectedRelationships()
      The selected relationship that comprise the connection.
      Returns:
      selectedRelationships
    • setSelectedRelationships

      public void setSelectedRelationships(List<String> selectedRelationships)
    • getAvailableRelationships

      public List<String> getAvailableRelationships()
      The relationships that the source of the connection currently supports.
      Returns:
      availableRelationships
    • backPressureObjectThreshold

      public ConnectionDTO backPressureObjectThreshold(Long backPressureObjectThreshold)
    • getBackPressureObjectThreshold

      public Long getBackPressureObjectThreshold()
      The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue.
      Returns:
      backPressureObjectThreshold
    • setBackPressureObjectThreshold

      public void setBackPressureObjectThreshold(Long backPressureObjectThreshold)
    • backPressureDataSizeThreshold

      public ConnectionDTO backPressureDataSizeThreshold(String backPressureDataSizeThreshold)
    • getBackPressureDataSizeThreshold

      public String getBackPressureDataSizeThreshold()
      The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won't impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue.
      Returns:
      backPressureDataSizeThreshold
    • setBackPressureDataSizeThreshold

      public void setBackPressureDataSizeThreshold(String backPressureDataSizeThreshold)
    • flowFileExpiration

      public ConnectionDTO flowFileExpiration(String flowFileExpiration)
    • getFlowFileExpiration

      public String getFlowFileExpiration()
      The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it.
      Returns:
      flowFileExpiration
    • setFlowFileExpiration

      public void setFlowFileExpiration(String flowFileExpiration)
    • prioritizers

      public ConnectionDTO prioritizers(List<String> prioritizers)
    • addPrioritizersItem

      public ConnectionDTO addPrioritizersItem(String prioritizersItem)
    • getPrioritizers

      public List<String> getPrioritizers()
      The comparators used to prioritize the queue.
      Returns:
      prioritizers
    • setPrioritizers

      public void setPrioritizers(List<String> prioritizers)
    • bends

      public ConnectionDTO bends(List<PositionDTO> bends)
    • addBendsItem

      public ConnectionDTO addBendsItem(PositionDTO bendsItem)
    • getBends

      public List<PositionDTO> getBends()
      The bend points on the connection.
      Returns:
      bends
    • setBends

      public void setBends(List<PositionDTO> bends)
    • loadBalanceStrategy

      public ConnectionDTO loadBalanceStrategy(ConnectionDTO.LoadBalanceStrategyEnum loadBalanceStrategy)
    • getLoadBalanceStrategy

      public ConnectionDTO.LoadBalanceStrategyEnum getLoadBalanceStrategy()
      How to load balance the data in this Connection across the nodes in the cluster.
      Returns:
      loadBalanceStrategy
    • setLoadBalanceStrategy

      public void setLoadBalanceStrategy(ConnectionDTO.LoadBalanceStrategyEnum loadBalanceStrategy)
    • loadBalancePartitionAttribute

      public ConnectionDTO loadBalancePartitionAttribute(String loadBalancePartitionAttribute)
    • getLoadBalancePartitionAttribute

      public String getLoadBalancePartitionAttribute()
      The FlowFile Attribute to use for determining which node a FlowFile will go to if the Load Balancing Strategy is set to PARTITION_BY_ATTRIBUTE
      Returns:
      loadBalancePartitionAttribute
    • setLoadBalancePartitionAttribute

      public void setLoadBalancePartitionAttribute(String loadBalancePartitionAttribute)
    • loadBalanceCompression

      public ConnectionDTO loadBalanceCompression(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression)
    • getLoadBalanceCompression

      public ConnectionDTO.LoadBalanceCompressionEnum getLoadBalanceCompression()
      Whether or not data should be compressed when being transferred between nodes in the cluster.
      Returns:
      loadBalanceCompression
    • setLoadBalanceCompression

      public void setLoadBalanceCompression(ConnectionDTO.LoadBalanceCompressionEnum loadBalanceCompression)
    • getLoadBalanceStatus

      public ConnectionDTO.LoadBalanceStatusEnum getLoadBalanceStatus()
      The current status of the Connection's Load Balancing Activities. Status can indicate that Load Balancing is not configured for the connection, that Load Balancing is configured but inactive (not currently transferring data to another node), or that Load Balancing is configured and actively transferring data to another node.
      Returns:
      loadBalanceStatus
    • 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).