java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AddonProfiles

public final class AddonProfiles extends Object
Addon configurations.
  • Constructor Details

    • AddonProfiles

      public AddonProfiles()
      Creates an instance of AddonProfiles class.
  • Method Details

    • config

      public Map<String,String> config()
      Get the config property: Config - Key-value pairs for configuring an add-on.
      Returns:
      the config value.
    • withConfig

      public AddonProfiles withConfig(Map<String,String> config)
      Set the config property: Config - Key-value pairs for configuring an add-on.
      Parameters:
      config - the config value to set.
      Returns:
      the AddonProfiles object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Enabled - Whether the add-on is enabled or not.
      Returns:
      the enabled value.
    • withEnabled

      public AddonProfiles withEnabled(Boolean enabled)
      Set the enabled property: Enabled - Whether the add-on is enabled or not.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the AddonProfiles object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.