Class RecommendationConfigurationProperties

java.lang.Object
com.azure.resourcemanager.security.models.RecommendationConfigurationProperties

public final class RecommendationConfigurationProperties extends Object
The type of IoT Security recommendation.
  • Constructor Details

    • RecommendationConfigurationProperties

      public RecommendationConfigurationProperties()
  • Method Details

    • recommendationType

      public RecommendationType recommendationType()
      Get the recommendationType property: The type of IoT Security recommendation.
      Returns:
      the recommendationType value.
    • withRecommendationType

      public RecommendationConfigurationProperties withRecommendationType(RecommendationType recommendationType)
      Set the recommendationType property: The type of IoT Security recommendation.
      Parameters:
      recommendationType - the recommendationType value to set.
      Returns:
      the RecommendationConfigurationProperties object itself.
    • name

      public String name()
      Get the name property: The name property.
      Returns:
      the name value.
    • status

      public RecommendationConfigStatus status()
      Get the status property: Recommendation status. When the recommendation status is disabled recommendations are not generated.
      Returns:
      the status value.
    • withStatus

      Set the status property: Recommendation status. When the recommendation status is disabled recommendations are not generated.
      Parameters:
      status - the status value to set.
      Returns:
      the RecommendationConfigurationProperties object itself.
    • validate

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