Class SecurityAssessmentMetadataProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataProperties
- Direct Known Subclasses:
SecurityAssessmentMetadataPropertiesResponse
Describes properties of an assessment metadata.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.Get the categories property: The categories property.Get the description property: Human readable description of the assessment.Get the displayName property: User friendly display name of the assessment.Get the implementationEffort property: The implementation effort required to remediate this assessment.Get the partnerData property: Describes the partner that created the assessment.Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.preview()
Get the preview property: True if this assessment is in preview release status.Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.severity()
Get the severity property: The severity level of the assessment.threats()
Get the threats property: The threats property.Get the userImpact property: The user impact of the assessment.void
validate()
Validates the instance.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.withCategories
(List<Categories> categories) Set the categories property: The categories property.withDescription
(String description) Set the description property: Human readable description of the assessment.withDisplayName
(String displayName) Set the displayName property: User friendly display name of the assessment.withImplementationEffort
(ImplementationEffort implementationEffort) Set the implementationEffort property: The implementation effort required to remediate this assessment.withPartnerData
(SecurityAssessmentMetadataPartnerData partnerData) Set the partnerData property: Describes the partner that created the assessment.withPreview
(Boolean preview) Set the preview property: True if this assessment is in preview release status.withRemediationDescription
(String remediationDescription) Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.withSeverity
(Severity severity) Set the severity property: The severity level of the assessment.withThreats
(List<Threats> threats) Set the threats property: The threats property.withUserImpact
(UserImpact userImpact) Set the userImpact property: The user impact of the assessment.
-
Constructor Details
-
SecurityAssessmentMetadataProperties
public SecurityAssessmentMetadataProperties()
-
-
Method Details
-
displayName
Get the displayName property: User friendly display name of the assessment.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: User friendly display name of the assessment.- Parameters:
displayName
- the displayName value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
policyDefinitionId
Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.- Returns:
- the policyDefinitionId value.
-
description
Get the description property: Human readable description of the assessment.- Returns:
- the description value.
-
withDescription
Set the description property: Human readable description of the assessment.- Parameters:
description
- the description value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
remediationDescription
Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.- Returns:
- the remediationDescription value.
-
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.
-
categories
Get the categories property: The categories property.- Returns:
- the categories value.
-
withCategories
Set the categories property: The categories property.- Parameters:
categories
- the categories value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
severity
Get the severity property: The severity level of the assessment.- Returns:
- the severity value.
-
withSeverity
Set the severity property: The severity level of the assessment.- Parameters:
severity
- the severity value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
userImpact
Get the userImpact property: The user impact of the assessment.- Returns:
- the userImpact value.
-
withUserImpact
Set the userImpact property: The user impact of the assessment.- Parameters:
userImpact
- the userImpact value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
implementationEffort
Get the implementationEffort property: The implementation effort required to remediate this assessment.- Returns:
- the implementationEffort value.
-
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.
-
threats
Get the threats property: The threats property.- Returns:
- the threats value.
-
withThreats
Set the threats property: The threats property.- Parameters:
threats
- the threats value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
preview
Get the preview property: True if this assessment is in preview release status.- Returns:
- the preview value.
-
withPreview
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.
-
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.
-
withAssessmentType
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.
-
partnerData
Get the partnerData property: Describes the partner that created the assessment.- Returns:
- the partnerData value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-