CustomAssessmentAutomationInner Class

public final class CustomAssessmentAutomationInner
extends ProxyResource

Custom Assessment Automation.

Constructor Summary

Constructor Description
CustomAssessmentAutomationInner()

Creates an instance of CustomAssessmentAutomationInner class.

Method Summary

Modifier and Type Method and Description
String assessmentKey()

Get the assessmentKey property: The assessment metadata key used when an assessment is generated for this assessment automation.

String compressedQuery()

Get the compressedQuery property: GZip encoded KQL query representing the assessment automation results required.

String description()

Get the description property: The description to relate to the assessments generated by this assessment automation.

String displayName()

Get the displayName property: The display name of the assessments generated by this assessment automation.

String remediationDescription()

Get the remediationDescription property: The remediation description to relate to the assessments generated by this assessment automation.

SeverityEnum severity()

Get the severity property: The severity to relate to the assessments generated by this assessment automation.

SupportedCloudEnum supportedCloud()

Get the supportedCloud property: Relevant cloud for the custom assessment automation.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

void validate()

Validates the instance.

CustomAssessmentAutomationInner withAssessmentKey(String assessmentKey)

Set the assessmentKey property: The assessment metadata key used when an assessment is generated for this assessment automation.

CustomAssessmentAutomationInner withCompressedQuery(String compressedQuery)

Set the compressedQuery property: GZip encoded KQL query representing the assessment automation results required.

CustomAssessmentAutomationInner withDescription(String description)

Set the description property: The description to relate to the assessments generated by this assessment automation.

CustomAssessmentAutomationInner withDisplayName(String displayName)

Set the displayName property: The display name of the assessments generated by this assessment automation.

CustomAssessmentAutomationInner withRemediationDescription(String remediationDescription)

Set the remediationDescription property: The remediation description to relate to the assessments generated by this assessment automation.

CustomAssessmentAutomationInner withSeverity(SeverityEnum severity)

Set the severity property: The severity to relate to the assessments generated by this assessment automation.

CustomAssessmentAutomationInner withSupportedCloud(SupportedCloudEnum supportedCloud)

Set the supportedCloud property: Relevant cloud for the custom assessment automation.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CustomAssessmentAutomationInner

public CustomAssessmentAutomationInner()

Creates an instance of CustomAssessmentAutomationInner class.

Method Details

assessmentKey

public String assessmentKey()

Get the assessmentKey property: The assessment metadata key used when an assessment is generated for this assessment automation.

Returns:

the assessmentKey value.

compressedQuery

public String compressedQuery()

Get the compressedQuery property: GZip encoded KQL query representing the assessment automation results required.

Returns:

the compressedQuery value.

description

public String description()

Get the description property: The description to relate to the assessments generated by this assessment automation.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The display name of the assessments generated by this assessment automation.

Returns:

the displayName value.

remediationDescription

public String remediationDescription()

Get the remediationDescription property: The remediation description to relate to the assessments generated by this assessment automation.

Returns:

the remediationDescription value.

severity

public SeverityEnum severity()

Get the severity property: The severity to relate to the assessments generated by this assessment automation.

Returns:

the severity value.

supportedCloud

public SupportedCloudEnum supportedCloud()

Get the supportedCloud property: Relevant cloud for the custom assessment automation.

Returns:

the supportedCloud value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withAssessmentKey

public CustomAssessmentAutomationInner withAssessmentKey(String assessmentKey)

Set the assessmentKey property: The assessment metadata key used when an assessment is generated for this assessment automation.

Parameters:

assessmentKey - the assessmentKey value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withCompressedQuery

public CustomAssessmentAutomationInner withCompressedQuery(String compressedQuery)

Set the compressedQuery property: GZip encoded KQL query representing the assessment automation results required.

Parameters:

compressedQuery - the compressedQuery value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withDescription

public CustomAssessmentAutomationInner withDescription(String description)

Set the description property: The description to relate to the assessments generated by this assessment automation.

Parameters:

description - the description value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withDisplayName

public CustomAssessmentAutomationInner withDisplayName(String displayName)

Set the displayName property: The display name of the assessments generated by this assessment automation.

Parameters:

displayName - the displayName value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withRemediationDescription

public CustomAssessmentAutomationInner withRemediationDescription(String remediationDescription)

Set the remediationDescription property: The remediation description to relate to the assessments generated by this assessment automation.

Parameters:

remediationDescription - the remediationDescription value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withSeverity

public CustomAssessmentAutomationInner withSeverity(SeverityEnum severity)

Set the severity property: The severity to relate to the assessments generated by this assessment automation.

Parameters:

severity - the severity value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

withSupportedCloud

public CustomAssessmentAutomationInner withSupportedCloud(SupportedCloudEnum supportedCloud)

Set the supportedCloud property: Relevant cloud for the custom assessment automation.

Parameters:

supportedCloud - the supportedCloud value to set.

Returns:

the CustomAssessmentAutomationInner object itself.

Applies to