public static interface GetPipelineStateResponse.Builder extends CodePipelineResponse.Builder, CopyableBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>
Modifier and Type | Method and Description |
---|---|
GetPipelineStateResponse.Builder |
created(Instant created)
The date and time the pipeline was created, in timestamp format.
|
GetPipelineStateResponse.Builder |
pipelineName(String pipelineName)
The name of the pipeline for which you want to get the state.
|
GetPipelineStateResponse.Builder |
pipelineVersion(Integer pipelineVersion)
The version number of the pipeline.
|
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.
|
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.
|
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.
|
GetPipelineStateResponse.Builder |
updated(Instant updated)
The date and time the pipeline was last updated, in timestamp format.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetPipelineStateResponse.Builder pipelineName(String pipelineName)
The name of the pipeline for which you want to get the state.
pipelineName
- The name of the pipeline for which you want to get the state.GetPipelineStateResponse.Builder pipelineVersion(Integer pipelineVersion)
The version number of the pipeline.
A newly-created pipeline is always assigned a version number of 1
.
pipelineVersion
- The version number of the pipeline.
A newly-created pipeline is always assigned a version number of 1
.
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.
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.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.
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.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #stageStates(List)
.stageStates
- a consumer that will call methods on List.Builder
#stageStates(List)
GetPipelineStateResponse.Builder created(Instant created)
The date and time the pipeline was created, in timestamp format.
created
- The date and time the pipeline was created, in timestamp format.GetPipelineStateResponse.Builder updated(Instant updated)
The date and time the pipeline was last updated, in timestamp format.
updated
- The date and time the pipeline was last updated, in timestamp format.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.