Interface ListPackageVersionsResponse.Builder

    • Method Detail

      • defaultDisplayVersion

        ListPackageVersionsResponse.Builder defaultDisplayVersion​(String defaultDisplayVersion)

        The default package version to display. This depends on the package format:

        • For Maven and PyPI packages, it's the most recently published package version.

        • For npm packages, it's the version referenced by the latest tag. If the latest tag is not set, it's the most recently published package version.

        Parameters:
        defaultDisplayVersion - The default package version to display. This depends on the package format:

        • For Maven and PyPI packages, it's the most recently published package version.

        • For npm packages, it's the version referenced by the latest tag. If the latest tag is not set, it's the most recently published package version.

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

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

        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.

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

        ListPackageVersionsResponse.Builder packageValue​(String packageValue)

        The name of the package.

        Parameters:
        packageValue - The name of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPackageVersionsResponse.Builder nextToken​(String nextToken)

        If there are additional results, this is the token for the next set of results.

        Parameters:
        nextToken - If there are additional results, this is the token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.