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