@Generated(value="software.amazon.awssdk:codegen") public class DisableStageTransitionRequest extends CodePipelineRequest implements ToCopyableBuilder<DisableStageTransitionRequest.Builder,DisableStageTransitionRequest>
Represents the input of a DisableStageTransition action.
Modifier and Type | Class and Description |
---|---|
static interface |
DisableStageTransitionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DisableStageTransitionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
pipelineName()
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
|
String |
reason()
The reason given to the user why a stage is disabled, such as waiting for manual approval or manual tests.
|
static Class<? extends DisableStageTransitionRequest.Builder> |
serializableBuilderClass() |
String |
stageName()
The name of the stage where you want to disable the inbound or outbound transition of artifacts.
|
DisableStageTransitionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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).
|
String |
transitionTypeString()
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).
|
requestOverrideConfig
copy
public String pipelineName()
The name of the pipeline in which you want to disable the flow of artifacts from one stage to another.
public String stageName()
The name of the stage where you want to disable the inbound or outbound transition of artifacts.
public 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).
If the service returns an enum value that is not available in the current SDK version, transitionType
will return StageTransitionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from transitionTypeString()
.
StageTransitionType
public String transitionTypeString()
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).
If the service returns an enum value that is not available in the current SDK version, transitionType
will return StageTransitionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from transitionTypeString()
.
StageTransitionType
public 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.
public DisableStageTransitionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DisableStageTransitionRequest.Builder,DisableStageTransitionRequest>
toBuilder
in class CodePipelineRequest
public static DisableStageTransitionRequest.Builder builder()
public static Class<? extends DisableStageTransitionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.