Class AssessmentSettings

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.AssessmentSettings

public final class AssessmentSettings extends Object
Configure assessment for databases in your SQL virtual machine.
  • Constructor Details

    • AssessmentSettings

      public AssessmentSettings()
  • Method Details

    • enable

      public Boolean enable()
      Get the enable property: Enable or disable assessment feature on SQL virtual machine.
      Returns:
      the enable value.
    • withEnable

      public AssessmentSettings withEnable(Boolean enable)
      Set the enable property: Enable or disable assessment feature on SQL virtual machine.
      Parameters:
      enable - the enable value to set.
      Returns:
      the AssessmentSettings object itself.
    • runImmediately

      public Boolean runImmediately()
      Get the runImmediately property: Run assessment immediately on SQL virtual machine.
      Returns:
      the runImmediately value.
    • withRunImmediately

      public AssessmentSettings withRunImmediately(Boolean runImmediately)
      Set the runImmediately property: Run assessment immediately on SQL virtual machine.
      Parameters:
      runImmediately - the runImmediately value to set.
      Returns:
      the AssessmentSettings object itself.
    • schedule

      public Schedule schedule()
      Get the schedule property: Schedule for Assessment.
      Returns:
      the schedule value.
    • withSchedule

      public AssessmentSettings withSchedule(Schedule schedule)
      Set the schedule property: Schedule for Assessment.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the AssessmentSettings object itself.
    • validate

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