Interface ListPackageVersionDependenciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<ListPackageVersionDependenciesResponse.Builder,ListPackageVersionDependenciesResponse>,SdkBuilder<ListPackageVersionDependenciesResponse.Builder,ListPackageVersionDependenciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPackageVersionDependenciesResponse
public static interface ListPackageVersionDependenciesResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageVersionDependenciesResponse.Builder,ListPackageVersionDependenciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPackageVersionDependenciesResponse.Builderdependencies(Collection<PackageDependency> dependencies)The returned list of PackageDependency objects.ListPackageVersionDependenciesResponse.Builderdependencies(Consumer<PackageDependency.Builder>... dependencies)The returned list of PackageDependency objects.ListPackageVersionDependenciesResponse.Builderdependencies(PackageDependency... dependencies)The returned list of PackageDependency objects.ListPackageVersionDependenciesResponse.Builderformat(String format)A format that specifies the type of the package that contains the returned dependencies.ListPackageVersionDependenciesResponse.Builderformat(PackageFormat format)A format that specifies the type of the package that contains the returned dependencies.ListPackageVersionDependenciesResponse.Buildernamespace(String namespace)The namespace of the package version that contains the returned dependencies.ListPackageVersionDependenciesResponse.BuildernextToken(String nextToken)The token for the next set of results.ListPackageVersionDependenciesResponse.BuilderpackageValue(String packageValue)The name of the package that contains the returned package versions dependencies.ListPackageVersionDependenciesResponse.Builderversion(String version)The version of the package that is specified in the request.ListPackageVersionDependenciesResponse.BuilderversionRevision(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 Detail
-
format
ListPackageVersionDependenciesResponse.Builder format(String 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:
PackageFormat,PackageFormat
-
format
ListPackageVersionDependenciesResponse.Builder format(PackageFormat 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:
PackageFormat,PackageFormat
-
namespace
ListPackageVersionDependenciesResponse.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
ListPackageVersionDependenciesResponse.Builder packageValue(String 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
ListPackageVersionDependenciesResponse.Builder version(String 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
ListPackageVersionDependenciesResponse.Builder versionRevision(String 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
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.
- 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
ListPackageVersionDependenciesResponse.Builder dependencies(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
ListPackageVersionDependenciesResponse.Builder dependencies(Consumer<PackageDependency.Builder>... dependencies)
The returned list of PackageDependency objects.
This is a convenience method that creates an instance of thePackageDependency.Builderavoiding the need to create one manually viaPackageDependency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dependencies(List.) - 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:
#dependencies(java.util.Collection)
-
-