public static interface ListPackageVersionsResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageVersionsResponse.Builder,ListPackageVersionsResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPackageVersionsResponse.Builder defaultDisplayVersion(String defaultDisplayVersion)
The default package version to display. This depends on the package format:
For Maven and PyPI packages, it's the most recently published package version.
For npm packages, it's the version referenced by the latest tag. If the latest tag
is not set, it's the most recently published package version.
defaultDisplayVersion - The default package version to display. This depends on the package format:
For Maven and PyPI packages, it's the most recently published package version.
For npm packages, it's the version referenced by the latest tag. If the
latest tag is not set, it's the most recently published package version.
ListPackageVersionsResponse.Builder format(String format)
A format of the package. Valid package format values are:
npm
pypi
maven
format - A format of the package. Valid package format values are:
npm
pypi
maven
PackageFormat,
PackageFormatListPackageVersionsResponse.Builder format(PackageFormat format)
A format of the package. Valid package format values are:
npm
pypi
maven
format - A format of the package. Valid package format values are:
npm
pypi
maven
PackageFormat,
PackageFormatListPackageVersionsResponse.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.
ListPackageVersionsResponse.Builder packageValue(String packageValue)
The name of the package.
packageValue - The name of the package.ListPackageVersionsResponse.Builder versions(Collection<PackageVersionSummary> versions)
The returned list of PackageVersionSummary objects.
versions - The returned list of PackageVersionSummary objects.ListPackageVersionsResponse.Builder versions(PackageVersionSummary... versions)
The returned list of PackageVersionSummary objects.
versions - The returned list of PackageVersionSummary objects.ListPackageVersionsResponse.Builder versions(Consumer<PackageVersionSummary.Builder>... versions)
The returned list of PackageVersionSummary objects.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #versions(List) .versions - a consumer that will call methods on List.Builder #versions(List) ListPackageVersionsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.Copyright © 2021. All rights reserved.