Interface ListProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> LookoutVisionResponse.Builder,SdkBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectsResponse
@Mutable
@NotThreadSafe
public static interface ListProjectsResponse.Builder
extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.projects(Collection<ProjectMetadata> projects) A list of projects in your AWS account.projects(Consumer<ProjectMetadata.Builder>... projects) A list of projects in your AWS account.projects(ProjectMetadata... projects) A list of projects in your AWS account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.Builder
build, responseMetadata, responseMetadataMethods 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
A list of projects in your AWS account.
- Parameters:
projects- A list of projects in your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
A list of projects in your AWS account.
- Parameters:
projects- A list of projects in your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
A list of projects in your AWS account.
This is a convenience method that creates an instance of theProjectMetadata.Builderavoiding the need to create one manually viaProjectMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojects(List<ProjectMetadata>).- Parameters:
projects- a consumer that will call methods onProjectMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.
- Parameters:
nextToken- If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-