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 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

      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

      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

      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

      The returned list of PackageDependency objects.

      This is a convenience method that creates an instance of the PackageDependency.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<PackageDependency>).

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