Interface ListModelPackagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListModelPackagesRequest.Builder,
,ListModelPackagesRequest> SageMakerRequest.Builder
,SdkBuilder<ListModelPackagesRequest.Builder,
,ListModelPackagesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListModelPackagesRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter
(Instant creationTimeAfter) A filter that returns only model packages created after the specified time (timestamp).creationTimeBefore
(Instant creationTimeBefore) A filter that returns only model packages created before the specified time (timestamp).maxResults
(Integer maxResults) The maximum number of model packages to return in the response.modelApprovalStatus
(String modelApprovalStatus) A filter that returns only the model packages with the specified approval status.modelApprovalStatus
(ModelApprovalStatus modelApprovalStatus) A filter that returns only the model packages with the specified approval status.modelPackageGroupName
(String modelPackageGroupName) A filter that returns only model versions that belong to the specified model group.modelPackageType
(String modelPackageType) A filter that returns only the model packages of the specified type.modelPackageType
(ModelPackageType modelPackageType) A filter that returns only the model packages of the specified type.nameContains
(String nameContains) A string in the model package name.If the response to a previousListModelPackages
request 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.The parameter by which to sort the results.sortBy
(ModelPackageSortBy sortBy) The parameter by which to sort the results.The sort order for the results.The sort order for the results.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
-
creationTimeAfter
A filter that returns only model packages created after the specified time (timestamp).
- Parameters:
creationTimeAfter
- A filter that returns only model packages created after the specified time (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only model packages created before the specified time (timestamp).
- Parameters:
creationTimeBefore
- A filter that returns only model packages created before the specified time (timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of model packages to return in the response.
- Parameters:
maxResults
- The maximum number of model packages 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 package name. This filter returns only model packages whose name contains the specified string.
- Parameters:
nameContains
- A string in the model package name. This filter returns only model packages whose name contains the specified string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelApprovalStatus
A filter that returns only the model packages with the specified approval status.
- Parameters:
modelApprovalStatus
- A filter that returns only the model packages with the specified approval status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelApprovalStatus
A filter that returns only the model packages with the specified approval status.
- Parameters:
modelApprovalStatus
- A filter that returns only the model packages with the specified approval status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelPackageGroupName
A filter that returns only model versions that belong to the specified model group.
- Parameters:
modelPackageGroupName
- A filter that returns only model versions that belong to the specified model group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageType
A filter that returns only the model packages of the specified type. This can be one of the following values.
-
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified. -
VERSIONED
- List only versioned models. -
BOTH
- List both versioned and unversioned models.
- Parameters:
modelPackageType
- A filter that returns only the model packages of the specified type. This can be one of the following values.-
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified. -
VERSIONED
- List only versioned models. -
BOTH
- List both versioned and unversioned models.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
modelPackageType
A filter that returns only the model packages of the specified type. This can be one of the following values.
-
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified. -
VERSIONED
- List only versioned models. -
BOTH
- List both versioned and unversioned models.
- Parameters:
modelPackageType
- A filter that returns only the model packages of the specified type. This can be one of the following values.-
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified. -
VERSIONED
- List only versioned models. -
BOTH
- List both versioned and unversioned models.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nextToken
If the response to a previous
ListModelPackages
request was truncated, the response includes aNextToken
. To retrieve the next set of model packages, use the token in the next request.- Parameters:
nextToken
- If the response to a previousListModelPackages
request was truncated, the response includes aNextToken
. To retrieve the next set of model packages, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The parameter by which to sort the results. The default is
CreationTime
.- Parameters:
sortBy
- The parameter by which to sort the results. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The parameter by which to sort the results. The default is
CreationTime
.- Parameters:
sortBy
- The parameter by which to sort the 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 the results. The default is
Ascending
.- Parameters:
sortOrder
- The sort order for the results. The default isAscending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the results. The default is
Ascending
.- Parameters:
sortOrder
- The sort order for the results. The default isAscending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListModelPackagesRequest.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
ListModelPackagesRequest.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.
-