Class SnippetDTO

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

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

  • Constructor Details

    • SnippetDTO

      public SnippetDTO()
  • Method Details

    • id

      public SnippetDTO id(String id)
    • getId

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

      public void setId(String id)
    • uri

      public SnippetDTO uri(String uri)
    • getUri

      public String getUri()
      The URI of the snippet.
      Returns:
      uri
    • setUri

      public void setUri(String uri)
    • parentGroupId

      public SnippetDTO parentGroupId(String parentGroupId)
    • getParentGroupId

      public String getParentGroupId()
      The group id for the components in the snippet.
      Returns:
      parentGroupId
    • setParentGroupId

      public void setParentGroupId(String parentGroupId)
    • processGroups

      public SnippetDTO processGroups(Map<String,RevisionDTO> processGroups)
    • putProcessGroupsItem

      public SnippetDTO putProcessGroupsItem(String key, RevisionDTO processGroupsItem)
    • getProcessGroups

      public Map<String,RevisionDTO> getProcessGroups()
      The ids of the process groups in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      processGroups
    • setProcessGroups

      public void setProcessGroups(Map<String,RevisionDTO> processGroups)
    • remoteProcessGroups

      public SnippetDTO remoteProcessGroups(Map<String,RevisionDTO> remoteProcessGroups)
    • putRemoteProcessGroupsItem

      public SnippetDTO putRemoteProcessGroupsItem(String key, RevisionDTO remoteProcessGroupsItem)
    • getRemoteProcessGroups

      public Map<String,RevisionDTO> getRemoteProcessGroups()
      The ids of the remote process groups in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      remoteProcessGroups
    • setRemoteProcessGroups

      public void setRemoteProcessGroups(Map<String,RevisionDTO> remoteProcessGroups)
    • processors

      public SnippetDTO processors(Map<String,RevisionDTO> processors)
    • putProcessorsItem

      public SnippetDTO putProcessorsItem(String key, RevisionDTO processorsItem)
    • getProcessors

      public Map<String,RevisionDTO> getProcessors()
      The ids of the processors in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      processors
    • setProcessors

      public void setProcessors(Map<String,RevisionDTO> processors)
    • inputPorts

      public SnippetDTO inputPorts(Map<String,RevisionDTO> inputPorts)
    • putInputPortsItem

      public SnippetDTO putInputPortsItem(String key, RevisionDTO inputPortsItem)
    • getInputPorts

      public Map<String,RevisionDTO> getInputPorts()
      The ids of the input ports in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      inputPorts
    • setInputPorts

      public void setInputPorts(Map<String,RevisionDTO> inputPorts)
    • outputPorts

      public SnippetDTO outputPorts(Map<String,RevisionDTO> outputPorts)
    • putOutputPortsItem

      public SnippetDTO putOutputPortsItem(String key, RevisionDTO outputPortsItem)
    • getOutputPorts

      public Map<String,RevisionDTO> getOutputPorts()
      The ids of the output ports in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      outputPorts
    • setOutputPorts

      public void setOutputPorts(Map<String,RevisionDTO> outputPorts)
    • connections

      public SnippetDTO connections(Map<String,RevisionDTO> connections)
    • putConnectionsItem

      public SnippetDTO putConnectionsItem(String key, RevisionDTO connectionsItem)
    • getConnections

      public Map<String,RevisionDTO> getConnections()
      The ids of the connections in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      connections
    • setConnections

      public void setConnections(Map<String,RevisionDTO> connections)
    • labels

      public SnippetDTO labels(Map<String,RevisionDTO> labels)
    • putLabelsItem

      public SnippetDTO putLabelsItem(String key, RevisionDTO labelsItem)
    • getLabels

      public Map<String,RevisionDTO> getLabels()
      The ids of the labels in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      labels
    • setLabels

      public void setLabels(Map<String,RevisionDTO> labels)
    • funnels

      public SnippetDTO funnels(Map<String,RevisionDTO> funnels)
    • putFunnelsItem

      public SnippetDTO putFunnelsItem(String key, RevisionDTO funnelsItem)
    • getFunnels

      public Map<String,RevisionDTO> getFunnels()
      The ids of the funnels in this snippet. These ids will be populated within each response. They can be specified when creating a snippet. However, once a snippet has been created its contents cannot be modified (these ids are ignored during update requests).
      Returns:
      funnels
    • setFunnels

      public void setFunnels(Map<String,RevisionDTO> funnels)
    • 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).