public static interface ListPackageVersionDependenciesResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageVersionDependenciesResponse.Builder,ListPackageVersionDependenciesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPackageVersionDependenciesResponse.Builder |
dependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
|
ListPackageVersionDependenciesResponse.Builder |
dependencies(Consumer<PackageDependency.Builder>... dependencies)
The returned list of PackageDependency objects.
|
ListPackageVersionDependenciesResponse.Builder |
dependencies(PackageDependency... dependencies)
The returned list of PackageDependency objects.
|
ListPackageVersionDependenciesResponse.Builder |
format(PackageFormat format)
A format that specifies the type of the package that contains the returned dependencies.
|
ListPackageVersionDependenciesResponse.Builder |
format(String format)
A format that specifies the type of the package that contains the returned dependencies.
|
ListPackageVersionDependenciesResponse.Builder |
namespace(String namespace)
The namespace of the package version that contains the returned dependencies.
|
ListPackageVersionDependenciesResponse.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
ListPackageVersionDependenciesResponse.Builder |
packageValue(String packageValue)
The name of the package that contains the returned package versions dependencies.
|
ListPackageVersionDependenciesResponse.Builder |
version(String version)
The version of the package that is specified in the request.
|
ListPackageVersionDependenciesResponse.Builder |
versionRevision(String versionRevision)
The current revision associated with the package version.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPackageVersionDependenciesResponse.Builder format(String format)
A format that specifies the type of the package that contains the returned dependencies.
format - A format that specifies the type of the package that contains the returned dependencies.PackageFormat,
PackageFormatListPackageVersionDependenciesResponse.Builder format(PackageFormat format)
A format that specifies the type of the package that contains the returned dependencies.
format - A format that specifies the type of the package that contains the returned dependencies.PackageFormat,
PackageFormatListPackageVersionDependenciesResponse.Builder namespace(String namespace)
The namespace of the package version that contains the returned dependencies. 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 returned dependencies. 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.
ListPackageVersionDependenciesResponse.Builder packageValue(String packageValue)
The name of the package that contains the returned package versions dependencies.
packageValue - The name of the package that contains the returned package versions dependencies.ListPackageVersionDependenciesResponse.Builder version(String version)
The version of the package that is specified in the request.
version - The version of the package that is specified in the request.ListPackageVersionDependenciesResponse.Builder versionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision - The current revision associated with the package version.ListPackageVersionDependenciesResponse.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.ListPackageVersionDependenciesResponse.Builder dependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
dependencies - The returned list of PackageDependency objects.ListPackageVersionDependenciesResponse.Builder dependencies(PackageDependency... dependencies)
The returned list of PackageDependency objects.
dependencies - The returned list of PackageDependency objects.ListPackageVersionDependenciesResponse.Builder dependencies(Consumer<PackageDependency.Builder>... dependencies)
The returned list of PackageDependency objects.
This is a convenience method that creates an instance of thePackageDependency.Builder avoiding the need to
create one manually via
PackageDependency.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #dependencies(List.
dependencies - a consumer that will call methods on
PackageDependency.Builder#dependencies(java.util.Collection) Copyright © 2023. All rights reserved.