Interface DisposePackageVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<DisposePackageVersionsRequest.Builder,,DisposePackageVersionsRequest> SdkBuilder<DisposePackageVersionsRequest.Builder,,DisposePackageVersionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DisposePackageVersionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the repository you want to dispose.domainOwner(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.expectedStatus(String expectedStatus) The expected status of the package version to dispose.expectedStatus(PackageVersionStatus expectedStatus) The expected status of the package version to dispose.A format that specifies the type of package versions you want to dispose.format(PackageFormat format) A format that specifies the type of package versions you want to dispose.The namespace of the package versions to be disposed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageValue(String packageValue) The name of the package with the versions you want to dispose.repository(String repository) The name of the repository that contains the package versions you want to dispose.versionRevisions(Map<String, String> versionRevisions) The revisions of the package versions you want to dispose.The versions of the package you want to dispose.versions(Collection<String> versions) The versions of the package you want to dispose.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 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
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:
-
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:
-
namespace
The namespace of the package versions to be disposed. The package component that specifies its namespace depends on its type. For example:
The namespace is required when disposing 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, NuGet, Ruby, and Cargo 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 disposed. The package component that specifies its namespace depends on its type. For example:The namespace is required when disposing 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, NuGet, Ruby, and Cargo 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
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
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
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
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.
-
expectedStatus
The expected status of the package version to dispose.
- Parameters:
expectedStatus- The expected status of the package version to dispose.- 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 dispose.
- Parameters:
expectedStatus- The expected status of the package version to dispose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DisposePackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DisposePackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-