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 returned package version assets.
|
ListPackageVersionAssetsResponse.Builder |
format(String format)
The format of the package that contains the returned package version assets.
|
ListPackageVersionAssetsResponse.Builder |
namespace(String namespace)
The namespace of the package.
|
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 returned package version assets.
|
ListPackageVersionAssetsResponse.Builder |
version(String version)
The version of the package associated with the returned 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 returned package version assets.
format - The format of the package that contains the returned package version assets.PackageFormat,
PackageFormatListPackageVersionAssetsResponse.Builder format(PackageFormat format)
The format of the package that contains the returned package version assets.
format - The format of the package that contains the returned package version assets.PackageFormat,
PackageFormatListPackageVersionAssetsResponse.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.
ListPackageVersionAssetsResponse.Builder packageValue(String packageValue)
The name of the package that contains the returned package version assets.
packageValue - The name of the package that contains the returned package version assets.ListPackageVersionAssetsResponse.Builder version(String version)
The version of the package associated with the returned assets.
version - The version of the package associated with the returned 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 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 #assets(List) .assets - a consumer that will call methods on List.Builder #assets(List) Copyright © 2021. All rights reserved.