public static interface ListPackagesRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<ListPackagesRequest.Builder,ListPackagesRequest>
| Modifier and Type | Method and Description |
|---|---|
ListPackagesRequest.Builder |
domain(String domain)
The name of the domain that contains the repository that contains the requested packages.
|
ListPackagesRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
ListPackagesRequest.Builder |
format(PackageFormat format)
The format used to filter requested packages.
|
ListPackagesRequest.Builder |
format(String format)
The format used to filter requested packages.
|
ListPackagesRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPackagesRequest.Builder |
namespace(String namespace)
The namespace prefix used to filter requested packages.
|
ListPackagesRequest.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
ListPackagesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListPackagesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListPackagesRequest.Builder |
packagePrefix(String packagePrefix)
A prefix used to filter requested packages.
|
ListPackagesRequest.Builder |
publish(AllowPublish publish)
The value of the
Publish package origin control restriction used to filter requested packages. |
ListPackagesRequest.Builder |
publish(String publish)
The value of the
Publish package origin control restriction used to filter requested packages. |
ListPackagesRequest.Builder |
repository(String repository)
The name of the repository that contains the requested packages.
|
ListPackagesRequest.Builder |
upstream(AllowUpstream upstream)
The value of the
Upstream package origin control restriction used to filter requested packages. |
ListPackagesRequest.Builder |
upstream(String upstream)
The value of the
Upstream package origin control restriction used to filter requested packages. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPackagesRequest.Builder domain(String domain)
The name of the domain that contains the repository that contains the requested packages.
domain - The name of the domain that contains the repository that contains the requested packages.ListPackagesRequest.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.
domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not
include dashes or spaces.ListPackagesRequest.Builder repository(String repository)
The name of the repository that contains the requested packages.
repository - The name of the repository that contains the requested packages.ListPackagesRequest.Builder format(String format)
The format used to filter requested packages. Only packages from the provided format will be returned.
format - The format used to filter requested packages. Only packages from the provided format will be returned.PackageFormat,
PackageFormatListPackagesRequest.Builder format(PackageFormat format)
The format used to filter requested packages. Only packages from the provided format will be returned.
format - The format used to filter requested packages. Only packages from the provided format will be returned.PackageFormat,
PackageFormatListPackagesRequest.Builder namespace(String 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 --namespace and not
--namespace-prefix, it has prefix-matching behavior.
Each package format uses namespace as follows:
The namespace of a Maven package is its groupId.
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.
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
--namespace and not --namespace-prefix, it has prefix-matching behavior.
Each package format uses namespace as follows:
The namespace of a Maven package is its groupId.
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.
ListPackagesRequest.Builder packagePrefix(String packagePrefix)
A prefix used to filter requested packages. Only packages with names that start with
packagePrefix are returned.
packagePrefix - A prefix used to filter requested packages. Only packages with names that start with
packagePrefix are returned.ListPackagesRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults - The maximum number of results to return per page.ListPackagesRequest.Builder nextToken(String 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.
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.ListPackagesRequest.Builder publish(String publish)
The value of the Publish package origin control restriction used to filter requested packages.
Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
publish - The value of the Publish package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish,
AllowPublishListPackagesRequest.Builder publish(AllowPublish publish)
The value of the Publish package origin control restriction used to filter requested packages.
Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
publish - The value of the Publish package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish,
AllowPublishListPackagesRequest.Builder upstream(String upstream)
The value of the Upstream package origin control restriction used to filter requested packages.
Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
upstream - The value of the Upstream package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream,
AllowUpstreamListPackagesRequest.Builder upstream(AllowUpstream upstream)
The value of the Upstream package origin control restriction used to filter requested packages.
Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
upstream - The value of the Upstream package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream,
AllowUpstreamListPackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.