SecurityAssessmentMetadataResponseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. SecurityAssessmentMetadataResponseInner
- com.
- com.
public final class SecurityAssessmentMetadataResponseInner
extends ProxyResource
Security assessment metadata response.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityAssessmentMetadataResponseInner() |
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 |
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Implementation |
implementationEffort()
Get the implementation |
| String |
name()
Get the name property: The name of the resource. |
|
Security |
partnerData()
Get the partner |
| String |
plannedDeprecationDate()
Get the planned |
| String |
policyDefinitionId()
Get the policy |
| Boolean |
preview()
Get the preview property: True if this assessment is in preview release status. |
|
Security |
publishDates()
Get the publish |
| String |
remediationDescription()
Get the remediation |
| Severity |
severity()
Get the severity property: The severity level of the assessment. |
| List<Tactics> |
tactics()
Get the tactics property: The tactics property. |
| List<Techniques> |
techniques()
Get the techniques property: The techniques property. |
| List<Threats> |
threats()
Get the threats property: The threats property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
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 |
withPlannedDeprecationDate(String plannedDeprecationDate)
Set the planned |
|
Security |
withPreview(Boolean preview)
Set the preview property: True if this assessment is in preview release status. |
|
Security |
withPublishDates(SecurityAssessmentMetadataPropertiesResponsePublishDates publishDates)
Set the publish |
|
Security |
withRemediationDescription(String remediationDescription)
Set the remediation |
|
Security |
withSeverity(Severity severity)
Set the severity property: The severity level of the assessment. |
|
Security |
withTactics(List<Tactics> tactics)
Set the tactics property: The tactics property. |
|
Security |
withTechniques(List<Techniques> techniques)
Set the techniques property: The techniques property. |
|
Security |
withThreats(List<Threats> threats)
Set the threats property: The threats property. |
|
Security |
withUserImpact(UserImpact userImpact)
Set the user |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SecurityAssessmentMetadataResponseInner
public SecurityAssessmentMetadataResponseInner()
Creates an instance of SecurityAssessmentMetadataResponseInner 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<Categories> categories()
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:
fromJson
public static SecurityAssessmentMetadataResponseInner fromJson(JsonReader jsonReader)
Reads an instance of SecurityAssessmentMetadataResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SecurityAssessmentMetadataResponseInner.id()Returns:
implementationEffort
public ImplementationEffort implementationEffort()
Get the implementationEffort property: The implementation effort required to remediate this assessment.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SecurityAssessmentMetadataResponseInner.name()Returns:
partnerData
public SecurityAssessmentMetadataPartnerData partnerData()
Get the partnerData property: Describes the partner that created the assessment.
Returns:
plannedDeprecationDate
public String plannedDeprecationDate()
Get the plannedDeprecationDate property: The plannedDeprecationDate property.
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:
publishDates
public SecurityAssessmentMetadataPropertiesResponsePublishDates publishDates()
Get the publishDates property: The publishDates property.
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:
tactics
public List<Tactics> tactics()
Get the tactics property: The tactics property.
Returns:
techniques
public List<Techniques> techniques()
Get the techniques property: The techniques property.
Returns:
threats
public List<Threats> threats()
Get the threats property: The threats property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecurityAssessmentMetadataResponseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SecurityAssessmentMetadataResponseInner.type()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 SecurityAssessmentMetadataResponseInner 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 SecurityAssessmentMetadataResponseInner withCategories(List<Categories> categories)
Set the categories property: The categories property.
Parameters:
Returns:
withDescription
public SecurityAssessmentMetadataResponseInner withDescription(String description)
Set the description property: Human readable description of the assessment.
Parameters:
Returns:
withDisplayName
public SecurityAssessmentMetadataResponseInner withDisplayName(String displayName)
Set the displayName property: User friendly display name of the assessment.
Parameters:
Returns:
withImplementationEffort
public SecurityAssessmentMetadataResponseInner withImplementationEffort(ImplementationEffort implementationEffort)
Set the implementationEffort property: The implementation effort required to remediate this assessment.
Parameters:
Returns:
withPartnerData
public SecurityAssessmentMetadataResponseInner withPartnerData(SecurityAssessmentMetadataPartnerData partnerData)
Set the partnerData property: Describes the partner that created the assessment.
Parameters:
Returns:
withPlannedDeprecationDate
public SecurityAssessmentMetadataResponseInner withPlannedDeprecationDate(String plannedDeprecationDate)
Set the plannedDeprecationDate property: The plannedDeprecationDate property.
Parameters:
Returns:
withPreview
public SecurityAssessmentMetadataResponseInner withPreview(Boolean preview)
Set the preview property: True if this assessment is in preview release status.
Parameters:
Returns:
withPublishDates
public SecurityAssessmentMetadataResponseInner withPublishDates(SecurityAssessmentMetadataPropertiesResponsePublishDates publishDates)
Set the publishDates property: The publishDates property.
Parameters:
Returns:
withRemediationDescription
public SecurityAssessmentMetadataResponseInner withRemediationDescription(String remediationDescription)
Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.
Parameters:
Returns:
withSeverity
public SecurityAssessmentMetadataResponseInner withSeverity(Severity severity)
Set the severity property: The severity level of the assessment.
Parameters:
Returns:
withTactics
public SecurityAssessmentMetadataResponseInner withTactics(List<Tactics> tactics)
Set the tactics property: The tactics property.
Parameters:
Returns:
withTechniques
public SecurityAssessmentMetadataResponseInner withTechniques(List<Techniques> techniques)
Set the techniques property: The techniques property.
Parameters:
Returns:
withThreats
public SecurityAssessmentMetadataResponseInner withThreats(List<Threats> threats)
Set the threats property: The threats property.
Parameters:
Returns:
withUserImpact
public SecurityAssessmentMetadataResponseInner withUserImpact(UserImpact userImpact)
Set the userImpact property: The user impact of the assessment.
Parameters:
Returns: