Class RecommendationConfigurationProperties
java.lang.Object
com.azure.resourcemanager.security.models.RecommendationConfigurationProperties
The type of IoT Security recommendation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name property.Get the recommendationType property: The type of IoT Security recommendation.status()
Get the status property: Recommendation status.void
validate()
Validates the instance.withRecommendationType
(RecommendationType recommendationType) Set the recommendationType property: The type of IoT Security recommendation.withStatus
(RecommendationConfigStatus status) Set the status property: Recommendation status.
-
Constructor Details
-
RecommendationConfigurationProperties
public RecommendationConfigurationProperties()
-
-
Method Details
-
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
Get the name property: The name property.- Returns:
- the name value.
-
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.
-