Interface BatchGetBuildBatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<BatchGetBuildBatchesResponse.Builder,,BatchGetBuildBatchesResponse> SdkBuilder<BatchGetBuildBatchesResponse.Builder,,BatchGetBuildBatchesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetBuildBatchesResponse
@Mutable
@NotThreadSafe
public static interface BatchGetBuildBatchesResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetBuildBatchesResponse.Builder,BatchGetBuildBatchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbuildBatches(Collection<BuildBatch> buildBatches) An array ofBuildBatchobjects that represent the retrieved batch builds.buildBatches(Consumer<BuildBatch.Builder>... buildBatches) An array ofBuildBatchobjects that represent the retrieved batch builds.buildBatches(BuildBatch... buildBatches) An array ofBuildBatchobjects 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, 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
-
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
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
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 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.
-