Interface GetPipelineStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>,SdkBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPipelineStateResponse
public static interface GetPipelineStateResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetPipelineStateResponse.Buildercreated(Instant created)The date and time the pipeline was created, in timestamp format.GetPipelineStateResponse.BuilderpipelineName(String pipelineName)The name of the pipeline for which you want to get the state.GetPipelineStateResponse.BuilderpipelineVersion(Integer pipelineVersion)The version number of the pipeline.GetPipelineStateResponse.BuilderstageStates(Collection<StageState> stageStates)A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.GetPipelineStateResponse.BuilderstageStates(Consumer<StageState.Builder>... stageStates)A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.GetPipelineStateResponse.BuilderstageStates(StageState... stageStates)A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.GetPipelineStateResponse.Builderupdated(Instant updated)The date and time the pipeline was last updated, in timestamp format.-
Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pipelineName
GetPipelineStateResponse.Builder pipelineName(String pipelineName)
The name of the pipeline for which you want to get the state.
- Parameters:
pipelineName- The name of the pipeline for which you want to get the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineVersion
GetPipelineStateResponse.Builder pipelineVersion(Integer pipelineVersion)
The version number of the pipeline.
A newly created pipeline is always assigned a version number of
1.- Parameters:
pipelineVersion- The version number of the pipeline.A newly created pipeline is always assigned a version number of
1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageStates
GetPipelineStateResponse.Builder stageStates(Collection<StageState> stageStates)
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
- Parameters:
stageStates- A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageStates
GetPipelineStateResponse.Builder stageStates(StageState... stageStates)
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
- Parameters:
stageStates- A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageStates
GetPipelineStateResponse.Builder stageStates(Consumer<StageState.Builder>... stageStates)
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
This is a convenience method that creates an instance of theStageState.Builderavoiding the need to create one manually viaStageState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stageStates(List.) - Parameters:
stageStates- a consumer that will call methods onStageState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stageStates(java.util.Collection)
-
created
GetPipelineStateResponse.Builder created(Instant created)
The date and time the pipeline was created, in timestamp format.
- Parameters:
created- The date and time the pipeline was created, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updated
GetPipelineStateResponse.Builder updated(Instant updated)
The date and time the pipeline was last updated, in timestamp format.
- Parameters:
updated- The date and time the pipeline was last updated, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-