Interface AddonVersionInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AddonVersionInfo.Builder,AddonVersionInfo>, SdkBuilder<AddonVersionInfo.Builder,AddonVersionInfo>, SdkPojo
Enclosing class:
AddonVersionInfo

public static interface AddonVersionInfo.Builder extends SdkPojo, CopyableBuilder<AddonVersionInfo.Builder,AddonVersionInfo>
  • Method Details

    • addonVersion

      AddonVersionInfo.Builder addonVersion(String addonVersion)

      The version of the add-on.

      Parameters:
      addonVersion - The version of the add-on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architecture

      AddonVersionInfo.Builder architecture(Collection<String> architecture)

      The architectures that the version supports.

      Parameters:
      architecture - The architectures that the version supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architecture

      AddonVersionInfo.Builder architecture(String... architecture)

      The architectures that the version supports.

      Parameters:
      architecture - The architectures that the version supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibilities

      AddonVersionInfo.Builder compatibilities(Collection<Compatibility> compatibilities)

      An object representing the compatibilities of a version.

      Parameters:
      compatibilities - An object representing the compatibilities of a version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibilities

      AddonVersionInfo.Builder compatibilities(Compatibility... compatibilities)

      An object representing the compatibilities of a version.

      Parameters:
      compatibilities - An object representing the compatibilities of a version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compatibilities

      AddonVersionInfo.Builder compatibilities(Consumer<Compatibility.Builder>... compatibilities)

      An object representing the compatibilities of a version.

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

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

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

      AddonVersionInfo.Builder requiresConfiguration(Boolean requiresConfiguration)

      Whether the add-on requires configuration.

      Parameters:
      requiresConfiguration - Whether the add-on requires configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.