Interface ListPackageVersionDependenciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<ListPackageVersionDependenciesResponse.Builder,
,ListPackageVersionDependenciesResponse> SdkBuilder<ListPackageVersionDependenciesResponse.Builder,
,ListPackageVersionDependenciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPackageVersionDependenciesResponse
-
Method Summary
Modifier and TypeMethodDescriptiondependencies
(Collection<PackageDependency> dependencies) The returned list of PackageDependency objects.dependencies
(Consumer<PackageDependency.Builder>... dependencies) The returned list of PackageDependency objects.dependencies
(PackageDependency... dependencies) The returned list of PackageDependency objects.A format that specifies the type of the package that contains the returned dependencies.format
(PackageFormat format) A format that specifies the type of the package that contains the returned dependencies.The namespace of the package version that contains the returned dependencies.The token for the next set of results.packageValue
(String packageValue) The name of the package that contains the returned package versions dependencies.The version of the package that is specified in the request.versionRevision
(String versionRevision) The current revision associated with the package version.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
format
A format that specifies the type of the package that contains the returned dependencies.
- Parameters:
format
- A format that specifies the type of the package that contains the returned dependencies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
A format that specifies the type of the package that contains the returned dependencies.
- Parameters:
format
- A format that specifies the type of the package that contains the returned dependencies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the package version that contains the returned dependencies. The package 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 or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
- Parameters:
namespace
- The namespace of the package version that contains the returned dependencies. The package 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 or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python, NuGet, and Ruby package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
The name of the package that contains the returned package versions dependencies.
- Parameters:
packageValue
- The name of the package that contains the returned package versions dependencies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the package that is specified in the request.
- Parameters:
version
- The version of the package that is specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionRevision
The current revision associated with the package version.
- Parameters:
versionRevision
- The current revision associated with the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
ListPackageVersionDependenciesResponse.Builder dependencies(Collection<PackageDependency> dependencies) The returned list of PackageDependency objects.
- Parameters:
dependencies
- The returned list of PackageDependency objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
The returned list of PackageDependency objects.
- Parameters:
dependencies
- The returned list of PackageDependency objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
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 viaPackageDependency.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todependencies(List<PackageDependency>)
.- Parameters:
dependencies
- a consumer that will call methods onPackageDependency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-