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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DisableStageTransitionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisableStageTransitionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetPipelineName()The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.StringgetReason()The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.StringgetStageName()The name of the stage where you want to disable the inbound or outbound transition of artifacts.StringgetTransitionType()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).inthashCode()voidsetPipelineName(String pipelineName)The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.voidsetReason(String reason)The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.voidsetStageName(String stageName)The name of the stage where you want to disable the inbound or outbound transition of artifacts.voidsetTransitionType(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).voidsetTransitionType(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).StringtoString()Returns a string representation of this object; useful for testing and debugging.DisableStageTransitionRequestwithPipelineName(String pipelineName)The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.DisableStageTransitionRequestwithReason(String reason)The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.DisableStageTransitionRequestwithStageName(String stageName)The name of the stage where you want to disable the inbound or outbound transition of artifacts.DisableStageTransitionRequestwithTransitionType(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).DisableStageTransitionRequestwithTransitionType(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).-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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:
StageTransitionType
-
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:
StageTransitionType
-
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:
StageTransitionType
-
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:
StageTransitionType
-
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:
StageTransitionType
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableStageTransitionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-