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

MicrosoftGraphSettingValue Class

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

Implements

public final class MicrosoftGraphSettingValue
implements JsonSerializable<MicrosoftGraphSettingValue>

settingValue.

Constructor Summary

Constructor Description
MicrosoftGraphSettingValue()

Creates an instance of MicrosoftGraphSettingValue class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: settingValue.

static MicrosoftGraphSettingValue fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSettingValue from the JsonReader.

String name()

Get the name property: Name of the setting (as defined by the groupSettingTemplate).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Value of the setting.

MicrosoftGraphSettingValue withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: settingValue.

MicrosoftGraphSettingValue withName(String name)

Set the name property: Name of the setting (as defined by the groupSettingTemplate).

MicrosoftGraphSettingValue withValue(String value)

Set the value property: Value of the setting.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSettingValue

public MicrosoftGraphSettingValue()

Creates an instance of MicrosoftGraphSettingValue class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: settingValue.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSettingValue fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSettingValue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSettingValue 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 MicrosoftGraphSettingValue.

name

public String name()

Get the name property: Name of the setting (as defined by the groupSettingTemplate).

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value of the setting.

Returns:

the value value.

withAdditionalProperties

public MicrosoftGraphSettingValue withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: settingValue.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSettingValue object itself.

withName

public MicrosoftGraphSettingValue withName(String name)

Set the name property: Name of the setting (as defined by the groupSettingTemplate).

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphSettingValue object itself.

withValue

public MicrosoftGraphSettingValue withValue(String value)

Set the value property: Value of the setting.

Parameters:

value - the value value to set.

Returns:

the MicrosoftGraphSettingValue object itself.

Applies to