public static interface AddonVersionInfo.Builder extends SdkPojo, CopyableBuilder<AddonVersionInfo.Builder,AddonVersionInfo>
| Modifier and Type | Method and Description |
|---|---|
AddonVersionInfo.Builder |
addonVersion(String addonVersion)
The version of the add-on.
|
AddonVersionInfo.Builder |
architecture(Collection<String> architecture)
The architectures that the version supports.
|
AddonVersionInfo.Builder |
architecture(String... architecture)
The architectures that the version supports.
|
AddonVersionInfo.Builder |
compatibilities(Collection<Compatibility> compatibilities)
An object representing the compatibilities of a version.
|
AddonVersionInfo.Builder |
compatibilities(Compatibility... compatibilities)
An object representing the compatibilities of a version.
|
AddonVersionInfo.Builder |
compatibilities(Consumer<Compatibility.Builder>... compatibilities)
An object representing the compatibilities of a version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAddonVersionInfo.Builder addonVersion(String addonVersion)
The version of the add-on.
addonVersion - The version of the add-on.AddonVersionInfo.Builder architecture(Collection<String> architecture)
The architectures that the version supports.
architecture - The architectures that the version supports.AddonVersionInfo.Builder architecture(String... architecture)
The architectures that the version supports.
architecture - The architectures that the version supports.AddonVersionInfo.Builder compatibilities(Collection<Compatibility> compatibilities)
An object representing the compatibilities of a version.
compatibilities - An object representing the compatibilities of a version.AddonVersionInfo.Builder compatibilities(Compatibility... compatibilities)
An object representing the compatibilities of a version.
compatibilities - An object representing the compatibilities of a version.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 theCompatibility.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.
compatibilities - a consumer that will call methods on
Compatibility.Builder#compatibilities(java.util.Collection) Copyright © 2022. All rights reserved.