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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetBuildBatchesResponse.BuilderbuildBatches(Collection<BuildBatch> buildBatches)An array ofBuildBatchobjects that represent the retrieved batch builds.BatchGetBuildBatchesResponse.BuilderbuildBatches(Consumer<BuildBatch.Builder>... buildBatches)An array ofBuildBatchobjects that represent the retrieved batch builds.BatchGetBuildBatchesResponse.BuilderbuildBatches(BuildBatch... buildBatches)An array ofBuildBatchobjects that represent the retrieved batch builds.BatchGetBuildBatchesResponse.BuilderbuildBatchesNotFound(String... buildBatchesNotFound)An array that contains the identifiers of any batch builds that are not found.BatchGetBuildBatchesResponse.BuilderbuildBatchesNotFound(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 Detail
-
buildBatches
BatchGetBuildBatchesResponse.Builder buildBatches(Collection<BuildBatch> buildBatches)
An array of
BuildBatchobjects that represent the retrieved batch builds.- Parameters:
buildBatches- An array ofBuildBatchobjects that represent the retrieved batch builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatches
BatchGetBuildBatchesResponse.Builder buildBatches(BuildBatch... buildBatches)
An array of
BuildBatchobjects that represent the retrieved batch builds.- Parameters:
buildBatches- An array ofBuildBatchobjects that represent the retrieved batch builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatches
BatchGetBuildBatchesResponse.Builder buildBatches(Consumer<BuildBatch.Builder>... buildBatches)
An array of
This is a convenience method that creates an instance of theBuildBatchobjects that represent the retrieved batch builds.BuildBatch.Builderavoiding the need to create one manually viaBuildBatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#buildBatches(List.) - 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:
#buildBatches(java.util.Collection)
-
buildBatchesNotFound
BatchGetBuildBatchesResponse.Builder buildBatchesNotFound(Collection<String> 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
BatchGetBuildBatchesResponse.Builder buildBatchesNotFound(String... 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.
-
-