Interface ListModelPackagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListModelPackagesRequest.Builder,ListModelPackagesRequest>
,SageMakerRequest.Builder
,SdkBuilder<ListModelPackagesRequest.Builder,ListModelPackagesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListModelPackagesRequest
public static interface ListModelPackagesRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListModelPackagesRequest.Builder,ListModelPackagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelPackagesRequest.Builder
creationTimeAfter(Instant creationTimeAfter)
A filter that returns only model packages created after the specified time (timestamp).ListModelPackagesRequest.Builder
creationTimeBefore(Instant creationTimeBefore)
A filter that returns only model packages created before the specified time (timestamp).ListModelPackagesRequest.Builder
maxResults(Integer maxResults)
The maximum number of model packages to return in the response.ListModelPackagesRequest.Builder
modelApprovalStatus(String modelApprovalStatus)
A filter that returns only the model packages with the specified approval status.ListModelPackagesRequest.Builder
modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
A filter that returns only the model packages with the specified approval status.ListModelPackagesRequest.Builder
modelPackageGroupName(String modelPackageGroupName)
A filter that returns only model versions that belong to the specified model group.ListModelPackagesRequest.Builder
modelPackageType(String modelPackageType)
A filter that returns only the model packages of the specified type.ListModelPackagesRequest.Builder
modelPackageType(ModelPackageType modelPackageType)
A filter that returns only the model packages of the specified type.ListModelPackagesRequest.Builder
nameContains(String nameContains)
A string in the model package name.ListModelPackagesRequest.Builder
nextToken(String nextToken)
If the response to a previousListModelPackages
request was truncated, the response includes aNextToken
.ListModelPackagesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListModelPackagesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ListModelPackagesRequest.Builder
sortBy(String sortBy)
The parameter by which to sort the results.ListModelPackagesRequest.Builder
sortBy(ModelPackageSortBy sortBy)
The parameter by which to sort the results.ListModelPackagesRequest.Builder
sortOrder(String sortOrder)
The sort order for the results.ListModelPackagesRequest.Builder
sortOrder(SortOrder sortOrder)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
creationTimeAfter
ListModelPackagesRequest.Builder creationTimeAfter(Instant 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
ListModelPackagesRequest.Builder creationTimeBefore(Instant 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
ListModelPackagesRequest.Builder maxResults(Integer 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
ListModelPackagesRequest.Builder nameContains(String 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
ListModelPackagesRequest.Builder modelApprovalStatus(String 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
,ModelApprovalStatus
-
modelApprovalStatus
ListModelPackagesRequest.Builder modelApprovalStatus(ModelApprovalStatus 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
,ModelApprovalStatus
-
modelPackageGroupName
ListModelPackagesRequest.Builder modelPackageGroupName(String 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
ListModelPackagesRequest.Builder modelPackageType(String 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
,ModelPackageType
-
-
modelPackageType
ListModelPackagesRequest.Builder modelPackageType(ModelPackageType 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
,ModelPackageType
-
-
nextToken
ListModelPackagesRequest.Builder nextToken(String 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
ListModelPackagesRequest.Builder sortBy(String 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:
ModelPackageSortBy
,ModelPackageSortBy
-
sortBy
ListModelPackagesRequest.Builder sortBy(ModelPackageSortBy 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:
ModelPackageSortBy
,ModelPackageSortBy
-
sortOrder
ListModelPackagesRequest.Builder sortOrder(String sortOrder)
The sort order for the results. The default is
Ascending
.
-
sortOrder
ListModelPackagesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order for the results. The default is
Ascending
.
-
overrideConfiguration
ListModelPackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListModelPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-