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