Interface SubscribedListing.Builder

  • Method Details

    • description

      SubscribedListing.Builder description(String description)

      The description of the published asset for which the subscription grant is created.

      Parameters:
      description - The description of the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The identifier of the published asset for which the subscription grant is created.

      Parameters:
      id - The identifier of the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • item

      The published asset for which the subscription grant is created.

      Parameters:
      item - The published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • item

      The published asset for which the subscription grant is created.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to item(SubscribedListingItem).

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

      The name of the published asset for which the subscription grant is created.

      Parameters:
      name - The name of the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerProjectId

      SubscribedListing.Builder ownerProjectId(String ownerProjectId)

      The identifier of the project of the published asset for which the subscription grant is created.

      Parameters:
      ownerProjectId - The identifier of the project of the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerProjectName

      SubscribedListing.Builder ownerProjectName(String ownerProjectName)

      The name of the project that owns the published asset for which the subscription grant is created.

      Parameters:
      ownerProjectName - The name of the project that owns the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revision

      SubscribedListing.Builder revision(String revision)

      The revision of the published asset for which the subscription grant is created.

      Parameters:
      revision - The revision of the published asset for which the subscription grant is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.