Class AddonSrmProperties
java.lang.Object
com.azure.resourcemanager.avs.models.AddonProperties
com.azure.resourcemanager.avs.models.AddonSrmProperties
The properties of a Site Recovery Manager (SRM) addon.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the licenseKey property: The Site Recovery Manager (SRM) license.void
validate()
Validates the instance.withLicenseKey
(String licenseKey) Set the licenseKey property: The Site Recovery Manager (SRM) license.Methods inherited from class com.azure.resourcemanager.avs.models.AddonProperties
provisioningState
-
Constructor Details
-
AddonSrmProperties
public AddonSrmProperties()Creates an instance of AddonSrmProperties class.
-
-
Method Details
-
licenseKey
Get the licenseKey property: The Site Recovery Manager (SRM) license.- Returns:
- the licenseKey value.
-
withLicenseKey
Set the licenseKey property: The Site Recovery Manager (SRM) license.- Parameters:
licenseKey
- the licenseKey value to set.- Returns:
- the AddonSrmProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAddonProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-