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 Summary
Modifier and TypeMethodDescriptionaddonVersion
(String addonVersion) The version of the add-on.architecture
(String... architecture) The architectures that the version supports.architecture
(Collection<String> architecture) The architectures that the version supports.compatibilities
(Collection<Compatibility> compatibilities) An object representing the compatibilities of a version.compatibilities
(Consumer<Compatibility.Builder>... compatibilities) An object representing the compatibilities of a version.compatibilities
(Compatibility... compatibilities) An object representing the compatibilities of a version.requiresConfiguration
(Boolean requiresConfiguration) Whether the add-on requires configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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 viaCompatibility.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompatibilities(List<Compatibility>)
.- Parameters:
compatibilities
- a consumer that will call methods onCompatibility.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-