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 previousListCompilationJobs
request 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
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaProjectSummary.builder()
.When the
Consumer
completes,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
ListCompilationJobs
request 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 previousListCompilationJobs
request 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.
-