Class SecurityAssessmentMetadataPartnerData

java.lang.Object
com.azure.resourcemanager.security.models.SecurityAssessmentMetadataPartnerData

public final class SecurityAssessmentMetadataPartnerData extends Object
Describes the partner that created the assessment.
  • Constructor Details

    • SecurityAssessmentMetadataPartnerData

      public SecurityAssessmentMetadataPartnerData()
  • Method Details

    • partnerName

      public String partnerName()
      Get the partnerName property: Name of the company of the partner.
      Returns:
      the partnerName value.
    • withPartnerName

      public SecurityAssessmentMetadataPartnerData withPartnerName(String partnerName)
      Set the partnerName property: Name of the company of the partner.
      Parameters:
      partnerName - the partnerName value to set.
      Returns:
      the SecurityAssessmentMetadataPartnerData object itself.
    • productName

      public String productName()
      Get the productName property: Name of the product of the partner that created the assessment.
      Returns:
      the productName value.
    • withProductName

      public SecurityAssessmentMetadataPartnerData withProductName(String productName)
      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

      public String secret()
      Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.
      Returns:
      the secret value.
    • withSecret

      public SecurityAssessmentMetadataPartnerData withSecret(String secret)
      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.