Interface BatchGetBuildsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<BatchGetBuildsResponse.Builder,
,BatchGetBuildsResponse> SdkBuilder<BatchGetBuildsResponse.Builder,
,BatchGetBuildsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetBuildsResponse
public static interface BatchGetBuildsResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetBuildsResponse.Builder,BatchGetBuildsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbuilds
(Collection<Build> builds) Information about the requested builds.builds
(Consumer<Build.Builder>... builds) Information about the requested builds.Information about the requested builds.buildsNotFound
(String... buildsNotFound) The IDs of builds for which information could not be found.buildsNotFound
(Collection<String> buildsNotFound) The IDs of builds for which information could not be 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
-
builds
Information about the requested builds.
- Parameters:
builds
- Information about the requested builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
builds
Information about the requested builds.
- Parameters:
builds
- Information about the requested builds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
builds
Information about the requested builds.
This is a convenience method that creates an instance of theBuild.Builder
avoiding the need to create one manually viaBuild.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobuilds(List<Build>)
.- Parameters:
builds
- a consumer that will call methods onBuild.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
buildsNotFound
The IDs of builds for which information could not be found.
- Parameters:
buildsNotFound
- The IDs of builds for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsNotFound
The IDs of builds for which information could not be found.
- Parameters:
buildsNotFound
- The IDs of builds for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-