Interface ListProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> DeviceFarmResponse.Builder,SdkBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectsResponse
public static interface ListProjectsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the number of items that are returned is significantly large, this is an identifier that is also returned.projects(Collection<Project> projects) Information about the projects.projects(Consumer<Project.Builder>... projects) Information about the projects.Information about the projects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
projects
Information about the projects.
- Parameters:
projects- Information about the projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
Information about the projects.
- Parameters:
projects- Information about the projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
Information about the 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:
-
nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-