SecurityAssessmentMetadataProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataProperties

public class SecurityAssessmentMetadataProperties

Describes properties of an assessment metadata.

Constructor Summary

Constructor Description
SecurityAssessmentMetadataProperties()

Creates an instance of SecurityAssessmentMetadataProperties class.

Method Summary

Modifier and Type Method and Description
AssessmentType assessmentType()

Get the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

List<Categories> categories()

Get the categories property: The categories property.

String description()

Get the description property: Human readable description of the assessment.

String displayName()

Get the displayName property: User friendly display name of the assessment.

ImplementationEffort implementationEffort()

Get the implementationEffort property: The implementation effort required to remediate this assessment.

SecurityAssessmentMetadataPartnerData partnerData()

Get the partnerData property: Describes the partner that created the assessment.

String policyDefinitionId()

Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.

Boolean preview()

Get the preview property: True if this assessment is in preview release status.

String remediationDescription()

Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.

Severity severity()

Get the severity property: The severity level of the assessment.

List<Threats> threats()

Get the threats property: The threats property.

UserImpact userImpact()

Get the userImpact property: The user impact of the assessment.

void validate()

Validates the instance.

SecurityAssessmentMetadataProperties withAssessmentType(AssessmentType assessmentType)

Set the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

SecurityAssessmentMetadataProperties withCategories(List<Categories> categories)

Set the categories property: The categories property.

SecurityAssessmentMetadataProperties withDescription(String description)

Set the description property: Human readable description of the assessment.

SecurityAssessmentMetadataProperties withDisplayName(String displayName)

Set the displayName property: User friendly display name of the assessment.

SecurityAssessmentMetadataProperties withImplementationEffort(ImplementationEffort implementationEffort)

Set the implementationEffort property: The implementation effort required to remediate this assessment.

SecurityAssessmentMetadataProperties withPartnerData(SecurityAssessmentMetadataPartnerData partnerData)

Set the partnerData property: Describes the partner that created the assessment.

SecurityAssessmentMetadataProperties withPreview(Boolean preview)

Set the preview property: True if this assessment is in preview release status.

SecurityAssessmentMetadataProperties withRemediationDescription(String remediationDescription)

Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.

SecurityAssessmentMetadataProperties withSeverity(Severity severity)

Set the severity property: The severity level of the assessment.

SecurityAssessmentMetadataProperties withThreats(List<Threats> threats)

Set the threats property: The threats property.

SecurityAssessmentMetadataProperties withUserImpact(UserImpact userImpact)

Set the userImpact property: The user impact of the assessment.

Methods inherited from java.lang.Object

Constructor Details

SecurityAssessmentMetadataProperties

public SecurityAssessmentMetadataProperties()

Creates an instance of SecurityAssessmentMetadataProperties class.

Method Details

assessmentType

public AssessmentType assessmentType()

Get the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Returns:

the assessmentType value.

categories

public List categories()

Get the categories property: The categories property.

Returns:

the categories value.

description

public String description()

Get the description property: Human readable description of the assessment.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: User friendly display name of the assessment.

Returns:

the displayName value.

implementationEffort

public ImplementationEffort implementationEffort()

Get the implementationEffort property: The implementation effort required to remediate this assessment.

Returns:

the implementationEffort value.

partnerData

public SecurityAssessmentMetadataPartnerData partnerData()

Get the partnerData property: Describes the partner that created the assessment.

Returns:

the partnerData value.

policyDefinitionId

public String policyDefinitionId()

Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.

Returns:

the policyDefinitionId value.

preview

public Boolean preview()

Get the preview property: True if this assessment is in preview release status.

Returns:

the preview value.

remediationDescription

public String remediationDescription()

Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.

Returns:

the remediationDescription value.

severity

public Severity severity()

Get the severity property: The severity level of the assessment.

Returns:

the severity value.

threats

public List threats()

Get the threats property: The threats property.

Returns:

the threats value.

userImpact

public UserImpact userImpact()

Get the userImpact property: The user impact of the assessment.

Returns:

the userImpact value.

validate

public void validate()

Validates the instance.

withAssessmentType

public SecurityAssessmentMetadataProperties withAssessmentType(AssessmentType assessmentType)

Set the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Parameters:

assessmentType - the assessmentType value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withCategories

public SecurityAssessmentMetadataProperties withCategories(List categories)

Set the categories property: The categories property.

Parameters:

categories - the categories value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withDescription

public SecurityAssessmentMetadataProperties withDescription(String description)

Set the description property: Human readable description of the assessment.

Parameters:

description - the description value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withDisplayName

public SecurityAssessmentMetadataProperties withDisplayName(String displayName)

Set the displayName property: User friendly display name of the assessment.

Parameters:

displayName - the displayName value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withImplementationEffort

public SecurityAssessmentMetadataProperties withImplementationEffort(ImplementationEffort implementationEffort)

Set the implementationEffort property: The implementation effort required to remediate this assessment.

Parameters:

implementationEffort - the implementationEffort value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withPartnerData

public SecurityAssessmentMetadataProperties withPartnerData(SecurityAssessmentMetadataPartnerData partnerData)

Set the partnerData property: Describes the partner that created the assessment.

Parameters:

partnerData - the partnerData value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withPreview

public SecurityAssessmentMetadataProperties withPreview(Boolean preview)

Set the preview property: True if this assessment is in preview release status.

Parameters:

preview - the preview value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withRemediationDescription

public SecurityAssessmentMetadataProperties withRemediationDescription(String remediationDescription)

Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.

Parameters:

remediationDescription - the remediationDescription value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withSeverity

public SecurityAssessmentMetadataProperties withSeverity(Severity severity)

Set the severity property: The severity level of the assessment.

Parameters:

severity - the severity value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withThreats

public SecurityAssessmentMetadataProperties withThreats(List threats)

Set the threats property: The threats property.

Parameters:

threats - the threats value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

withUserImpact

public SecurityAssessmentMetadataProperties withUserImpact(UserImpact userImpact)

Set the userImpact property: The user impact of the assessment.

Parameters:

userImpact - the userImpact value to set.

Returns:

the SecurityAssessmentMetadataProperties object itself.

Applies to