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 Details

    • 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

      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:
    • 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 no ModelPackageType 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 no ModelPackageType 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

      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 no ModelPackageType 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 no ModelPackageType 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 a NextToken. To retrieve the next set of model packages, use the token in the next request.

      Parameters:
      nextToken - If the response to a previous ListModelPackages request was truncated, the response includes a NextToken. 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 is CreationTime.
      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 is CreationTime.
      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 is Ascending.
      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 is Ascending.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.