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 Details

    • AddonSrmProperties

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

    • 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 class AddonProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.