Interface DeletePackageVersionsRequest.Builder

    • Method Detail

      • domain

        DeletePackageVersionsRequest.Builder domain​(String domain)

        The name of the domain that contains the package to delete.

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

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

        DeletePackageVersionsRequest.Builder repository​(String repository)

        The name of the repository that contains the package versions to delete.

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

        DeletePackageVersionsRequest.Builder namespace​(String namespace)

        The namespace of the package versions to be deleted. 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 is required when deleting Maven package versions.

        • 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 versions to be deleted. 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 is required when deleting Maven package versions.

        • 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

        DeletePackageVersionsRequest.Builder packageValue​(String packageValue)

        The name of the package with the versions to delete.

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

        DeletePackageVersionsRequest.Builder versions​(Collection<String> versions)

        An array of strings that specify the versions of the package to delete.

        Parameters:
        versions - An array of strings that specify the versions of the package to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versions

        DeletePackageVersionsRequest.Builder versions​(String... versions)

        An array of strings that specify the versions of the package to delete.

        Parameters:
        versions - An array of strings that specify the versions of the package to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.