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.BuildercreationTimeAfter(Instant creationTimeAfter)A filter that returns only model packages created after the specified time (timestamp).ListModelPackagesRequest.BuildercreationTimeBefore(Instant creationTimeBefore)A filter that returns only model packages created before the specified time (timestamp).ListModelPackagesRequest.BuildermaxResults(Integer maxResults)The maximum number of model packages to return in the response.ListModelPackagesRequest.BuildermodelApprovalStatus(String modelApprovalStatus)A filter that returns only the model packages with the specified approval status.ListModelPackagesRequest.BuildermodelApprovalStatus(ModelApprovalStatus modelApprovalStatus)A filter that returns only the model packages with the specified approval status.ListModelPackagesRequest.BuildermodelPackageGroupName(String modelPackageGroupName)A filter that returns only model versions that belong to the specified model group.ListModelPackagesRequest.BuildermodelPackageType(String modelPackageType)A filter that returns only the model packages of the specified type.ListModelPackagesRequest.BuildermodelPackageType(ModelPackageType modelPackageType)A filter that returns only the model packages of the specified type.ListModelPackagesRequest.BuildernameContains(String nameContains)A string in the model package name.ListModelPackagesRequest.BuildernextToken(String nextToken)If the response to a previousListModelPackagesrequest was truncated, the response includes aNextToken.ListModelPackagesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListModelPackagesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListModelPackagesRequest.BuildersortBy(String sortBy)The parameter by which to sort the results.ListModelPackagesRequest.BuildersortBy(ModelPackageSortBy sortBy)The parameter by which to sort the results.ListModelPackagesRequest.BuildersortOrder(String sortOrder)The sort order for the results.ListModelPackagesRequest.BuildersortOrder(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, 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 noModelPackageTypeis 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 noModelPackageTypeis 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 noModelPackageTypeis 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 noModelPackageTypeis 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
ListModelPackagesrequest 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 previousListModelPackagesrequest 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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListModelPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-