你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphPrivacyProfile Class

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

Implements

public final class MicrosoftGraphPrivacyProfile
implements JsonSerializable<MicrosoftGraphPrivacyProfile>

privacyProfile.

Constructor Summary

Constructor Description
MicrosoftGraphPrivacyProfile()

Creates an instance of MicrosoftGraphPrivacyProfile class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphPrivacyProfile fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPrivacyProfile from the JsonReader.

String statementUrl()

Get the statementUrl property: A valid URL format that begins with http:// or https://.

JsonWriter toJson(JsonWriter jsonWriter)
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://.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPrivacyProfile

public MicrosoftGraphPrivacyProfile()

Creates an instance of MicrosoftGraphPrivacyProfile class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: privacyProfile.

Returns:

the additionalProperties value.

contactEmail

public String contactEmail()

Get the contactEmail property: A valid smtp email address for the privacy statement contact. Not required.

Returns:

the contactEmail value.

fromJson

public static MicrosoftGraphPrivacyProfile fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPrivacyProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPrivacyProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphPrivacyProfile.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphPrivacyProfile withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: privacyProfile.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPrivacyProfile object itself.

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.

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.

Applies to