Class SecurityAssessmentMetadataPropertiesResponse
java.lang.Object
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataProperties
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataPropertiesResponse
public final class SecurityAssessmentMetadataPropertiesResponse
extends SecurityAssessmentMetadataProperties
Describes properties of an assessment metadata response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the plannedDeprecationDate property: The plannedDeprecationDate property.Get the publishDates property: The publishDates property.tactics()
Get the tactics property: The tactics property.Get the techniques property: The techniques property.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.withPlannedDeprecationDate
(String plannedDeprecationDate) Set the plannedDeprecationDate property: The plannedDeprecationDate property.withPreview
(Boolean preview) Set the preview property: True if this assessment is in preview release status.Set the publishDates property: The publishDates property.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.withTactics
(List<Tactics> tactics) Set the tactics property: The tactics property.withTechniques
(List<Techniques> techniques) Set the techniques property: The techniques property.withThreats
(List<Threats> threats) Set the threats property: The threats property.withUserImpact
(UserImpact userImpact) Set the userImpact property: The user impact of the assessment.Methods inherited from class com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataProperties
assessmentType, categories, description, displayName, implementationEffort, partnerData, policyDefinitionId, preview, remediationDescription, severity, threats, userImpact
-
Constructor Details
-
SecurityAssessmentMetadataPropertiesResponse
public SecurityAssessmentMetadataPropertiesResponse()
-
-
Method Details
-
publishDates
Get the publishDates property: The publishDates property.- Returns:
- the publishDates value.
-
withPublishDates
public SecurityAssessmentMetadataPropertiesResponse withPublishDates(SecurityAssessmentMetadataPropertiesResponsePublishDates publishDates) Set the publishDates property: The publishDates property.- Parameters:
publishDates
- the publishDates value to set.- Returns:
- the SecurityAssessmentMetadataPropertiesResponse object itself.
-
plannedDeprecationDate
Get the plannedDeprecationDate property: The plannedDeprecationDate property.- Returns:
- the plannedDeprecationDate value.
-
withPlannedDeprecationDate
public SecurityAssessmentMetadataPropertiesResponse withPlannedDeprecationDate(String plannedDeprecationDate) Set the plannedDeprecationDate property: The plannedDeprecationDate property.- Parameters:
plannedDeprecationDate
- the plannedDeprecationDate value to set.- Returns:
- the SecurityAssessmentMetadataPropertiesResponse object itself.
-
tactics
Get the tactics property: The tactics property.- Returns:
- the tactics value.
-
withTactics
Set the tactics property: The tactics property.- Parameters:
tactics
- the tactics value to set.- Returns:
- the SecurityAssessmentMetadataPropertiesResponse object itself.
-
techniques
Get the techniques property: The techniques property.- Returns:
- the techniques value.
-
withTechniques
Set the techniques property: The techniques property.- Parameters:
techniques
- the techniques value to set.- Returns:
- the SecurityAssessmentMetadataPropertiesResponse object itself.
-
withDisplayName
Set the displayName property: User friendly display name of the assessment.- Overrides:
withDisplayName
in classSecurityAssessmentMetadataProperties
- Parameters:
displayName
- the displayName value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withDescription
Set the description property: Human readable description of the assessment.- Overrides:
withDescription
in classSecurityAssessmentMetadataProperties
- Parameters:
description
- the description value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withRemediationDescription
public SecurityAssessmentMetadataPropertiesResponse withRemediationDescription(String remediationDescription) Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.- Overrides:
withRemediationDescription
in classSecurityAssessmentMetadataProperties
- Parameters:
remediationDescription
- the remediationDescription value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withCategories
Set the categories property: The categories property.- Overrides:
withCategories
in classSecurityAssessmentMetadataProperties
- Parameters:
categories
- the categories value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withSeverity
Set the severity property: The severity level of the assessment.- Overrides:
withSeverity
in classSecurityAssessmentMetadataProperties
- Parameters:
severity
- the severity value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withUserImpact
Set the userImpact property: The user impact of the assessment.- Overrides:
withUserImpact
in classSecurityAssessmentMetadataProperties
- Parameters:
userImpact
- the userImpact value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withImplementationEffort
public SecurityAssessmentMetadataPropertiesResponse withImplementationEffort(ImplementationEffort implementationEffort) Set the implementationEffort property: The implementation effort required to remediate this assessment.- Overrides:
withImplementationEffort
in classSecurityAssessmentMetadataProperties
- Parameters:
implementationEffort
- the implementationEffort value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withThreats
Set the threats property: The threats property.- Overrides:
withThreats
in classSecurityAssessmentMetadataProperties
- Parameters:
threats
- the threats value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withPreview
Set the preview property: True if this assessment is in preview release status.- Overrides:
withPreview
in classSecurityAssessmentMetadataProperties
- Parameters:
preview
- the preview value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withAssessmentType
public SecurityAssessmentMetadataPropertiesResponse 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.- Overrides:
withAssessmentType
in classSecurityAssessmentMetadataProperties
- Parameters:
assessmentType
- the assessmentType value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
withPartnerData
public SecurityAssessmentMetadataPropertiesResponse withPartnerData(SecurityAssessmentMetadataPartnerData partnerData) Set the partnerData property: Describes the partner that created the assessment.- Overrides:
withPartnerData
in classSecurityAssessmentMetadataProperties
- Parameters:
partnerData
- the partnerData value to set.- Returns:
- the SecurityAssessmentMetadataProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classSecurityAssessmentMetadataProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-