Interface ListPackageVersionAssetsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeartifactResponse.Builder, CopyableBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>, SdkBuilder<ListPackageVersionAssetsResponse.Builder,ListPackageVersionAssetsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListPackageVersionAssetsResponse

  • Method Details

    • 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:
    • 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:
    • namespace

      The namespace of the package version that contains the requested package version assets. 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 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 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 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

      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

      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

      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

      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

      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

      The returned list of AssetSummary objects.

      This is a convenience method that creates an instance of the AssetSummary.Builder avoiding the need to create one manually via AssetSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assets(List<AssetSummary>).

      Parameters:
      assets - a consumer that will call methods on AssetSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: