Class MicrosoftGraphPrivacyProfile
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPrivacyProfile
privacyProfile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPrivacyProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: privacyProfile.Get the contactEmail property: A valid smtp email address for the privacy statement contact.Get the statementUrl property: A valid URL format that begins with http:// or https://.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: privacyProfile.withContactEmail(String contactEmail) Set the contactEmail property: A valid smtp email address for the privacy statement contact.withStatementUrl(String statementUrl) Set the statementUrl property: A valid URL format that begins with http:// or https://.
-
Constructor Details
-
MicrosoftGraphPrivacyProfile
public MicrosoftGraphPrivacyProfile()Creates an instance of MicrosoftGraphPrivacyProfile class.
-
-
Method Details
-
contactEmail
Get the contactEmail property: A valid smtp email address for the privacy statement contact. Not required.- Returns:
- the contactEmail value.
-
withContactEmail
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
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
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
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.
-