Interface DisableStageTransitionRequest.Builder

    • Method Detail

      • pipelineName

        DisableStageTransitionRequest.Builder pipelineName​(String pipelineName)

        The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.

        Parameters:
        pipelineName - The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageName

        DisableStageTransitionRequest.Builder stageName​(String stageName)

        The name of the stage where you want to disable the inbound or outbound transition of artifacts.

        Parameters:
        stageName - The name of the stage where you want to disable the inbound or outbound transition of artifacts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transitionType

        DisableStageTransitionRequest.Builder transitionType​(String transitionType)

        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).

        Parameters:
        transitionType - Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StageTransitionType, StageTransitionType
      • transitionType

        DisableStageTransitionRequest.Builder transitionType​(StageTransitionType transitionType)

        Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).

        Parameters:
        transitionType - Specifies whether artifacts are prevented from transitioning into the stage and being processed by the actions in that stage (inbound), or prevented from transitioning from the stage after they have been processed by the actions in that stage (outbound).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StageTransitionType, StageTransitionType
      • reason

        DisableStageTransitionRequest.Builder reason​(String reason)

        The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.

        Parameters:
        reason - The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.