Interface ListPackagesRequest.Builder

    • Method Detail

      • domain

        ListPackagesRequest.Builder domain​(String domain)

        The name of the domain that contains the repository that contains the requested packages.

        Parameters:
        domain - The name of the domain that contains the repository that contains the requested packages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainOwner

        ListPackagesRequest.Builder domainOwner​(String domainOwner)

        The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

        Parameters:
        domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repository

        ListPackagesRequest.Builder repository​(String repository)

        The name of the repository that contains the requested packages.

        Parameters:
        repository - The name of the repository that contains the requested packages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • format

        ListPackagesRequest.Builder format​(String format)

        The format used to filter requested packages. Only packages from the provided format will be returned.

        Parameters:
        format - The format used to filter requested packages. Only packages from the provided format will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • format

        ListPackagesRequest.Builder format​(PackageFormat format)

        The format used to filter requested packages. Only packages from the provided format will be returned.

        Parameters:
        format - The format used to filter requested packages. Only packages from the provided format will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • namespace

        ListPackagesRequest.Builder namespace​(String namespace)

        The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior.

        Each package format uses namespace as follows:

        • The namespace of a Maven package is its groupId.

        • The namespace of an npm package is its scope.

        • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

        • The namespace of a generic package is its namespace.

        Parameters:
        namespace - The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior.

        Each package format uses namespace as follows:

        • The namespace of a Maven package is its groupId.

        • The namespace of an npm package is its scope.

        • Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.

        • The namespace of a generic package is its namespace.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packagePrefix

        ListPackagesRequest.Builder packagePrefix​(String packagePrefix)

        A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.

        Parameters:
        packagePrefix - A prefix used to filter requested packages. Only packages with names that start with packagePrefix are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListPackagesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per page.

        Parameters:
        maxResults - The maximum number of results to return per page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPackagesRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        Parameters:
        nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publish

        ListPackagesRequest.Builder publish​(String publish)

        The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

        Parameters:
        publish - The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowPublish, AllowPublish
      • publish

        ListPackagesRequest.Builder publish​(AllowPublish publish)

        The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

        Parameters:
        publish - The value of the Publish package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowPublish, AllowPublish
      • upstream

        ListPackagesRequest.Builder upstream​(String upstream)

        The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

        Parameters:
        upstream - The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowUpstream, AllowUpstream
      • upstream

        ListPackagesRequest.Builder upstream​(AllowUpstream upstream)

        The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.

        Parameters:
        upstream - The value of the Upstream package origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowUpstream, AllowUpstream