Interface GetPackageVersionAssetRequest.Builder

    • Method Detail

      • domain

        GetPackageVersionAssetRequest.Builder domain​(String domain)

        The name of the domain that contains the repository that contains the package version with the requested asset.

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

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

        GetPackageVersionAssetRequest.Builder repository​(String repository)

        The repository that contains the package version with the requested asset.

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

        GetPackageVersionAssetRequest.Builder format​(String format)

        A format that specifies the type of the package version with the requested asset file.

        Parameters:
        format - A format that specifies the type of the package version with the requested asset file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • format

        GetPackageVersionAssetRequest.Builder format​(PackageFormat format)

        A format that specifies the type of the package version with the requested asset file.

        Parameters:
        format - A format that specifies the type of the package version with the requested asset file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • namespace

        GetPackageVersionAssetRequest.Builder namespace​(String namespace)

        The namespace of the package version with the requested asset file. 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 with the requested asset file. 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

        GetPackageVersionAssetRequest.Builder packageValue​(String packageValue)

        The name of the package that contains the requested asset.

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

        GetPackageVersionAssetRequest.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.
      • asset

        GetPackageVersionAssetRequest.Builder asset​(String asset)

        The name of the requested asset.

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

        GetPackageVersionAssetRequest.Builder packageVersionRevision​(String packageVersionRevision)

        The name of the package version revision that contains the requested asset.

        Parameters:
        packageVersionRevision - The name of the package version revision that contains the requested asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.