Interface ListPackageVersionsRequest.Builder

    • Method Detail

      • domain

        ListPackageVersionsRequest.Builder domain​(String domain)

        The name of the domain that contains the repository that contains the requested package versions.

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

        ListPackageVersionsRequest.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

        ListPackageVersionsRequest.Builder repository​(String repository)

        The name of the repository that contains the requested package versions.

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

        ListPackageVersionsRequest.Builder namespace​(String namespace)

        The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

        • 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 of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

        • 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.
      • packageValue

        ListPackageVersionsRequest.Builder packageValue​(String packageValue)

        The name of the package for which you want to request package versions.

        Parameters:
        packageValue - The name of the package for which you want to request package versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListPackageVersionsRequest.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

        ListPackageVersionsRequest.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.
      • originType

        ListPackageVersionsRequest.Builder originType​(String originType)

        The originType used to filter package versions. Only package versions with the provided originType will be returned.

        Parameters:
        originType - The originType used to filter package versions. Only package versions with the provided originType will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageVersionOriginType, PackageVersionOriginType