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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelCardsResponse.BuildermodelCardSummaries(Collection<ModelCardSummary> modelCardSummaries)The summaries of the listed model cards.ListModelCardsResponse.BuildermodelCardSummaries(Consumer<ModelCardSummary.Builder>... modelCardSummaries)The summaries of the listed model cards.ListModelCardsResponse.BuildermodelCardSummaries(ModelCardSummary... modelCardSummaries)The summaries of the listed model cards.ListModelCardsResponse.BuildernextToken(String nextToken)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 Detail
-
modelCardSummaries
ListModelCardsResponse.Builder modelCardSummaries(Collection<ModelCardSummary> 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(ModelCardSummary... 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.Builderavoiding the need to create one manually viaModelCardSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelCardSummaries(List.) - 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:
#modelCardSummaries(java.util.Collection)
-
nextToken
ListModelCardsResponse.Builder nextToken(String 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.
-
-