Interface ListPackagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<ListPackagesRequest.Builder,,ListPackagesRequest> SdkBuilder<ListPackagesRequest.Builder,,ListPackagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPackagesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the repository that contains the requested packages.domainOwner(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.The format used to filter requested packages.format(PackageFormat format) The format used to filter requested packages.maxResults(Integer maxResults) The maximum number of results to return per page.The namespace prefix used to filter requested packages.The token for the next set of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packagePrefix(String packagePrefix) A prefix used to filter requested packages.The value of thePublishpackage origin control restriction used to filter requested packages.publish(AllowPublish publish) The value of thePublishpackage origin control restriction used to filter requested packages.repository(String repository) The name of the repository that contains the requested packages.The value of theUpstreampackage origin control restriction used to filter requested packages.upstream(AllowUpstream upstream) The value of theUpstreampackage origin control restriction used to filter requested packages.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 that contains the requested packages.
- Parameters:
domain- The name of the domain that contains the repository that contains the requested packages.- 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 requested packages.
- Parameters:
repository- The name of the repository that contains the requested packages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format used to filter requested packages. Only packages from the provided format will be returned.
- Parameters:
format- The format used to filter requested packages. Only packages from the provided format will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format used to filter requested packages. Only packages from the provided format will be returned.
- Parameters:
format- The format used to filter requested packages. Only packages from the provided format will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called
--namespaceand not--namespace-prefix, it has prefix-matching behavior.Each package format uses namespace as follows:
-
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 prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called--namespaceand not--namespace-prefix, it has prefix-matching behavior.Each package format uses namespace as follows:
-
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.
-
-
packagePrefix
A prefix used to filter requested packages. Only packages with names that start with
packagePrefixare returned.- Parameters:
packagePrefix- A prefix used to filter requested packages. Only packages with names that start withpackagePrefixare returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publish
The value of the
Publishpackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Parameters:
publish- The value of thePublishpackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publish
The value of the
Publishpackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Parameters:
publish- The value of thePublishpackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upstream
The value of the
Upstreampackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Parameters:
upstream- The value of theUpstreampackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upstream
The value of the
Upstreampackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Parameters:
upstream- The value of theUpstreampackage origin control restriction used to filter requested packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListPackagesRequest.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
ListPackagesRequest.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.
-