public static interface ListPackageVersionsRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<ListPackageVersionsRequest.Builder,ListPackageVersionsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListPackageVersionsRequest.Builder |
domain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
|
ListPackageVersionsRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
ListPackageVersionsRequest.Builder |
format(PackageFormat format)
The format of the returned packages.
|
ListPackageVersionsRequest.Builder |
format(String format)
The format of the returned packages.
|
ListPackageVersionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPackageVersionsRequest.Builder |
namespace(String namespace)
The namespace of the package.
|
ListPackageVersionsRequest.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
ListPackageVersionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListPackageVersionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListPackageVersionsRequest.Builder |
packageValue(String packageValue)
The name of the package for which you want to return a list of package versions.
|
ListPackageVersionsRequest.Builder |
repository(String repository)
The name of the repository that contains the package.
|
ListPackageVersionsRequest.Builder |
sortBy(PackageVersionSortType sortBy)
How to sort the returned list of package versions.
|
ListPackageVersionsRequest.Builder |
sortBy(String sortBy)
How to sort the returned list of package versions.
|
ListPackageVersionsRequest.Builder |
status(PackageVersionStatus status)
A string that specifies the status of the package versions to include in the returned list.
|
ListPackageVersionsRequest.Builder |
status(String status)
A string that specifies the status of the package versions to include in the returned list.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPackageVersionsRequest.Builder domain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
domain - The name of the domain that contains the repository that contains the returned package versions.ListPackageVersionsRequest.Builder domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or
spaces.ListPackageVersionsRequest.Builder repository(String repository)
The name of the repository that contains the package.
repository - The name of the repository that contains the package.ListPackageVersionsRequest.Builder format(String format)
The format of the returned packages. The valid package types are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
format - The format of the returned packages. The valid package types are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a
JAR file.
PackageFormat,
PackageFormatListPackageVersionsRequest.Builder format(PackageFormat format)
The format of the returned packages. The valid package types are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
format - The format of the returned packages. The valid package types are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a
JAR file.
PackageFormat,
PackageFormatListPackageVersionsRequest.Builder namespace(String namespace)
The namespace of the 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 of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace - The namespace of the 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 of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
ListPackageVersionsRequest.Builder packageValue(String packageValue)
The name of the package for which you want to return a list of package versions.
packageValue - The name of the package for which you want to return a list of package versions.ListPackageVersionsRequest.Builder status(String status)
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
status - A string that specifies the status of the package versions to include in the returned list. It can be
one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus,
PackageVersionStatusListPackageVersionsRequest.Builder status(PackageVersionStatus status)
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
status - A string that specifies the status of the package versions to include in the returned list. It can be
one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus,
PackageVersionStatusListPackageVersionsRequest.Builder sortBy(String sortBy)
How to sort the returned list of package versions.
sortBy - How to sort the returned list of package versions.PackageVersionSortType,
PackageVersionSortTypeListPackageVersionsRequest.Builder sortBy(PackageVersionSortType sortBy)
How to sort the returned list of package versions.
sortBy - How to sort the returned list of package versions.PackageVersionSortType,
PackageVersionSortTypeListPackageVersionsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults - The maximum number of results to return per page.ListPackageVersionsRequest.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.ListPackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListPackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.