SecurityAssessment Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. models. SecurityAssessment
- com.
- com.
public final class SecurityAssessment
extends ProxyResource
Security assessment on a resource.
Constructor Summary
Constructor | Description |
---|---|
SecurityAssessment() |
Creates an instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
additionalData()
Get the additional |
String |
displayName()
Get the display |
Assessment |
links()
Get the links property: Links relevant to the assessment. |
Security |
metadata()
Get the metadata property: Describes properties of an assessment metadata. |
Security |
partnersData()
Get the partners |
Resource |
resourceDetails()
Get the resource |
Assessment |
status()
Get the status property: The result of the assessment. |
void |
validate()
Validates the instance. |
Security |
withAdditionalData(Map<String,String> additionalData)
Set the additional |
Security |
withMetadata(SecurityAssessmentMetadataProperties metadata)
Set the metadata property: Describes properties of an assessment metadata. |
Security |
withPartnersData(SecurityAssessmentPartnerData partnersData)
Set the partners |
Security |
withResourceDetails(ResourceDetails resourceDetails)
Set the resource |
Security |
withStatus(AssessmentStatus status)
Set the status property: The result of the assessment. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SecurityAssessment
public SecurityAssessment()
Creates an instance of SecurityAssessment class.
Method Details
additionalData
public Map
Get the additionalData property: Additional data regarding the assessment.
Returns:
displayName
public String displayName()
Get the displayName property: User friendly display name of the assessment.
Returns:
links
public AssessmentLinks links()
Get the links property: Links relevant to the assessment.
Returns:
metadata
public SecurityAssessmentMetadataProperties metadata()
Get the metadata property: Describes properties of an assessment metadata.
Returns:
partnersData
public SecurityAssessmentPartnerData partnersData()
Get the partnersData property: Data regarding 3rd party partner integration.
Returns:
resourceDetails
public ResourceDetails resourceDetails()
Get the resourceDetails property: Details of the resource that was assessed.
Returns:
status
public AssessmentStatus status()
Get the status property: The result of the assessment.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalData
public SecurityAssessment withAdditionalData(Map
Set the additionalData property: Additional data regarding the assessment.
Parameters:
Returns:
withMetadata
public SecurityAssessment withMetadata(SecurityAssessmentMetadataProperties metadata)
Set the metadata property: Describes properties of an assessment metadata.
Parameters:
Returns:
withPartnersData
public SecurityAssessment withPartnersData(SecurityAssessmentPartnerData partnersData)
Set the partnersData property: Data regarding 3rd party partner integration.
Parameters:
Returns:
withResourceDetails
public SecurityAssessment withResourceDetails(ResourceDetails resourceDetails)
Set the resourceDetails property: Details of the resource that was assessed.
Parameters:
Returns:
withStatus
public SecurityAssessment withStatus(AssessmentStatus status)
Set the status property: The result 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