Interface ListPipelinesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<ListPipelinesResponse.Builder,,ListPipelinesResponse> SdkBuilder<ListPipelinesResponse.Builder,,ListPipelinesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPipelinesResponse
@Mutable
@NotThreadSafe
public static interface ListPipelinesResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<ListPipelinesResponse.Builder,ListPipelinesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the amount of returned information is significantly large, an identifier is also returned.pipelines(Collection<PipelineSummary> pipelines) The list of pipelines.pipelines(Consumer<PipelineSummary.Builder>... pipelines) The list of pipelines.pipelines(PipelineSummary... pipelines) The list of pipelines.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
pipelines
The list of pipelines.
- Parameters:
pipelines- The list of pipelines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelines
The list of pipelines.
- Parameters:
pipelines- The list of pipelines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelines
The list of pipelines.
This is a convenience method that creates an instance of thePipelineSummary.Builderavoiding the need to create one manually viaPipelineSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topipelines(List<PipelineSummary>).- Parameters:
pipelines- a consumer that will call methods onPipelineSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the amount of returned information is significantly large, an identifier is also returned. It can be used in a subsequent list pipelines call to return the next set of pipelines in the list.
- Parameters:
nextToken- If the amount of returned information is significantly large, an identifier is also returned. It can be used in a subsequent list pipelines call to return the next set of pipelines in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-