Class Step

java.lang.Object
com.datadog.api.client.v2.model.Step

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Step extends Object
A Step is a sub-component of a workflow. Each Step performs an action.
  • Field Details

  • Constructor Details

    • Step

      public Step()
    • Step

      public Step(String actionId, String name)
  • Method Details

    • actionId

      public Step actionId(String actionId)
    • getActionId

      public String getActionId()
      The unique identifier of an action.
      Returns:
      actionId
    • setActionId

      public void setActionId(String actionId)
    • completionGate

      public Step completionGate(CompletionGate completionGate)
    • getCompletionGate

      @Nullable public CompletionGate getCompletionGate()
      Used to create conditions before running subsequent actions.
      Returns:
      completionGate
    • setCompletionGate

      public void setCompletionGate(CompletionGate completionGate)
    • connectionLabel

      public Step connectionLabel(String connectionLabel)
    • getConnectionLabel

      @Nullable public String getConnectionLabel()
      The unique identifier of a connection defined in the spec.
      Returns:
      connectionLabel
    • setConnectionLabel

      public void setConnectionLabel(String connectionLabel)
    • display

      public Step display(StepDisplay display)
    • getDisplay

      @Nullable public StepDisplay getDisplay()
      The position of a step on the workflow canvas. Omit display from every step to use automatic layout, or provide it for every step to preserve a manual layout.
      Returns:
      display
    • setDisplay

      public void setDisplay(StepDisplay display)
    • errorHandlers

      public Step errorHandlers(List<ErrorHandler> errorHandlers)
    • addErrorHandlersItem

      public Step addErrorHandlersItem(ErrorHandler errorHandlersItem)
    • getErrorHandlers

      @Nullable public List<ErrorHandler> getErrorHandlers()
      The Step errorHandlers.
      Returns:
      errorHandlers
    • setErrorHandlers

      public void setErrorHandlers(List<ErrorHandler> errorHandlers)
    • name

      public Step name(String name)
    • getName

      public String getName()
      Name of the step.
      Returns:
      name
    • setName

      public void setName(String name)
    • outboundEdges

      public Step outboundEdges(List<OutboundEdge> outboundEdges)
    • addOutboundEdgesItem

      public Step addOutboundEdgesItem(OutboundEdge outboundEdgesItem)
    • getOutboundEdges

      @Nullable public List<OutboundEdge> getOutboundEdges()
      A list of subsequent actions to run. This list is empty for a terminal step.
      Returns:
      outboundEdges
    • setOutboundEdges

      public void setOutboundEdges(List<OutboundEdge> outboundEdges)
    • parameters

      public Step parameters(List<Parameter> parameters)
    • addParametersItem

      public Step addParametersItem(Parameter parametersItem)
    • getParameters

      @Nullable public List<Parameter> getParameters()
      A list of inputs for an action.
      Returns:
      parameters
    • setParameters

      public void setParameters(List<Parameter> parameters)
    • readinessGate

      public Step readinessGate(ReadinessGate readinessGate)
    • getReadinessGate

      @Nullable public ReadinessGate getReadinessGate()
      Used to merge multiple branches into a single branch.
      Returns:
      readinessGate
    • setReadinessGate

      public void setReadinessGate(ReadinessGate readinessGate)
    • putAdditionalProperty

      public Step putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      Step
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this Step object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object