Class ProcessorDTO

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

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

  • Constructor Details

    • ProcessorDTO

      public ProcessorDTO()
  • Method Details

    • id

      public ProcessorDTO id(String id)
    • getId

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

      public void setId(String id)
    • versionedComponentId

      public ProcessorDTO 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 ProcessorDTO 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 ProcessorDTO position(PositionDTO position)
    • getPosition

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

      public void setPosition(PositionDTO position)
    • name

      public ProcessorDTO name(String name)
    • getName

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

      public void setName(String name)
    • type

      public ProcessorDTO type(String type)
    • getType

      public String getType()
      The type of the processor.
      Returns:
      type
    • setType

      public void setType(String type)
    • bundle

      public ProcessorDTO bundle(BundleDTO bundle)
    • getBundle

      public BundleDTO getBundle()
      Get bundle
      Returns:
      bundle
    • setBundle

      public void setBundle(BundleDTO bundle)
    • state

      public ProcessorDTO state(ProcessorDTO.StateEnum state)
    • getState

      public ProcessorDTO.StateEnum getState()
      The state of the processor
      Returns:
      state
    • setState

      public void setState(ProcessorDTO.StateEnum state)
    • style

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

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

      public Map<String,String> getStyle()
      Styles for the processor (background-color : #eee).
      Returns:
      style
    • setStyle

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

      public List<RelationshipDTO> getRelationships()
      The available relationships that the processor currently supports.
      Returns:
      relationships
    • description

      public ProcessorDTO description(String description)
    • getDescription

      public String getDescription()
      The description of the processor.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • supportsParallelProcessing

      public ProcessorDTO supportsParallelProcessing(Boolean supportsParallelProcessing)
    • isSupportsParallelProcessing

      public Boolean isSupportsParallelProcessing()
      Whether the processor supports parallel processing.
      Returns:
      supportsParallelProcessing
    • setSupportsParallelProcessing

      public void setSupportsParallelProcessing(Boolean supportsParallelProcessing)
    • supportsBatching

      public ProcessorDTO supportsBatching(Boolean supportsBatching)
    • isSupportsBatching

      public Boolean isSupportsBatching()
      Whether the processor supports batching. This makes the run duration settings available.
      Returns:
      supportsBatching
    • setSupportsBatching

      public void setSupportsBatching(Boolean supportsBatching)
    • supportsSensitiveDynamicProperties

      public ProcessorDTO supportsSensitiveDynamicProperties(Boolean supportsSensitiveDynamicProperties)
    • isSupportsSensitiveDynamicProperties

      public Boolean isSupportsSensitiveDynamicProperties()
      Whether the processor supports sensitive dynamic properties.
      Returns:
      supportsSensitiveDynamicProperties
    • setSupportsSensitiveDynamicProperties

      public void setSupportsSensitiveDynamicProperties(Boolean supportsSensitiveDynamicProperties)
    • persistsState

      public ProcessorDTO persistsState(Boolean persistsState)
    • isPersistsState

      public Boolean isPersistsState()
      Whether the processor persists state.
      Returns:
      persistsState
    • setPersistsState

      public void setPersistsState(Boolean persistsState)
    • restricted

      public ProcessorDTO restricted(Boolean restricted)
    • isRestricted

      public Boolean isRestricted()
      Whether the processor requires elevated privileges.
      Returns:
      restricted
    • setRestricted

      public void setRestricted(Boolean restricted)
    • deprecated

      public ProcessorDTO deprecated(Boolean deprecated)
    • isDeprecated

      public Boolean isDeprecated()
      Whether the processor has been deprecated.
      Returns:
      deprecated
    • setDeprecated

      public void setDeprecated(Boolean deprecated)
    • executionNodeRestricted

      public ProcessorDTO executionNodeRestricted(Boolean executionNodeRestricted)
    • isExecutionNodeRestricted

      public Boolean isExecutionNodeRestricted()
      Indicates if the execution node of a processor is restricted to run only on the primary node
      Returns:
      executionNodeRestricted
    • setExecutionNodeRestricted

      public void setExecutionNodeRestricted(Boolean executionNodeRestricted)
    • multipleVersionsAvailable

      public ProcessorDTO multipleVersionsAvailable(Boolean multipleVersionsAvailable)
    • isMultipleVersionsAvailable

      public Boolean isMultipleVersionsAvailable()
      Whether the processor has multiple versions available.
      Returns:
      multipleVersionsAvailable
    • setMultipleVersionsAvailable

      public void setMultipleVersionsAvailable(Boolean multipleVersionsAvailable)
    • inputRequirement

      public ProcessorDTO inputRequirement(String inputRequirement)
    • getInputRequirement

      public String getInputRequirement()
      The input requirement for this processor.
      Returns:
      inputRequirement
    • setInputRequirement

      public void setInputRequirement(String inputRequirement)
    • config

      public ProcessorDTO config(ProcessorConfigDTO config)
    • getConfig

      public ProcessorConfigDTO getConfig()
      Get config
      Returns:
      config
    • setConfig

      public void setConfig(ProcessorConfigDTO config)
    • validationErrors

      public ProcessorDTO validationErrors(List<String> validationErrors)
    • addValidationErrorsItem

      public ProcessorDTO addValidationErrorsItem(String validationErrorsItem)
    • getValidationErrors

      public List<String> getValidationErrors()
      The validation errors for the processor. These validation errors represent the problems with the processor that must be resolved before it can be started.
      Returns:
      validationErrors
    • setValidationErrors

      public void setValidationErrors(List<String> validationErrors)
    • getValidationStatus

      public ProcessorDTO.ValidationStatusEnum getValidationStatus()
      Indicates whether the Processor is valid, invalid, or still in the process of validating (i.e., it is unknown whether or not the Processor is valid)
      Returns:
      validationStatus
    • extensionMissing

      public ProcessorDTO extensionMissing(Boolean extensionMissing)
    • isExtensionMissing

      public Boolean isExtensionMissing()
      Whether the underlying extension is missing.
      Returns:
      extensionMissing
    • setExtensionMissing

      public void setExtensionMissing(Boolean extensionMissing)
    • 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).