RecommendationConfigurationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. RecommendationConfigurationProperties
- com.
Implements
public final class RecommendationConfigurationProperties
implements JsonSerializable<RecommendationConfigurationProperties>
The type of IoT Security recommendation.
Constructor Summary
| Constructor | Description |
|---|---|
| RecommendationConfigurationProperties() |
Creates an instance of Recommendation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Recommendation |
fromJson(JsonReader jsonReader)
Reads an instance of Recommendation |
| String |
name()
Get the name property: The name property. |
|
Recommendation |
recommendationType()
Get the recommendation |
|
Recommendation |
status()
Get the status property: Recommendation status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Recommendation |
withRecommendationType(RecommendationType recommendationType)
Set the recommendation |
|
Recommendation |
withStatus(RecommendationConfigStatus status)
Set the status property: Recommendation status. |
Methods inherited from java.lang.Object
Constructor Details
RecommendationConfigurationProperties
public RecommendationConfigurationProperties()
Creates an instance of RecommendationConfigurationProperties class.
Method Details
fromJson
public static RecommendationConfigurationProperties fromJson(JsonReader jsonReader)
Reads an instance of RecommendationConfigurationProperties from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name property.
Returns:
recommendationType
public RecommendationType recommendationType()
Get the recommendationType property: The type of IoT Security recommendation.
Returns:
status
public RecommendationConfigStatus status()
Get the status property: Recommendation status. When the recommendation status is disabled recommendations are not generated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRecommendationType
public RecommendationConfigurationProperties withRecommendationType(RecommendationType recommendationType)
Set the recommendationType property: The type of IoT Security recommendation.
Parameters:
Returns:
withStatus
public RecommendationConfigurationProperties withStatus(RecommendationConfigStatus status)
Set the status property: Recommendation status. When the recommendation status is disabled recommendations are not generated.
Parameters:
Returns: