Class VersionedPort

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

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

  • Constructor Details

    • VersionedPort

      public VersionedPort()
  • Method Details

    • identifier

      public VersionedPort identifier(String identifier)
    • getIdentifier

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

      public void setIdentifier(String identifier)
    • instanceIdentifier

      public VersionedPort 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 VersionedPort name(String name)
    • getName

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

      public void setName(String name)
    • comments

      public VersionedPort comments(String comments)
    • getComments

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

      public void setComments(String comments)
    • position

      public VersionedPort position(Position position)
    • getPosition

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

      public void setPosition(Position position)
    • type

    • getType

      public VersionedPort.TypeEnum getType()
      The type of port.
      Returns:
      type
    • setType

      public void setType(VersionedPort.TypeEnum type)
    • concurrentlySchedulableTaskCount

      public VersionedPort concurrentlySchedulableTaskCount(Integer concurrentlySchedulableTaskCount)
    • getConcurrentlySchedulableTaskCount

      public Integer getConcurrentlySchedulableTaskCount()
      The number of tasks that should be concurrently scheduled for the port.
      Returns:
      concurrentlySchedulableTaskCount
    • setConcurrentlySchedulableTaskCount

      public void setConcurrentlySchedulableTaskCount(Integer concurrentlySchedulableTaskCount)
    • scheduledState

      public VersionedPort scheduledState(VersionedPort.ScheduledStateEnum scheduledState)
    • getScheduledState

      public VersionedPort.ScheduledStateEnum getScheduledState()
      The scheduled state of the component
      Returns:
      scheduledState
    • setScheduledState

      public void setScheduledState(VersionedPort.ScheduledStateEnum scheduledState)
    • allowRemoteAccess

      public VersionedPort allowRemoteAccess(Boolean allowRemoteAccess)
    • isAllowRemoteAccess

      public Boolean isAllowRemoteAccess()
      Whether or not this port allows remote access for site-to-site
      Returns:
      allowRemoteAccess
    • setAllowRemoteAccess

      public void setAllowRemoteAccess(Boolean allowRemoteAccess)
    • portFunction

      public VersionedPort portFunction(VersionedPort.PortFunctionEnum portFunction)
    • getPortFunction

      public VersionedPort.PortFunctionEnum getPortFunction()
      Specifies how the Port should function
      Returns:
      portFunction
    • setPortFunction

      public void setPortFunction(VersionedPort.PortFunctionEnum portFunction)
    • componentType

      public VersionedPort componentType(VersionedPort.ComponentTypeEnum componentType)
    • getComponentType

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

      public void setComponentType(VersionedPort.ComponentTypeEnum componentType)
    • groupIdentifier

      public VersionedPort 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).