Class MicrosoftGraphPrivacyProfile
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPrivacyProfile
-
public final class MicrosoftGraphPrivacyProfile extends Object
privacyProfile.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPrivacyProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: privacyProfile.String
contactEmail()
Get the contactEmail property: A valid smtp email address for the privacy statement contact.String
statementUrl()
Get the statementUrl property: A valid URL format that begins with http:// or https://.void
validate()
Validates the instance.MicrosoftGraphPrivacyProfile
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: privacyProfile.MicrosoftGraphPrivacyProfile
withContactEmail(String contactEmail)
Set the contactEmail property: A valid smtp email address for the privacy statement contact.MicrosoftGraphPrivacyProfile
withStatementUrl(String statementUrl)
Set the statementUrl property: A valid URL format that begins with http:// or https://.
-
-
-
Method Detail
-
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.
-
-