Interface ListProjectsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>,LookoutVisionResponse.Builder,SdkBuilder<ListProjectsResponse.Builder,ListProjectsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListProjectsResponse
public static interface ListProjectsResponse.Builder extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProjectsResponse.BuildernextToken(String 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.ListProjectsResponse.Builderprojects(Collection<ProjectMetadata> projects)A list of projects in your AWS account.ListProjectsResponse.Builderprojects(Consumer<ProjectMetadata.Builder>... projects)A list of projects in your AWS account.ListProjectsResponse.Builderprojects(ProjectMetadata... projects)A list of projects in your AWS account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
projects
ListProjectsResponse.Builder projects(Collection<ProjectMetadata> 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
ListProjectsResponse.Builder projects(ProjectMetadata... 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
ListProjectsResponse.Builder projects(Consumer<ProjectMetadata.Builder>... 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 to#projects(List.) - 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:
#projects(java.util.Collection)
-
nextToken
ListProjectsResponse.Builder nextToken(String 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.
-
-