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 DisableStageTransitionRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getPipelineName()
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.String
getReason()
The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.String
getStageName()
The name of the stage where you want to disable the inbound or outbound transition of artifacts.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).int
hashCode()
void
setPipelineName(String pipelineName)
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.void
setReason(String reason)
The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.void
setStageName(String stageName)
The name of the stage where you want to disable the inbound or outbound transition of artifacts.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).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).String
toString()
Returns a string representation of this object; useful for testing and debugging.DisableStageTransitionRequest
withPipelineName(String pipelineName)
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.DisableStageTransitionRequest
withReason(String reason)
The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.DisableStageTransitionRequest
withStageName(String stageName)
The name of the stage where you want to disable the inbound or outbound transition of artifacts.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).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).-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableStageTransitionRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-