public static interface ListContextsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListContextsResponse.Builder,ListContextsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListContextsResponse.Builder |
contextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
|
ListContextsResponse.Builder |
contextSummaries(Consumer<ContextSummary.Builder>... contextSummaries)
A list of contexts and their properties.
|
ListContextsResponse.Builder |
contextSummaries(ContextSummary... contextSummaries)
A list of contexts and their properties.
|
ListContextsResponse.Builder |
nextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListContextsResponse.Builder contextSummaries(Collection<ContextSummary> contextSummaries)
A list of contexts and their properties.
contextSummaries - A list of contexts and their properties.ListContextsResponse.Builder contextSummaries(ContextSummary... contextSummaries)
A list of contexts and their properties.
contextSummaries - A list of contexts and their properties.ListContextsResponse.Builder contextSummaries(Consumer<ContextSummary.Builder>... contextSummaries)
A list of contexts and their properties.
This is a convenience method that creates an instance of theContextSummary.Builder avoiding the need to create
one manually via ContextSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #contextSummaries(List.
contextSummaries - a consumer that will call methods on
ContextSummary.Builder#contextSummaries(java.util.Collection) ListContextsResponse.Builder nextToken(String nextToken)
A token for getting the next set of contexts, if there are any.
nextToken - A token for getting the next set of contexts, if there are any.Copyright © 2022. All rights reserved.