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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddonVersionInfo.BuilderaddonVersion(String addonVersion)The version of the add-on.AddonVersionInfo.Builderarchitecture(String... architecture)The architectures that the version supports.AddonVersionInfo.Builderarchitecture(Collection<String> architecture)The architectures that the version supports.AddonVersionInfo.Buildercompatibilities(Collection<Compatibility> compatibilities)An object representing the compatibilities of a version.AddonVersionInfo.Buildercompatibilities(Consumer<Compatibility.Builder>... compatibilities)An object representing the compatibilities of a version.AddonVersionInfo.Buildercompatibilities(Compatibility... compatibilities)An object representing the compatibilities of a version.AddonVersionInfo.BuildercomputeTypes(String... computeTypes)Indicates the compute type of the addon version.AddonVersionInfo.BuildercomputeTypes(Collection<String> computeTypes)Indicates the compute type of the addon version.AddonVersionInfo.BuilderrequiresConfiguration(Boolean requiresConfiguration)Whether the add-on requires configuration.AddonVersionInfo.BuilderrequiresIamPermissions(Boolean requiresIamPermissions)Indicates if the Addon requires IAM Permissions to operate, such as networking permissions.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
computeTypes
AddonVersionInfo.Builder computeTypes(Collection<String> computeTypes)
Indicates the compute type of the addon version.
- Parameters:
computeTypes- Indicates the compute type of the addon version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeTypes
AddonVersionInfo.Builder computeTypes(String... computeTypes)
Indicates the compute type of the addon version.
- Parameters:
computeTypes- Indicates the compute type of the addon version.- 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 theCompatibility.Builderavoiding the need to create one manually viaCompatibility.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#compatibilities(List.) - 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:
#compatibilities(java.util.Collection)
-
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.
-
requiresIamPermissions
AddonVersionInfo.Builder requiresIamPermissions(Boolean requiresIamPermissions)
Indicates if the Addon requires IAM Permissions to operate, such as networking permissions.
- Parameters:
requiresIamPermissions- Indicates if the Addon requires IAM Permissions to operate, such as networking permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-