Interface DeletePackageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<DeletePackageRequest.Builder,DeletePackageRequest>,SdkBuilder<DeletePackageRequest.Builder,DeletePackageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeletePackageRequest
public static interface DeletePackageRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<DeletePackageRequest.Builder,DeletePackageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletePackageRequest.Builderdomain(String domain)The name of the domain that contains the package to delete.DeletePackageRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.DeletePackageRequest.Builderformat(String format)The format of the requested package to delete.DeletePackageRequest.Builderformat(PackageFormat format)The format of the requested package to delete.DeletePackageRequest.Buildernamespace(String namespace)The namespace of the package to delete.DeletePackageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeletePackageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeletePackageRequest.BuilderpackageValue(String packageValue)The name of the package to delete.DeletePackageRequest.Builderrepository(String repository)The name of the repository that contains 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
DeletePackageRequest.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
DeletePackageRequest.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
DeletePackageRequest.Builder repository(String repository)
The name of the repository that contains the package to delete.
- Parameters:
repository- The name of the repository that contains the package to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
DeletePackageRequest.Builder format(String format)
The format of the requested package to delete.
- Parameters:
format- The format of the requested package to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
format
DeletePackageRequest.Builder format(PackageFormat format)
The format of the requested package to delete.
- Parameters:
format- The format of the requested package to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
namespace
DeletePackageRequest.Builder namespace(String namespace)
The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId. The namespace is required when deleting Maven package versions. -
The namespace of an npm package is its
scope. -
Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace.
-
The namespace of a generic package is its
namespace.
- Parameters:
namespace- The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example:-
The namespace of a Maven package is its
groupId. The namespace is required when deleting Maven package versions. -
The namespace of an npm package is its
scope. -
Python and NuGet packages do not contain corresponding components, packages 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
DeletePackageRequest.Builder packageValue(String packageValue)
The name of the package to delete.
- Parameters:
packageValue- The name of the package to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeletePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeletePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-