Class ActionableRemediation

java.lang.Object
com.azure.resourcemanager.securitydevops.models.ActionableRemediation

public final class ActionableRemediation extends Object
The ActionableRemediation model.
  • Constructor Details

    • ActionableRemediation

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

    • state

      Get the state property: The state property.
      Returns:
      the state value.
    • withState

      Set the state property: The state property.
      Parameters:
      state - the state value to set.
      Returns:
      the ActionableRemediation object itself.
    • severityLevels

      public List<String> severityLevels()
      Get the severityLevels property: The severityLevels property.
      Returns:
      the severityLevels value.
    • withSeverityLevels

      public ActionableRemediation withSeverityLevels(List<String> severityLevels)
      Set the severityLevels property: The severityLevels property.
      Parameters:
      severityLevels - the severityLevels value to set.
      Returns:
      the ActionableRemediation object itself.
    • categories

      public List<RuleCategory> categories()
      Get the categories property: The categories property.
      Returns:
      the categories value.
    • withCategories

      public ActionableRemediation withCategories(List<RuleCategory> categories)
      Set the categories property: The categories property.
      Parameters:
      categories - the categories value to set.
      Returns:
      the ActionableRemediation object itself.
    • branchConfiguration

      public TargetBranchConfiguration branchConfiguration()
      Get the branchConfiguration property: Branch onboarding info.
      Returns:
      the branchConfiguration value.
    • withBranchConfiguration

      public ActionableRemediation withBranchConfiguration(TargetBranchConfiguration branchConfiguration)
      Set the branchConfiguration property: Branch onboarding info.
      Parameters:
      branchConfiguration - the branchConfiguration value to set.
      Returns:
      the ActionableRemediation object itself.
    • validate

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