Interface DeletePackageVersionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeartifactRequest.Builder, CopyableBuilder<DeletePackageVersionsRequest.Builder,DeletePackageVersionsRequest>, SdkBuilder<DeletePackageVersionsRequest.Builder,DeletePackageVersionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeletePackageVersionsRequest

public static interface DeletePackageVersionsRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<DeletePackageVersionsRequest.Builder,DeletePackageVersionsRequest>
  • Method Details

    • 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

      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.
    • format

      The format of the package versions to delete.

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

      The format of the package versions to delete.

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

      The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:

      The namespace is required when deleting package versions of the following formats:

      • Maven

      • Swift

      • generic

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

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

      • The namespace of a generic package is its namespace.

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

      Parameters:
      namespace - The namespace of the package versions to be deleted. The package component that specifies its namespace depends on its type. For example:

      The namespace is required when deleting package versions of the following formats:

      • Maven

      • Swift

      • generic

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

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

      • The namespace of a generic package is its namespace.

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

      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

      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.
    • expectedStatus

      DeletePackageVersionsRequest.Builder expectedStatus(String expectedStatus)

      The expected status of the package version to delete.

      Parameters:
      expectedStatus - The expected status of the package version to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expectedStatus

      The expected status of the package version to delete.

      Parameters:
      expectedStatus - The expected status of the package version to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      DeletePackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.