CustomRecommendationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. CustomRecommendationInner
- com.
- com.
public final class CustomRecommendationInner
extends ProxyResource
Custom Recommendation.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomRecommendationInner() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
assessmentKey()
Get the assessment |
|
List<Recommendation |
cloudProviders()
Get the cloud |
| String |
description()
Get the description property: The description to relate to the assessments generated by this Recommendation. |
| String |
displayName()
Get the display |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
query()
Get the query property: KQL query representing the Recommendation results required. |
| String |
remediationDescription()
Get the remediation |
|
Security |
securityIssue()
Get the security |
|
Severity |
severity()
Get the severity property: The severity to relate to the assessments generated by this Recommendation. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Custom |
withCloudProviders(List<RecommendationSupportedClouds> cloudProviders)
Set the cloud |
|
Custom |
withDescription(String description)
Set the description property: The description to relate to the assessments generated by this Recommendation. |
|
Custom |
withDisplayName(String displayName)
Set the display |
|
Custom |
withQuery(String query)
Set the query property: KQL query representing the Recommendation results required. |
|
Custom |
withRemediationDescription(String remediationDescription)
Set the remediation |
|
Custom |
withSecurityIssue(SecurityIssue securityIssue)
Set the security |
|
Custom |
withSeverity(SeverityEnum severity)
Set the severity property: The severity to relate to the assessments generated by this Recommendation. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
CustomRecommendationInner
public CustomRecommendationInner()
Creates an instance of CustomRecommendationInner class.
Method Details
assessmentKey
public String assessmentKey()
Get the assessmentKey property: The assessment metadata key used when an assessment is generated for this Recommendation.
Returns:
cloudProviders
public List<RecommendationSupportedClouds> cloudProviders()
Get the cloudProviders property: List of all standard supported clouds.
Returns:
description
public String description()
Get the description property: The description to relate to the assessments generated by this Recommendation.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the assessments generated by this Recommendation.
Returns:
fromJson
public static CustomRecommendationInner fromJson(JsonReader jsonReader)
Reads an instance of CustomRecommendationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CustomRecommendationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CustomRecommendationInner.name()Returns:
query
public String query()
Get the query property: KQL query representing the Recommendation results required.
Returns:
remediationDescription
public String remediationDescription()
Get the remediationDescription property: The remediation description to relate to the assessments generated by this Recommendation.
Returns:
securityIssue
public SecurityIssue securityIssue()
Get the securityIssue property: The severity to relate to the assessments generated by this Recommendation.
Returns:
severity
public SeverityEnum severity()
Get the severity property: The severity to relate to the assessments generated by this Recommendation.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CustomRecommendationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CustomRecommendationInner.type()Returns:
validate
public void validate()
Validates the instance.
withCloudProviders
public CustomRecommendationInner withCloudProviders(List<RecommendationSupportedClouds> cloudProviders)
Set the cloudProviders property: List of all standard supported clouds.
Parameters:
Returns:
withDescription
public CustomRecommendationInner withDescription(String description)
Set the description property: The description to relate to the assessments generated by this Recommendation.
Parameters:
Returns:
withDisplayName
public CustomRecommendationInner withDisplayName(String displayName)
Set the displayName property: The display name of the assessments generated by this Recommendation.
Parameters:
Returns:
withQuery
public CustomRecommendationInner withQuery(String query)
Set the query property: KQL query representing the Recommendation results required.
Parameters:
Returns:
withRemediationDescription
public CustomRecommendationInner withRemediationDescription(String remediationDescription)
Set the remediationDescription property: The remediation description to relate to the assessments generated by this Recommendation.
Parameters:
Returns:
withSecurityIssue
public CustomRecommendationInner withSecurityIssue(SecurityIssue securityIssue)
Set the securityIssue property: The severity to relate to the assessments generated by this Recommendation.
Parameters:
Returns:
withSeverity
public CustomRecommendationInner withSeverity(SeverityEnum severity)
Set the severity property: The severity to relate to the assessments generated by this Recommendation.
Parameters:
Returns: