Interface ListModelMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListModelMetadataResponse.Builder,
,ListModelMetadataResponse> SageMakerResponse.Builder
,SdkBuilder<ListModelMetadataResponse.Builder,
,ListModelMetadataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListModelMetadataResponse
public static interface ListModelMetadataResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListModelMetadataResponse.Builder,ListModelMetadataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelMetadataSummaries
(Collection<ModelMetadataSummary> modelMetadataSummaries) A structure that holds model metadata.modelMetadataSummaries
(Consumer<ModelMetadataSummary.Builder>... modelMetadataSummaries) A structure that holds model metadata.modelMetadataSummaries
(ModelMetadataSummary... modelMetadataSummaries) A structure that holds model metadata.A token for getting the next set of recommendations, if there are any.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
-
modelMetadataSummaries
ListModelMetadataResponse.Builder modelMetadataSummaries(Collection<ModelMetadataSummary> modelMetadataSummaries) A structure that holds model metadata.
- Parameters:
modelMetadataSummaries
- A structure that holds model metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelMetadataSummaries
ListModelMetadataResponse.Builder modelMetadataSummaries(ModelMetadataSummary... modelMetadataSummaries) A structure that holds model metadata.
- Parameters:
modelMetadataSummaries
- A structure that holds model metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelMetadataSummaries
ListModelMetadataResponse.Builder modelMetadataSummaries(Consumer<ModelMetadataSummary.Builder>... modelMetadataSummaries) A structure that holds model metadata.
This is a convenience method that creates an instance of theModelMetadataSummary.Builder
avoiding the need to create one manually viaModelMetadataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelMetadataSummaries(List<ModelMetadataSummary>)
.- Parameters:
modelMetadataSummaries
- a consumer that will call methods onModelMetadataSummary.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 recommendations, if there are any.
- Parameters:
nextToken
- A token for getting the next set of recommendations, if there are any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-