Class SecurityAssessmentMetadataPartnerData
java.lang.Object
com.azure.resourcemanager.security.models.SecurityAssessmentMetadataPartnerData
Describes the partner that created the assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the partnerName property: Name of the company of the partner.Get the productName property: Name of the product of the partner that created the assessment.secret()
Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.void
validate()
Validates the instance.withPartnerName
(String partnerName) Set the partnerName property: Name of the company of the partner.withProductName
(String productName) Set the productName property: Name of the product of the partner that created the assessment.withSecret
(String secret) Set the secret property: Secret to authenticate the partner and verify it created the assessment - write only.
-
Constructor Details
-
SecurityAssessmentMetadataPartnerData
public SecurityAssessmentMetadataPartnerData()
-
-
Method Details
-
partnerName
Get the partnerName property: Name of the company of the partner.- Returns:
- the partnerName value.
-
withPartnerName
Set the partnerName property: Name of the company of the partner.- Parameters:
partnerName
- the partnerName value to set.- Returns:
- the SecurityAssessmentMetadataPartnerData object itself.
-
productName
Get the productName property: Name of the product of the partner that created the assessment.- Returns:
- the productName value.
-
withProductName
Set the productName property: Name of the product of the partner that created the assessment.- Parameters:
productName
- the productName value to set.- Returns:
- the SecurityAssessmentMetadataPartnerData object itself.
-
secret
Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.- Returns:
- the secret value.
-
withSecret
Set the secret property: Secret to authenticate the partner and verify it created the assessment - write only.- Parameters:
secret
- the secret value to set.- Returns:
- the SecurityAssessmentMetadataPartnerData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-