Interface BatchGetProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<BatchGetProjectsResponse.Builder,,BatchGetProjectsResponse> SdkBuilder<BatchGetProjectsResponse.Builder,,BatchGetProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetProjectsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetProjectsResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetProjectsResponse.Builder,BatchGetProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprojects(Collection<Project> projects) Information about the requested build projects.projects(Consumer<Project.Builder>... projects) Information about the requested build projects.Information about the requested build projects.projectsNotFound(String... projectsNotFound) The names of build projects for which information could not be found.projectsNotFound(Collection<String> projectsNotFound) The names of build projects for which information could not be 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
-
projects
Information about the requested build projects.
- Parameters:
projects- Information about the requested build projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
Information about the requested build projects.
- Parameters:
projects- Information about the requested build projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
Information about the requested build projects.
This is a convenience method that creates an instance of theProject.Builderavoiding the need to create one manually viaProject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojects(List<Project>).- Parameters:
projects- a consumer that will call methods onProject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectsNotFound
The names of build projects for which information could not be found.
- Parameters:
projectsNotFound- The names of build projects for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectsNotFound
The names of build projects for which information could not be found.
- Parameters:
projectsNotFound- The names of build projects for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-