Class SecurityAssessmentPartnerData
java.lang.Object
com.azure.resourcemanager.security.models.SecurityAssessmentPartnerData
Data regarding 3rd party partner integration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the partnerName property: Name of the company of the partner.secret()
Get the secret property: secret to authenticate the partner - write only.void
validate()
Validates the instance.withPartnerName
(String partnerName) Set the partnerName property: Name of the company of the partner.withSecret
(String secret) Set the secret property: secret to authenticate the partner - write only.
-
Constructor Details
-
SecurityAssessmentPartnerData
public SecurityAssessmentPartnerData()
-
-
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 SecurityAssessmentPartnerData object itself.
-
secret
Get the secret property: secret to authenticate the partner - write only.- Returns:
- the secret value.
-
withSecret
Set the secret property: secret to authenticate the partner - write only.- Parameters:
secret
- the secret value to set.- Returns:
- the SecurityAssessmentPartnerData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-