Interface ListPackageVersionAssetsRequest.Builder

    • Method Detail

      • domain

        ListPackageVersionAssetsRequest.Builder domain​(String domain)

        The name of the domain that contains the repository associated with the package version assets.

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

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

        ListPackageVersionAssetsRequest.Builder repository​(String repository)

        The name of the repository that contains the package that contains the requested package version assets.

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

        ListPackageVersionAssetsRequest.Builder format​(String format)

        The format of the package that contains the requested package version assets.

        Parameters:
        format - The format of the package that contains the requested package version assets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • namespace

        ListPackageVersionAssetsRequest.Builder namespace​(String namespace)

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

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm package version is its scope.

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

        • The namespace of a generic package is its namespace.

        Parameters:
        namespace - The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:

        • The namespace of a Maven package version is its groupId.

        • The namespace of an npm package version is its scope.

        • Python and NuGet package versions do not contain a corresponding component, package versions 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

        ListPackageVersionAssetsRequest.Builder packageValue​(String packageValue)

        The name of the package that contains the requested package version assets.

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

        ListPackageVersionAssetsRequest.Builder packageVersion​(String packageVersion)

        A string that contains the package version (for example, 3.5.2).

        Parameters:
        packageVersion - A string that contains the package version (for example, 3.5.2).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

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

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