Class VersionedLabel

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

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

  • Constructor Details

    • VersionedLabel

      public VersionedLabel()
  • Method Details

    • identifier

      public VersionedLabel identifier(String identifier)
    • getIdentifier

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

      public void setIdentifier(String identifier)
    • instanceIdentifier

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

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

      public void setName(String name)
    • comments

      public VersionedLabel comments(String comments)
    • getComments

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

      public void setComments(String comments)
    • position

      public VersionedLabel position(Position position)
    • getPosition

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

      public void setPosition(Position position)
    • label

      public VersionedLabel label(String label)
    • getLabel

      public String getLabel()
      The text that appears in the label.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • zIndex

      public VersionedLabel zIndex(Long zIndex)
    • getZIndex

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

      public void setZIndex(Long zIndex)
    • width

      public VersionedLabel width(Double width)
    • getWidth

      public Double getWidth()
      The width of the label in pixels when at a 1:1 scale.
      Returns:
      width
    • setWidth

      public void setWidth(Double width)
    • height

      public VersionedLabel height(Double height)
    • getHeight

      public Double getHeight()
      The height of the label in pixels when at a 1:1 scale.
      Returns:
      height
    • setHeight

      public void setHeight(Double height)
    • style

      public VersionedLabel style(Map<String,String> style)
    • putStyleItem

      public VersionedLabel putStyleItem(String key, String styleItem)
    • getStyle

      public Map<String,String> getStyle()
      The styles for this label (font-size : 12px, background-color : #eee, etc).
      Returns:
      style
    • setStyle

      public void setStyle(Map<String,String> style)
    • componentType

      public VersionedLabel componentType(VersionedLabel.ComponentTypeEnum componentType)
    • getComponentType

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

      public void setComponentType(VersionedLabel.ComponentTypeEnum componentType)
    • groupIdentifier

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