Interface ListModelCardsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListModelCardsResponse.Builder,
,ListModelCardsResponse> SageMakerResponse.Builder
,SdkBuilder<ListModelCardsResponse.Builder,
,ListModelCardsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListModelCardsResponse
public static interface ListModelCardsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListModelCardsResponse.Builder,ListModelCardsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelCardSummaries
(Collection<ModelCardSummary> modelCardSummaries) The summaries of the listed model cards.modelCardSummaries
(Consumer<ModelCardSummary.Builder>... modelCardSummaries) The summaries of the listed model cards.modelCardSummaries
(ModelCardSummary... modelCardSummaries) The summaries of the listed model cards.If the response is truncated, SageMaker returns this token.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
-
modelCardSummaries
The summaries of the listed model cards.
- Parameters:
modelCardSummaries
- The summaries of the listed model cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardSummaries
The summaries of the listed model cards.
- Parameters:
modelCardSummaries
- The summaries of the listed model cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardSummaries
ListModelCardsResponse.Builder modelCardSummaries(Consumer<ModelCardSummary.Builder>... modelCardSummaries) The summaries of the listed model cards.
This is a convenience method that creates an instance of theModelCardSummary.Builder
avoiding the need to create one manually viaModelCardSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelCardSummaries(List<ModelCardSummary>)
.- Parameters:
modelCardSummaries
- a consumer that will call methods onModelCardSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, SageMaker returns this token. To retrieve the next set of model cards, use it in the subsequent request.
- Parameters:
nextToken
- If the response is truncated, SageMaker returns this token. To retrieve the next set of model cards, use it in the subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-