SecurityAssessmentMetadataProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. fluent. models. SecurityAssessmentMetadataProperties
- com.
public class SecurityAssessmentMetadataProperties
Describes properties of an assessment metadata.
Constructor Summary
Constructor | Description |
---|---|
SecurityAssessmentMetadataProperties() |
Creates an instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
Assessment |
assessmentType()
Get the assessment |
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 display |
Implementation |
implementationEffort()
Get the implementation |
Security |
partnerData()
Get the partner |
String |
policyDefinitionId()
Get the policy |
Boolean |
preview()
Get the preview property: True if this assessment is in preview release status. |
String |
remediationDescription()
Get the remediation |
Severity |
severity()
Get the severity property: The severity level of the assessment. |
List<Threats> |
threats()
Get the threats property: The threats property. |
User |
userImpact()
Get the user |
void |
validate()
Validates the instance. |
Security |
withAssessmentType(AssessmentType assessmentType)
Set the assessment |
Security |
withCategories(List<Categories> categories)
Set the categories property: The categories property. |
Security |
withDescription(String description)
Set the description property: Human readable description of the assessment. |
Security |
withDisplayName(String displayName)
Set the display |
Security |
withImplementationEffort(ImplementationEffort implementationEffort)
Set the implementation |
Security |
withPartnerData(SecurityAssessmentMetadataPartnerData partnerData)
Set the partner |
Security |
withPreview(Boolean preview)
Set the preview property: True if this assessment is in preview release status. |
Security |
withRemediationDescription(String remediationDescription)
Set the remediation |
Security |
withSeverity(Severity severity)
Set the severity property: The severity level of the assessment. |
Security |
withThreats(List<Threats> threats)
Set the threats property: The threats property. |
Security |
withUserImpact(UserImpact userImpact)
Set the user |
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:
categories
public List
Get the categories property: The categories property.
Returns:
description
public String description()
Get the description property: Human readable description of the assessment.
Returns:
displayName
public String displayName()
Get the displayName property: User friendly display name of the assessment.
Returns:
implementationEffort
public ImplementationEffort implementationEffort()
Get the implementationEffort property: The implementation effort required to remediate this assessment.
Returns:
partnerData
public SecurityAssessmentMetadataPartnerData partnerData()
Get the partnerData property: Describes the partner that created the assessment.
Returns:
policyDefinitionId
public String policyDefinitionId()
Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.
Returns:
preview
public Boolean preview()
Get the preview property: True if this assessment is in preview release status.
Returns:
remediationDescription
public String remediationDescription()
Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.
Returns:
severity
public Severity severity()
Get the severity property: The severity level of the assessment.
Returns:
threats
public List
Get the threats property: The threats property.
Returns:
userImpact
public UserImpact userImpact()
Get the userImpact property: The user impact of the assessment.
Returns:
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:
Returns:
withCategories
public SecurityAssessmentMetadataProperties withCategories(List
Set the categories property: The categories property.
Parameters:
Returns:
withDescription
public SecurityAssessmentMetadataProperties withDescription(String description)
Set the description property: Human readable description of the assessment.
Parameters:
Returns:
withDisplayName
public SecurityAssessmentMetadataProperties withDisplayName(String displayName)
Set the displayName property: User friendly display name of the assessment.
Parameters:
Returns:
withImplementationEffort
public SecurityAssessmentMetadataProperties withImplementationEffort(ImplementationEffort implementationEffort)
Set the implementationEffort property: The implementation effort required to remediate this assessment.
Parameters:
Returns:
withPartnerData
public SecurityAssessmentMetadataProperties withPartnerData(SecurityAssessmentMetadataPartnerData partnerData)
Set the partnerData property: Describes the partner that created the assessment.
Parameters:
Returns:
withPreview
public SecurityAssessmentMetadataProperties withPreview(Boolean preview)
Set the preview property: True if this assessment is in preview release status.
Parameters:
Returns:
withRemediationDescription
public SecurityAssessmentMetadataProperties withRemediationDescription(String remediationDescription)
Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.
Parameters:
Returns:
withSeverity
public SecurityAssessmentMetadataProperties withSeverity(Severity severity)
Set the severity property: The severity level of the assessment.
Parameters:
Returns:
withThreats
public SecurityAssessmentMetadataProperties withThreats(List
Set the threats property: The threats property.
Parameters:
Returns:
withUserImpact
public SecurityAssessmentMetadataProperties withUserImpact(UserImpact userImpact)
Set the userImpact property: The user impact of the assessment.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for