Interface ListModelMetadataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListModelMetadataRequest.Builder,
,ListModelMetadataRequest> SageMakerRequest.Builder
,SdkBuilder<ListModelMetadataRequest.Builder,
,ListModelMetadataRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListModelMetadataRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of models to return in the response.If the response to a previousListModelMetadataResponse
request was truncated, the response includes a NextToken.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListModelMetadataRequest.Builder
searchExpression
(Consumer<ModelMetadataSearchExpression.Builder> searchExpression) One or more filters that searches for the specified resource or resources in a search.searchExpression
(ModelMetadataSearchExpression searchExpression) One or more filters that searches for the specified resource or resources in a search.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
searchExpression
One or more filters that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. Specify the Framework, FrameworkVersion, Domain or Task to filter supported. Filter names and values are case-sensitive.
- Parameters:
searchExpression
- One or more filters that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. Specify the Framework, FrameworkVersion, Domain or Task to filter supported. Filter names and values are case-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchExpression
default ListModelMetadataRequest.Builder searchExpression(Consumer<ModelMetadataSearchExpression.Builder> searchExpression) One or more filters that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. Specify the Framework, FrameworkVersion, Domain or Task to filter supported. Filter names and values are case-sensitive.
This is a convenience method that creates an instance of theModelMetadataSearchExpression.Builder
avoiding the need to create one manually viaModelMetadataSearchExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchExpression(ModelMetadataSearchExpression)
.- Parameters:
searchExpression
- a consumer that will call methods onModelMetadataSearchExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response to a previous
ListModelMetadataResponse
request was truncated, the response includes a NextToken. To retrieve the next set of model metadata, use the token in the next request.- Parameters:
nextToken
- If the response to a previousListModelMetadataResponse
request was truncated, the response includes a NextToken. To retrieve the next set of model metadata, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of models to return in the response.
- Parameters:
maxResults
- The maximum number of models to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListModelMetadataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListModelMetadataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-