Interface StepSummary.Builder

    • Method Detail

      • id

        StepSummary.Builder id​(String id)

        The identifier of the cluster step.

        Parameters:
        id - The identifier of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        StepSummary.Builder name​(String name)

        The name of the cluster step.

        Parameters:
        name - The name of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • config

        StepSummary.Builder config​(HadoopStepConfig config)

        The Hadoop job configuration of the cluster step.

        Parameters:
        config - The Hadoop job configuration of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionOnFailure

        StepSummary.Builder actionOnFailure​(String actionOnFailure)

        The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.

        Parameters:
        actionOnFailure - The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionOnFailure, ActionOnFailure
      • actionOnFailure

        StepSummary.Builder actionOnFailure​(ActionOnFailure actionOnFailure)

        The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.

        Parameters:
        actionOnFailure - The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionOnFailure, ActionOnFailure
      • status

        StepSummary.Builder status​(StepStatus status)

        The current execution status details of the cluster step.

        Parameters:
        status - The current execution status details of the cluster step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.