Interface ListModelPackagesRequest.Builder

    • 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 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, 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 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, ModelPackageType
      • nextToken

        ListModelPackagesRequest.Builder nextToken​(String 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

        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 is CreationTime.
        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.

        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, SortOrder
      • sortOrder

        ListModelPackagesRequest.Builder sortOrder​(SortOrder 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, SortOrder