CustomAssessmentAutomationRequest Class

public final class CustomAssessmentAutomationRequest
extends ProxyResource

Custom Assessment Automation request.

Constructor Summary

Constructor Description
CustomAssessmentAutomationRequest()

Creates an instance of CustomAssessmentAutomationRequest class.

Method Summary

Modifier and Type Method and Description
String compressedQuery()

Get the compressedQuery property: Base 64 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.

void validate()

Validates the instance.

CustomAssessmentAutomationRequest withCompressedQuery(String compressedQuery)

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

CustomAssessmentAutomationRequest withDescription(String description)

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

CustomAssessmentAutomationRequest withDisplayName(String displayName)

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

CustomAssessmentAutomationRequest withRemediationDescription(String remediationDescription)

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

CustomAssessmentAutomationRequest withSeverity(SeverityEnum severity)

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

CustomAssessmentAutomationRequest 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

CustomAssessmentAutomationRequest

public CustomAssessmentAutomationRequest()

Creates an instance of CustomAssessmentAutomationRequest class.

Method Details

compressedQuery

public String compressedQuery()

Get the compressedQuery property: Base 64 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.

validate

public void validate()

Validates the instance.

withCompressedQuery

public CustomAssessmentAutomationRequest withCompressedQuery(String compressedQuery)

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

Parameters:

compressedQuery - the compressedQuery value to set.

Returns:

the CustomAssessmentAutomationRequest object itself.

withDescription

public CustomAssessmentAutomationRequest 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 CustomAssessmentAutomationRequest object itself.

withDisplayName

public CustomAssessmentAutomationRequest 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 CustomAssessmentAutomationRequest object itself.

withRemediationDescription

public CustomAssessmentAutomationRequest 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 CustomAssessmentAutomationRequest object itself.

withSeverity

public CustomAssessmentAutomationRequest 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 CustomAssessmentAutomationRequest object itself.

withSupportedCloud

public CustomAssessmentAutomationRequest withSupportedCloud(SupportedCloudEnum supportedCloud)

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

Parameters:

supportedCloud - the supportedCloud value to set.

Returns:

the CustomAssessmentAutomationRequest object itself.

Applies to