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 previousListModelMetadataResponserequest 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.BuildersearchExpression(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaModelMetadataSearchExpression.builder().When the
Consumercompletes,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
ListModelMetadataResponserequest 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 previousListModelMetadataResponserequest 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-