Interface BatchGetBuildBatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<BatchGetBuildBatchesResponse.Builder,
,BatchGetBuildBatchesResponse> SdkBuilder<BatchGetBuildBatchesResponse.Builder,
,BatchGetBuildBatchesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetBuildBatchesResponse
public static interface BatchGetBuildBatchesResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetBuildBatchesResponse.Builder,BatchGetBuildBatchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbuildBatches
(Collection<BuildBatch> buildBatches) An array ofBuildBatch
objects that represent the retrieved batch builds.buildBatches
(Consumer<BuildBatch.Builder>... buildBatches) An array ofBuildBatch
objects that represent the retrieved batch builds.buildBatches
(BuildBatch... buildBatches) An array ofBuildBatch
objects that represent the retrieved batch builds.buildBatchesNotFound
(String... buildBatchesNotFound) An array that contains the identifiers of any batch builds that are not found.buildBatchesNotFound
(Collection<String> buildBatchesNotFound) An array that contains the identifiers of any batch builds that are not found.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
buildBatches
An array of
BuildBatch
objects that represent the retrieved batch builds.- Parameters:
buildBatches
- An array ofBuildBatch
objects that represent the retrieved batch builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatches
An array of
BuildBatch
objects that represent the retrieved batch builds.- Parameters:
buildBatches
- An array ofBuildBatch
objects that represent the retrieved batch builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatches
An array of
This is a convenience method that creates an instance of theBuildBatch
objects that represent the retrieved batch builds.BuildBatch.Builder
avoiding the need to create one manually viaBuildBatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobuildBatches(List<BuildBatch>)
.- Parameters:
buildBatches
- a consumer that will call methods onBuildBatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildBatchesNotFound
An array that contains the identifiers of any batch builds that are not found.
- Parameters:
buildBatchesNotFound
- An array that contains the identifiers of any batch builds that are not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatchesNotFound
An array that contains the identifiers of any batch builds that are not found.
- Parameters:
buildBatchesNotFound
- An array that contains the identifiers of any batch builds that are not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-