Class AddonProfiles
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.AddonProfiles
Addon configurations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
Get the config property: Config - Key-value pairs for configuring an add-on.enabled()
Get the enabled property: Enabled - Whether the add-on is enabled or not.void
validate()
Validates the instance.withConfig
(Map<String, String> config) Set the config property: Config - Key-value pairs for configuring an add-on.withEnabled
(Boolean enabled) Set the enabled property: Enabled - Whether the add-on is enabled or not.
-
Constructor Details
-
AddonProfiles
public AddonProfiles()Creates an instance of AddonProfiles class.
-
-
Method Details
-
config
Get the config property: Config - Key-value pairs for configuring an add-on.- Returns:
- the config value.
-
withConfig
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
Get the enabled property: Enabled - Whether the add-on is enabled or not.- Returns:
- the enabled value.
-
withEnabled
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.
-