Interface ListProjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SageMakerResponse.Builder,SdkBuilder<ListProjectsResponse.Builder,,ListProjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProjectsResponse
public static interface ListProjectsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the result of the previousListCompilationJobsrequest was truncated, the response includes aNextToken.projectSummaryList(Collection<ProjectSummary> projectSummaryList) A list of summaries of projects.projectSummaryList(Consumer<ProjectSummary.Builder>... projectSummaryList) A list of summaries of projects.projectSummaryList(ProjectSummary... projectSummaryList) A list of summaries of projects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
projectSummaryList
A list of summaries of projects.
- Parameters:
projectSummaryList- A list of summaries of projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaryList
A list of summaries of projects.
- Parameters:
projectSummaryList- A list of summaries of projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectSummaryList
ListProjectsResponse.Builder projectSummaryList(Consumer<ProjectSummary.Builder>... projectSummaryList) A list of summaries of projects.
This is a convenience method that creates an instance of theProjectSummary.Builderavoiding the need to create one manually viaProjectSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojectSummaryList(List<ProjectSummary>).- Parameters:
projectSummaryList- a consumer that will call methods onProjectSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the result of the previous
ListCompilationJobsrequest was truncated, the response includes aNextToken. To retrieve the next set of model compilation jobs, use the token in the next request.- Parameters:
nextToken- If the result of the previousListCompilationJobsrequest was truncated, the response includes aNextToken. To retrieve the next set of model compilation jobs, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-