Class VersionedConnection

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

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

  • Constructor Details

    • VersionedConnection

      public VersionedConnection()
  • Method Details

    • identifier

      public VersionedConnection identifier(String identifier)
    • getIdentifier

      public String getIdentifier()
      The component's unique identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • instanceIdentifier

      public VersionedConnection instanceIdentifier(String instanceIdentifier)
    • getInstanceIdentifier

      public String getInstanceIdentifier()
      The instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated component
      Returns:
      instanceIdentifier
    • setInstanceIdentifier

      public void setInstanceIdentifier(String instanceIdentifier)
    • name

      public VersionedConnection name(String name)
    • getName

      public String getName()
      The component's name
      Returns:
      name
    • setName

      public void setName(String name)
    • comments

      public VersionedConnection comments(String comments)
    • getComments

      public String getComments()
      The user-supplied comments for the component
      Returns:
      comments
    • setComments

      public void setComments(String comments)
    • position

      public VersionedConnection position(Position position)
    • getPosition

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

      public void setPosition(Position position)
    • source

      public VersionedConnection source(ConnectableComponent source)
    • getSource

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

      public void setSource(ConnectableComponent source)
    • destination

      public VersionedConnection destination(ConnectableComponent destination)
    • getDestination

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

      public void setDestination(ConnectableComponent destination)
    • labelIndex

      public VersionedConnection 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)
    • zIndex

      public VersionedConnection zIndex(Long zIndex)
    • getZIndex

      public Long getZIndex()
      The z index of the connection.
      Returns:
      zIndex
    • setZIndex

      public void setZIndex(Long zIndex)
    • selectedRelationships

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

      public VersionedConnection addSelectedRelationshipsItem(String selectedRelationshipsItem)
    • getSelectedRelationships

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

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

      public VersionedConnection 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 VersionedConnection 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 VersionedConnection 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 VersionedConnection prioritizers(List<String> prioritizers)
    • addPrioritizersItem

      public VersionedConnection 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 VersionedConnection bends(List<Position> bends)
    • addBendsItem

      public VersionedConnection addBendsItem(Position bendsItem)
    • getBends

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

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

      public VersionedConnection loadBalanceStrategy(VersionedConnection.LoadBalanceStrategyEnum loadBalanceStrategy)
    • getLoadBalanceStrategy

      public VersionedConnection.LoadBalanceStrategyEnum getLoadBalanceStrategy()
      The Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified.
      Returns:
      loadBalanceStrategy
    • setLoadBalanceStrategy

      public void setLoadBalanceStrategy(VersionedConnection.LoadBalanceStrategyEnum loadBalanceStrategy)
    • partitioningAttribute

      public VersionedConnection partitioningAttribute(String partitioningAttribute)
    • getPartitioningAttribute

      public String getPartitioningAttribute()
      The attribute to use for partitioning data as it is load balanced across the cluster. If the Load Balance Strategy is configured to use PARTITION_BY_ATTRIBUTE, the value returned by this method is the name of the FlowFile Attribute that will be used to determine which node in the cluster should receive a given FlowFile. If the Load Balance Strategy is unset or is set to any other value, the Partitioning Attribute has no effect.
      Returns:
      partitioningAttribute
    • setPartitioningAttribute

      public void setPartitioningAttribute(String partitioningAttribute)
    • loadBalanceCompression

      public VersionedConnection loadBalanceCompression(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression)
    • getLoadBalanceCompression

      public VersionedConnection.LoadBalanceCompressionEnum getLoadBalanceCompression()
      Whether or not compression should be used when transferring FlowFiles between nodes
      Returns:
      loadBalanceCompression
    • setLoadBalanceCompression

      public void setLoadBalanceCompression(VersionedConnection.LoadBalanceCompressionEnum loadBalanceCompression)
    • componentType

      public VersionedConnection componentType(VersionedConnection.ComponentTypeEnum componentType)
    • getComponentType

      public VersionedConnection.ComponentTypeEnum getComponentType()
      Get componentType
      Returns:
      componentType
    • setComponentType

      public void setComponentType(VersionedConnection.ComponentTypeEnum componentType)
    • groupIdentifier

      public VersionedConnection groupIdentifier(String groupIdentifier)
    • getGroupIdentifier

      public String getGroupIdentifier()
      The ID of the Process Group that this component belongs to
      Returns:
      groupIdentifier
    • setGroupIdentifier

      public void setGroupIdentifier(String groupIdentifier)
    • 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).