Interface ListModelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListModelsRequest.Builder,,ListModelsRequest> SageMakerRequest.Builder,SdkBuilder<ListModelsRequest.Builder,,ListModelsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListModelsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter(Instant creationTimeAfter) A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).creationTimeBefore(Instant creationTimeBefore) A filter that returns only models created before the specified time (timestamp).maxResults(Integer maxResults) The maximum number of models to return in the response.nameContains(String nameContains) A string in the model name.If the response to a previousListModelsrequest was truncated, the response includes aNextToken.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sorts the list of results.sortBy(ModelSortKey sortBy) Sorts the list of results.The sort order for results.The sort order for results.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
-
sortBy
Sorts the list of results. The default is
CreationTime.- Parameters:
sortBy- Sorts the list of results. The default isCreationTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
Sorts the list of results. The default is
CreationTime.- Parameters:
sortBy- Sorts the list of results. The default isCreationTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results. The default is
Descending.- Parameters:
sortOrder- The sort order for results. The default isDescending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results. The default is
Descending.- Parameters:
sortOrder- The sort order for results. The default isDescending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response to a previous
ListModelsrequest was truncated, the response includes aNextToken. To retrieve the next set of models, use the token in the next request.- Parameters:
nextToken- If the response to a previousListModelsrequest was truncated, the response includes aNextToken. To retrieve the next set of models, 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.
-
nameContains
A string in the model name. This filter returns only models whose name contains the specified string.
- Parameters:
nameContains- A string in the model name. This filter returns only models whose name contains the specified string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only models created before the specified time (timestamp).
- Parameters:
creationTimeBefore- A filter that returns only models created before the specified time (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeAfter
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
- Parameters:
creationTimeAfter- A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListModelsRequest.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
ListModelsRequest.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.
-