public static interface ListPackageVersionAssetsResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPackageVersionAssetsResponse.Builder |
assets(AssetSummary... assets)
The returned list of AssetSummary
objects.
|
ListPackageVersionAssetsResponse.Builder |
assets(Collection<AssetSummary> assets)
The returned list of AssetSummary
objects.
|
ListPackageVersionAssetsResponse.Builder |
assets(Consumer<AssetSummary.Builder>... assets)
The returned list of AssetSummary
objects.
|
ListPackageVersionAssetsResponse.Builder |
format(PackageFormat format)
The format of the package that contains the requested package version assets.
|
ListPackageVersionAssetsResponse.Builder |
format(String format)
The format of the package that contains the requested package version assets.
|
ListPackageVersionAssetsResponse.Builder |
namespace(String namespace)
The namespace of the package version that contains the requested package version assets.
|
ListPackageVersionAssetsResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListPackageVersionAssetsResponse.Builder |
packageValue(String packageValue)
The name of the package that contains the requested package version assets.
|
ListPackageVersionAssetsResponse.Builder |
version(String version)
The version of the package associated with the requested assets.
|
ListPackageVersionAssetsResponse.Builder |
versionRevision(String versionRevision)
The current revision associated with the package version.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPackageVersionAssetsResponse.Builder format(String format)
The format of the package that contains the requested package version assets.
format - The format of the package that contains the requested package version assets.PackageFormat,
PackageFormatListPackageVersionAssetsResponse.Builder format(PackageFormat format)
The format of the package that contains the requested package version assets.
format - The format of the package that contains the requested package version assets.PackageFormat,
PackageFormatListPackageVersionAssetsResponse.Builder namespace(String namespace)
The namespace of the package version that contains the requested package version assets. The package version component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId.
The namespace of an npm package version is its scope.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace - The namespace of the package version that contains the requested package version assets. The package
version component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId.
The namespace of an npm package version is its scope.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
ListPackageVersionAssetsResponse.Builder packageValue(String packageValue)
The name of the package that contains the requested package version assets.
packageValue - The name of the package that contains the requested package version assets.ListPackageVersionAssetsResponse.Builder version(String version)
The version of the package associated with the requested assets.
version - The version of the package associated with the requested assets.ListPackageVersionAssetsResponse.Builder versionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision - The current revision associated with the package version.ListPackageVersionAssetsResponse.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.ListPackageVersionAssetsResponse.Builder assets(Collection<AssetSummary> assets)
The returned list of AssetSummary objects.
assets - The returned list of AssetSummary objects.ListPackageVersionAssetsResponse.Builder assets(AssetSummary... assets)
The returned list of AssetSummary objects.
assets - The returned list of AssetSummary objects.ListPackageVersionAssetsResponse.Builder assets(Consumer<AssetSummary.Builder>... assets)
The returned list of AssetSummary objects.
This is a convenience method that creates an instance of theAssetSummary.Builder avoiding the need to create
one manually via AssetSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #assets(List.
assets - a consumer that will call methods on
AssetSummary.Builder#assets(java.util.Collection) Copyright © 2023. All rights reserved.