Interface ListModelMetadataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListModelMetadataRequest.Builder,ListModelMetadataRequest>,SageMakerRequest.Builder,SdkBuilder<ListModelMetadataRequest.Builder,ListModelMetadataRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListModelMetadataRequest
public static interface ListModelMetadataRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListModelMetadataRequest.Builder,ListModelMetadataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListModelMetadataRequest.BuildermaxResults(Integer maxResults)The maximum number of models to return in the response.ListModelMetadataRequest.BuildernextToken(String nextToken)If the response to a previousListModelMetadataResponserequest was truncated, the response includes a NextToken.ListModelMetadataRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListModelMetadataRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListModelMetadataRequest.BuildersearchExpression(Consumer<ModelMetadataSearchExpression.Builder> searchExpression)One or more filters that searches for the specified resource or resources in a search.ListModelMetadataRequest.BuildersearchExpression(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 Detail
-
searchExpression
ListModelMetadataRequest.Builder searchExpression(ModelMetadataSearchExpression 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:
searchExpression(ModelMetadataSearchExpression)
-
nextToken
ListModelMetadataRequest.Builder nextToken(String 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
ListModelMetadataRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListModelMetadataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-