Class FlowFileDTO

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

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

    • uri

      private String uri
    • uuid

      private String uuid
    • filename

      private String filename
    • position

      private Integer position
    • size

      private Long size
    • queuedDuration

      private Long queuedDuration
    • lineageDuration

      private Long lineageDuration
    • penaltyExpiresIn

      private Long penaltyExpiresIn
    • clusterNodeId

      private String clusterNodeId
    • clusterNodeAddress

      private String clusterNodeAddress
    • attributes

      private Map<String,String> attributes
    • contentClaimSection

      private String contentClaimSection
    • contentClaimContainer

      private String contentClaimContainer
    • contentClaimIdentifier

      private String contentClaimIdentifier
    • contentClaimOffset

      private Long contentClaimOffset
    • contentClaimFileSize

      private String contentClaimFileSize
    • contentClaimFileSizeBytes

      private Long contentClaimFileSizeBytes
    • penalized

      private Boolean penalized
  • Constructor Details

    • FlowFileDTO

      public FlowFileDTO()
  • Method Details

    • uri

      public FlowFileDTO uri(String uri)
    • getUri

      public String getUri()
      The URI that can be used to access this FlowFile.
      Returns:
      uri
    • setUri

      public void setUri(String uri)
    • uuid

      public FlowFileDTO uuid(String uuid)
    • getUuid

      public String getUuid()
      The FlowFile UUID.
      Returns:
      uuid
    • setUuid

      public void setUuid(String uuid)
    • filename

      public FlowFileDTO filename(String filename)
    • getFilename

      public String getFilename()
      The FlowFile filename.
      Returns:
      filename
    • setFilename

      public void setFilename(String filename)
    • position

      public FlowFileDTO position(Integer position)
    • getPosition

      public Integer getPosition()
      The FlowFile's position in the queue.
      Returns:
      position
    • setPosition

      public void setPosition(Integer position)
    • size

      public FlowFileDTO size(Long size)
    • getSize

      public Long getSize()
      The FlowFile file size.
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • queuedDuration

      public FlowFileDTO queuedDuration(Long queuedDuration)
    • getQueuedDuration

      public Long getQueuedDuration()
      How long this FlowFile has been enqueued.
      Returns:
      queuedDuration
    • setQueuedDuration

      public void setQueuedDuration(Long queuedDuration)
    • lineageDuration

      public FlowFileDTO lineageDuration(Long lineageDuration)
    • getLineageDuration

      public Long getLineageDuration()
      Duration since the FlowFile's greatest ancestor entered the flow.
      Returns:
      lineageDuration
    • setLineageDuration

      public void setLineageDuration(Long lineageDuration)
    • penaltyExpiresIn

      public FlowFileDTO penaltyExpiresIn(Long penaltyExpiresIn)
    • getPenaltyExpiresIn

      public Long getPenaltyExpiresIn()
      How long in milliseconds until the FlowFile penalty expires.
      Returns:
      penaltyExpiresIn
    • setPenaltyExpiresIn

      public void setPenaltyExpiresIn(Long penaltyExpiresIn)
    • clusterNodeId

      public FlowFileDTO clusterNodeId(String clusterNodeId)
    • getClusterNodeId

      public String getClusterNodeId()
      The id of the node where this FlowFile resides.
      Returns:
      clusterNodeId
    • setClusterNodeId

      public void setClusterNodeId(String clusterNodeId)
    • clusterNodeAddress

      public FlowFileDTO clusterNodeAddress(String clusterNodeAddress)
    • getClusterNodeAddress

      public String getClusterNodeAddress()
      The label for the node where this FlowFile resides.
      Returns:
      clusterNodeAddress
    • setClusterNodeAddress

      public void setClusterNodeAddress(String clusterNodeAddress)
    • attributes

      public FlowFileDTO attributes(Map<String,String> attributes)
    • putAttributesItem

      public FlowFileDTO putAttributesItem(String key, String attributesItem)
    • getAttributes

      public Map<String,String> getAttributes()
      The FlowFile attributes.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
    • contentClaimSection

      public FlowFileDTO contentClaimSection(String contentClaimSection)
    • getContentClaimSection

      public String getContentClaimSection()
      The section in which the content claim lives.
      Returns:
      contentClaimSection
    • setContentClaimSection

      public void setContentClaimSection(String contentClaimSection)
    • contentClaimContainer

      public FlowFileDTO contentClaimContainer(String contentClaimContainer)
    • getContentClaimContainer

      public String getContentClaimContainer()
      The container in which the content claim lives.
      Returns:
      contentClaimContainer
    • setContentClaimContainer

      public void setContentClaimContainer(String contentClaimContainer)
    • contentClaimIdentifier

      public FlowFileDTO contentClaimIdentifier(String contentClaimIdentifier)
    • getContentClaimIdentifier

      public String getContentClaimIdentifier()
      The identifier of the content claim.
      Returns:
      contentClaimIdentifier
    • setContentClaimIdentifier

      public void setContentClaimIdentifier(String contentClaimIdentifier)
    • contentClaimOffset

      public FlowFileDTO contentClaimOffset(Long contentClaimOffset)
    • getContentClaimOffset

      public Long getContentClaimOffset()
      The offset into the content claim where the flowfile's content begins.
      Returns:
      contentClaimOffset
    • setContentClaimOffset

      public void setContentClaimOffset(Long contentClaimOffset)
    • contentClaimFileSize

      public FlowFileDTO contentClaimFileSize(String contentClaimFileSize)
    • getContentClaimFileSize

      public String getContentClaimFileSize()
      The file size of the content claim formatted.
      Returns:
      contentClaimFileSize
    • setContentClaimFileSize

      public void setContentClaimFileSize(String contentClaimFileSize)
    • contentClaimFileSizeBytes

      public FlowFileDTO contentClaimFileSizeBytes(Long contentClaimFileSizeBytes)
    • getContentClaimFileSizeBytes

      public Long getContentClaimFileSizeBytes()
      The file size of the content claim in bytes.
      Returns:
      contentClaimFileSizeBytes
    • setContentClaimFileSizeBytes

      public void setContentClaimFileSizeBytes(Long contentClaimFileSizeBytes)
    • penalized

      public FlowFileDTO penalized(Boolean penalized)
    • isPenalized

      public Boolean isPenalized()
      If the FlowFile is penalized.
      Returns:
      penalized
    • setPenalized

      public void setPenalized(Boolean penalized)
    • 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).