public static interface DeletePackageVersionsRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<DeletePackageVersionsRequest.Builder,DeletePackageVersionsRequest>
| Modifier and Type | Method and Description |
|---|---|
DeletePackageVersionsRequest.Builder |
domain(String domain)
The name of the domain that contains the package to delete.
|
DeletePackageVersionsRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
DeletePackageVersionsRequest.Builder |
expectedStatus(PackageVersionStatus expectedStatus)
The expected status of the package version to delete.
|
DeletePackageVersionsRequest.Builder |
expectedStatus(String expectedStatus)
The expected status of the package version to delete.
|
DeletePackageVersionsRequest.Builder |
format(PackageFormat format)
The format of the package versions to delete.
|
DeletePackageVersionsRequest.Builder |
format(String format)
The format of the package versions to delete.
|
DeletePackageVersionsRequest.Builder |
namespace(String namespace)
The namespace of the package.
|
DeletePackageVersionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeletePackageVersionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeletePackageVersionsRequest.Builder |
packageValue(String packageValue)
The name of the package with the versions to delete.
|
DeletePackageVersionsRequest.Builder |
repository(String repository)
The name of the repository that contains the package versions to delete.
|
DeletePackageVersionsRequest.Builder |
versions(Collection<String> versions)
An array of strings that specify the versions of the package to delete.
|
DeletePackageVersionsRequest.Builder |
versions(String... versions)
An array of strings that specify the versions of the package to delete.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeletePackageVersionsRequest.Builder domain(String domain)
The name of the domain that contains the package to delete.
domain - The name of the domain that contains the package to delete.DeletePackageVersionsRequest.Builder domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or
spaces.DeletePackageVersionsRequest.Builder repository(String repository)
The name of the repository that contains the package versions to delete.
repository - The name of the repository that contains the package versions to delete.DeletePackageVersionsRequest.Builder format(String format)
The format of the package versions to delete. The valid values are:
npm
pypi
maven
format - The format of the package versions to delete. The valid values are:
npm
pypi
maven
PackageFormat,
PackageFormatDeletePackageVersionsRequest.Builder format(PackageFormat format)
The format of the package versions to delete. The valid values are:
npm
pypi
maven
format - The format of the package versions to delete. The valid values are:
npm
pypi
maven
PackageFormat,
PackageFormatDeletePackageVersionsRequest.Builder namespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace - The namespace of the package. The package component that specifies its namespace depends on its type.
For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
DeletePackageVersionsRequest.Builder packageValue(String packageValue)
The name of the package with the versions to delete.
packageValue - The name of the package with the versions to delete.DeletePackageVersionsRequest.Builder versions(Collection<String> versions)
An array of strings that specify the versions of the package to delete.
versions - An array of strings that specify the versions of the package to delete.DeletePackageVersionsRequest.Builder versions(String... versions)
An array of strings that specify the versions of the package to delete.
versions - An array of strings that specify the versions of the package to delete.DeletePackageVersionsRequest.Builder expectedStatus(String expectedStatus)
The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
expectedStatus - The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus,
PackageVersionStatusDeletePackageVersionsRequest.Builder expectedStatus(PackageVersionStatus expectedStatus)
The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
expectedStatus - The expected status of the package version to delete. Valid values are:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus,
PackageVersionStatusDeletePackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDeletePackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.