Class DisableStageTransitionRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codepipeline.model.DisableStageTransitionRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DisableStageTransitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a disable stage transition input action.

See Also:
  • Constructor Details

    • DisableStageTransitionRequest

      public DisableStageTransitionRequest()
  • Method Details

    • setPipelineName

      public void setPipelineName(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.
    • getPipelineName

      public String getPipelineName()

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

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

      public DisableStageTransitionRequest withPipelineName(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.
    • setStageName

      public void setStageName(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.
    • getStageName

      public String getStageName()

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

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

      public DisableStageTransitionRequest withStageName(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.
    • setTransitionType

      public void setTransitionType(String transitionType)

      Specifies whether artifacts will be 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 will be 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).
      See Also:
    • getTransitionType

      public String getTransitionType()

      Specifies whether artifacts will be 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:
      Specifies whether artifacts will be 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).
      See Also:
    • withTransitionType

      public DisableStageTransitionRequest withTransitionType(String transitionType)

      Specifies whether artifacts will be 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 will be 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:
    • setTransitionType

      public void setTransitionType(StageTransitionType transitionType)

      Specifies whether artifacts will be 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 will be 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).
      See Also:
    • withTransitionType

      public DisableStageTransitionRequest withTransitionType(StageTransitionType transitionType)

      Specifies whether artifacts will be 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 will be 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:
    • setReason

      public void setReason(String reason)

      The reason given to the user why 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 why a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI.
    • getReason

      public String getReason()

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

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

      public DisableStageTransitionRequest withReason(String reason)

      The reason given to the user why 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 why 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.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: