Interface AddonInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AddonInfo.Builder,AddonInfo>,SdkBuilder<AddonInfo.Builder,AddonInfo>,SdkPojo
- Enclosing class:
- AddonInfo
public static interface AddonInfo.Builder extends SdkPojo, CopyableBuilder<AddonInfo.Builder,AddonInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AddonInfo.BuilderaddonName(String addonName)The name of the add-on.AddonInfo.BuilderaddonVersions(Collection<AddonVersionInfo> addonVersions)An object representing information about available add-on versions and compatible Kubernetes versions.AddonInfo.BuilderaddonVersions(Consumer<AddonVersionInfo.Builder>... addonVersions)An object representing information about available add-on versions and compatible Kubernetes versions.AddonInfo.BuilderaddonVersions(AddonVersionInfo... addonVersions)An object representing information about available add-on versions and compatible Kubernetes versions.default AddonInfo.BuildermarketplaceInformation(Consumer<MarketplaceInformation.Builder> marketplaceInformation)Information about the add-on from the Amazon Web Services Marketplace.AddonInfo.BuildermarketplaceInformation(MarketplaceInformation marketplaceInformation)Information about the add-on from the Amazon Web Services Marketplace.AddonInfo.Builderowner(String owner)The owner of the add-on.AddonInfo.Builderpublisher(String publisher)The publisher of the add-on.AddonInfo.Buildertype(String type)The type of the add-on.-
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 Detail
-
addonName
AddonInfo.Builder addonName(String addonName)
The name of the add-on.
- Parameters:
addonName- The name of the add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AddonInfo.Builder type(String type)
The type of the add-on.
- Parameters:
type- The type of the add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addonVersions
AddonInfo.Builder addonVersions(Collection<AddonVersionInfo> addonVersions)
An object representing information about available add-on versions and compatible Kubernetes versions.
- Parameters:
addonVersions- An object representing information about available add-on versions and compatible Kubernetes versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addonVersions
AddonInfo.Builder addonVersions(AddonVersionInfo... addonVersions)
An object representing information about available add-on versions and compatible Kubernetes versions.
- Parameters:
addonVersions- An object representing information about available add-on versions and compatible Kubernetes versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addonVersions
AddonInfo.Builder addonVersions(Consumer<AddonVersionInfo.Builder>... addonVersions)
An object representing information about available add-on versions and compatible Kubernetes versions.
This is a convenience method that creates an instance of theAddonVersionInfo.Builderavoiding the need to create one manually viaAddonVersionInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addonVersions(List.) - Parameters:
addonVersions- a consumer that will call methods onAddonVersionInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#addonVersions(java.util.Collection)
-
publisher
AddonInfo.Builder publisher(String publisher)
The publisher of the add-on.
- Parameters:
publisher- The publisher of the add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
AddonInfo.Builder owner(String owner)
The owner of the add-on.
- Parameters:
owner- The owner of the add-on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceInformation
AddonInfo.Builder marketplaceInformation(MarketplaceInformation marketplaceInformation)
Information about the add-on from the Amazon Web Services Marketplace.
- Parameters:
marketplaceInformation- Information about the add-on from the Amazon Web Services Marketplace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceInformation
default AddonInfo.Builder marketplaceInformation(Consumer<MarketplaceInformation.Builder> marketplaceInformation)
Information about the add-on from the Amazon Web Services Marketplace.
This is a convenience method that creates an instance of theMarketplaceInformation.Builderavoiding the need to create one manually viaMarketplaceInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomarketplaceInformation(MarketplaceInformation).- Parameters:
marketplaceInformation- a consumer that will call methods onMarketplaceInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
marketplaceInformation(MarketplaceInformation)
-
-