Interface BatchGetProjectsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<BatchGetProjectsResponse.Builder,BatchGetProjectsResponse>,SdkBuilder<BatchGetProjectsResponse.Builder,BatchGetProjectsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetProjectsResponse
public static interface BatchGetProjectsResponse.Builder extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<BatchGetProjectsResponse.Builder,BatchGetProjectsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetProjectsResponse.Builderprojects(Collection<Project> projects)Information about the requested build projects.BatchGetProjectsResponse.Builderprojects(Consumer<Project.Builder>... projects)Information about the requested build projects.BatchGetProjectsResponse.Builderprojects(Project... projects)Information about the requested build projects.BatchGetProjectsResponse.BuilderprojectsNotFound(String... projectsNotFound)The names of build projects for which information could not be found.BatchGetProjectsResponse.BuilderprojectsNotFound(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, 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
-
projects
BatchGetProjectsResponse.Builder projects(Collection<Project> 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
BatchGetProjectsResponse.Builder projects(Project... 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
BatchGetProjectsResponse.Builder projects(Consumer<Project.Builder>... 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 to#projects(List.) - 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:
#projects(java.util.Collection)
-
projectsNotFound
BatchGetProjectsResponse.Builder projectsNotFound(Collection<String> 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
BatchGetProjectsResponse.Builder projectsNotFound(String... 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.
-
-