Interface ListPackagesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<ListPackagesRequest.Builder,ListPackagesRequest>,SdkBuilder<ListPackagesRequest.Builder,ListPackagesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPackagesRequest
public static interface ListPackagesRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<ListPackagesRequest.Builder,ListPackagesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPackagesRequest.Builderdomain(String domain)The name of the domain that contains the repository that contains the requested packages.ListPackagesRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.ListPackagesRequest.Builderformat(String format)The format used to filter requested packages.ListPackagesRequest.Builderformat(PackageFormat format)The format used to filter requested packages.ListPackagesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.ListPackagesRequest.Buildernamespace(String namespace)The namespace prefix used to filter requested packages.ListPackagesRequest.BuildernextToken(String nextToken)The token for the next set of results.ListPackagesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPackagesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPackagesRequest.BuilderpackagePrefix(String packagePrefix)A prefix used to filter requested packages.ListPackagesRequest.Builderpublish(String publish)The value of thePublishpackage origin control restriction used to filter requested packages.ListPackagesRequest.Builderpublish(AllowPublish publish)The value of thePublishpackage origin control restriction used to filter requested packages.ListPackagesRequest.Builderrepository(String repository)The name of the repository that contains the requested packages.ListPackagesRequest.Builderupstream(String upstream)The value of theUpstreampackage origin control restriction used to filter requested packages.ListPackagesRequest.Builderupstream(AllowUpstream upstream)The value of theUpstreampackage origin control restriction used to filter requested packages.-
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
ListPackagesRequest.Builder domain(String 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
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.
- 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
ListPackagesRequest.Builder repository(String 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
ListPackagesRequest.Builder format(String 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:
PackageFormat,PackageFormat
-
format
ListPackagesRequest.Builder format(PackageFormat 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:
PackageFormat,PackageFormat
-
namespace
ListPackagesRequest.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
--namespaceand 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.
- 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 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packagePrefix
ListPackagesRequest.Builder packagePrefix(String 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
ListPackagesRequest.Builder maxResults(Integer 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
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.
- 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
ListPackagesRequest.Builder publish(String 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:
AllowPublish,AllowPublish
-
publish
ListPackagesRequest.Builder publish(AllowPublish 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:
AllowPublish,AllowPublish
-
upstream
ListPackagesRequest.Builder upstream(String 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:
AllowUpstream,AllowUpstream
-
upstream
ListPackagesRequest.Builder upstream(AllowUpstream 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:
AllowUpstream,AllowUpstream
-
overrideConfiguration
ListPackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-