Class MicrosoftGraphPrivacyProfile

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPrivacyProfile

public final class MicrosoftGraphPrivacyProfile extends Object
privacyProfile.
  • Constructor Details

    • MicrosoftGraphPrivacyProfile

      public MicrosoftGraphPrivacyProfile()
      Creates an instance of MicrosoftGraphPrivacyProfile class.
  • Method Details

    • contactEmail

      public String contactEmail()
      Get the contactEmail property: A valid smtp email address for the privacy statement contact. Not required.
      Returns:
      the contactEmail value.
    • withContactEmail

      public MicrosoftGraphPrivacyProfile withContactEmail(String contactEmail)
      Set the contactEmail property: A valid smtp email address for the privacy statement contact. Not required.
      Parameters:
      contactEmail - the contactEmail value to set.
      Returns:
      the MicrosoftGraphPrivacyProfile object itself.
    • statementUrl

      public String statementUrl()
      Get the statementUrl property: A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required.
      Returns:
      the statementUrl value.
    • withStatementUrl

      public MicrosoftGraphPrivacyProfile withStatementUrl(String statementUrl)
      Set the statementUrl property: A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required.
      Parameters:
      statementUrl - the statementUrl value to set.
      Returns:
      the MicrosoftGraphPrivacyProfile object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: privacyProfile.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphPrivacyProfile withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: privacyProfile.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphPrivacyProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.