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 Details

    • 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

      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 the AddonVersionInfo.Builder avoiding the need to create one manually via AddonVersionInfo.builder().

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

      Parameters:
      addonVersions - a consumer that will call methods on AddonVersionInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the MarketplaceInformation.Builder avoiding the need to create one manually via MarketplaceInformation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to marketplaceInformation(MarketplaceInformation).

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