Interface ListPackageVersionAssetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>,SdkBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPackageVersionAssetsResponse
public static interface ListPackageVersionAssetsResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPackageVersionAssetsResponse.Builderassets(Collection<AssetSummary> assets)The returned list of AssetSummary objects.ListPackageVersionAssetsResponse.Builderassets(Consumer<AssetSummary.Builder>... assets)The returned list of AssetSummary objects.ListPackageVersionAssetsResponse.Builderassets(AssetSummary... assets)The returned list of AssetSummary objects.ListPackageVersionAssetsResponse.Builderformat(String format)The format of the package that contains the requested package version assets.ListPackageVersionAssetsResponse.Builderformat(PackageFormat format)The format of the package that contains the requested package version assets.ListPackageVersionAssetsResponse.Buildernamespace(String namespace)The namespace of the package version that contains the requested package version assets.ListPackageVersionAssetsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.ListPackageVersionAssetsResponse.BuilderpackageValue(String packageValue)The name of the package that contains the requested package version assets.ListPackageVersionAssetsResponse.Builderversion(String version)The version of the package associated with the requested assets.ListPackageVersionAssetsResponse.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
ListPackageVersionAssetsResponse.Builder format(String format)
The format of the package that contains the requested package version assets.
- Parameters:
format- The format of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
format
ListPackageVersionAssetsResponse.Builder format(PackageFormat format)
The format of the package that contains the requested package version assets.
- Parameters:
format- The format of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
namespace
ListPackageVersionAssetsResponse.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
ListPackageVersionAssetsResponse.Builder packageValue(String packageValue)
The name of the package that contains the requested package version assets.
- Parameters:
packageValue- The name of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
ListPackageVersionAssetsResponse.Builder version(String version)
The version of the package associated with the requested assets.
- Parameters:
version- The version of the package associated with the requested assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionRevision
ListPackageVersionAssetsResponse.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
ListPackageVersionAssetsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
ListPackageVersionAssetsResponse.Builder assets(Collection<AssetSummary> assets)
The returned list of AssetSummary objects.
- Parameters:
assets- The returned list of AssetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
ListPackageVersionAssetsResponse.Builder assets(AssetSummary... assets)
The returned list of AssetSummary objects.
- Parameters:
assets- The returned list of AssetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
ListPackageVersionAssetsResponse.Builder assets(Consumer<AssetSummary.Builder>... assets)
The returned list of AssetSummary objects.
This is a convenience method that creates an instance of theAssetSummary.Builderavoiding the need to create one manually viaAssetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assets(List.) - Parameters:
assets- a consumer that will call methods onAssetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assets(java.util.Collection)
-
-