Interface DisposePackageVersionsRequest.Builder

    • Method Detail

      • domain

        DisposePackageVersionsRequest.Builder domain​(String domain)

        The name of the domain that contains the repository you want to dispose.

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

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

        DisposePackageVersionsRequest.Builder repository​(String repository)

        The name of the repository that contains the package versions you want to dispose.

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

        DisposePackageVersionsRequest.Builder format​(String format)

        A format that specifies the type of package versions you want to dispose.

        Parameters:
        format - A format that specifies the type of package versions you want to dispose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat, PackageFormat
      • namespace

        DisposePackageVersionsRequest.Builder namespace​(String namespace)

        The namespace of the package versions to be disposed. 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 versions to be disposed. 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

        DisposePackageVersionsRequest.Builder packageValue​(String packageValue)

        The name of the package with the versions you want to dispose.

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

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

        The versions of the package you want to dispose.

        Parameters:
        versions - The versions of the package you want to dispose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versions

        DisposePackageVersionsRequest.Builder versions​(String... versions)

        The versions of the package you want to dispose.

        Parameters:
        versions - The versions of the package you want to dispose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionRevisions

        DisposePackageVersionsRequest.Builder versionRevisions​(Map<String,​String> versionRevisions)

        The revisions of the package versions you want to dispose.

        Parameters:
        versionRevisions - The revisions of the package versions you want to dispose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.