Interface ListContextsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContextsResponse.Builder,,ListContextsResponse> SageMakerResponse.Builder,SdkBuilder<ListContextsResponse.Builder,,ListContextsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContextsResponse
public static interface ListContextsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListContextsResponse.Builder,ListContextsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontextSummaries(Collection<ContextSummary> contextSummaries) A list of contexts and their properties.contextSummaries(Consumer<ContextSummary.Builder>... contextSummaries) A list of contexts and their properties.contextSummaries(ContextSummary... contextSummaries) A list of contexts and their properties.A token for getting the next set of contexts, if there are any.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
-
contextSummaries
A list of contexts and their properties.
- Parameters:
contextSummaries- A list of contexts and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextSummaries
A list of contexts and their properties.
- Parameters:
contextSummaries- A list of contexts and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextSummaries
A list of contexts and their properties.
This is a convenience method that creates an instance of theContextSummary.Builderavoiding the need to create one manually viaContextSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextSummaries(List<ContextSummary>).- Parameters:
contextSummaries- a consumer that will call methods onContextSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token for getting the next set of contexts, if there are any.
- Parameters:
nextToken- A token for getting the next set of contexts, if there are any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-