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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletePackageVersionsRequest.Builderdomain(String domain)The name of the domain that contains the package to delete.DeletePackageVersionsRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.DeletePackageVersionsRequest.BuilderexpectedStatus(String expectedStatus)The expected status of the package version to delete.DeletePackageVersionsRequest.BuilderexpectedStatus(PackageVersionStatus expectedStatus)The expected status of the package version to delete.DeletePackageVersionsRequest.Builderformat(String format)The format of the package versions to delete.DeletePackageVersionsRequest.Builderformat(PackageFormat format)The format of the package versions to delete.DeletePackageVersionsRequest.Buildernamespace(String namespace)The namespace of the package versions to be deleted.DeletePackageVersionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeletePackageVersionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeletePackageVersionsRequest.BuilderpackageValue(String packageValue)The name of the package with the versions to delete.DeletePackageVersionsRequest.Builderrepository(String repository)The name of the repository that contains the package versions to delete.DeletePackageVersionsRequest.Builderversions(String... versions)An array of strings that specify the versions of the package to delete.DeletePackageVersionsRequest.Builderversions(Collection<String> versions)An array of strings that specify the versions of the package to delete.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
format
DeletePackageVersionsRequest.Builder format(String 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:
PackageFormat,PackageFormat
-
format
DeletePackageVersionsRequest.Builder format(PackageFormat 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:
PackageFormat,PackageFormat
-
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.
-
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:
PackageVersionStatus,PackageVersionStatus
-
expectedStatus
DeletePackageVersionsRequest.Builder expectedStatus(PackageVersionStatus 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:
PackageVersionStatus,PackageVersionStatus
-
overrideConfiguration
DeletePackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeletePackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-