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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
domainThe 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.
 
- 
domainOwnerThe 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.
 
- 
repositoryThe 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.
 
- 
formatThe 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:
 
- 
formatThe 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:
 
- 
namespaceThe 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.
 
- 
 
- 
packagePrefixA 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 with- packagePrefixare returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe 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.
 
- 
nextTokenThe 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.
 
- 
publishThe 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 the- Publishpackage 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:
 
- 
publishThe 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 the- Publishpackage 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:
 
- 
upstreamThe 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 the- Upstreampackage 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:
 
- 
upstreamThe 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 the- Upstreampackage 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:
 
- 
overrideConfigurationListPackagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListPackagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-