Class AddonSrmProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.AddonProperties
-
- com.azure.resourcemanager.avs.models.AddonSrmProperties
-
public final class AddonSrmProperties extends AddonProperties
The properties of a Site Recovery Manager (SRM) addon.
-
-
Constructor Summary
Constructors Constructor Description AddonSrmProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
licenseKey()
Get the licenseKey property: The Site Recovery Manager (SRM) license.void
validate()
Validates the instance.AddonSrmProperties
withLicenseKey(String licenseKey)
Set the licenseKey property: The Site Recovery Manager (SRM) license.-
Methods inherited from class com.azure.resourcemanager.avs.models.AddonProperties
provisioningState
-
-
-
-
Method Detail
-
licenseKey
public String licenseKey()
Get the licenseKey property: The Site Recovery Manager (SRM) license.- Returns:
- the licenseKey value.
-
withLicenseKey
public AddonSrmProperties withLicenseKey(String licenseKey)
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.
-
-