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

MicrosoftGraphDeviceConfigurationSettingState Class

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

Implements

public final class MicrosoftGraphDeviceConfigurationSettingState
implements JsonSerializable<MicrosoftGraphDeviceConfigurationSettingState>

deviceConfigurationSettingState Device Configuration Setting State for a given device.

Constructor Summary

Constructor Description
MicrosoftGraphDeviceConfigurationSettingState()

Creates an instance of MicrosoftGraphDeviceConfigurationSettingState class.

Method Summary

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

Get the additionalProperties property: Device Configuration Setting State for a given device.

String currentValue()

Get the currentValue property: Current value of setting on device.

Long errorCode()

Get the errorCode property: Error code for the setting.

String errorDescription()

Get the errorDescription property: Error description.

static MicrosoftGraphDeviceConfigurationSettingState fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeviceConfigurationSettingState from the JsonReader.

String instanceDisplayName()

Get the instanceDisplayName property: Name of setting instance that is being reported.

String setting()

Get the setting property: The setting that is being reported.

String settingName()

Get the settingName property: Localized/user friendly setting name that is being reported.

List<MicrosoftGraphSettingSource> sources()

Get the sources property: Contributing policies.

MicrosoftGraphComplianceStatus state()

Get the state property: complianceStatus.

JsonWriter toJson(JsonWriter jsonWriter)
String userEmail()

Get the userEmail property: UserEmail.

String userId()

Get the userId property: UserId.

String userPrincipalName()

Get the userPrincipalName property: UserPrincipalName.

String username()

Get the username property: UserName.

void validate()

Validates the instance.

MicrosoftGraphDeviceConfigurationSettingState withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Device Configuration Setting State for a given device.

MicrosoftGraphDeviceConfigurationSettingState withCurrentValue(String currentValue)

Set the currentValue property: Current value of setting on device.

MicrosoftGraphDeviceConfigurationSettingState withErrorCode(Long errorCode)

Set the errorCode property: Error code for the setting.

MicrosoftGraphDeviceConfigurationSettingState withErrorDescription(String errorDescription)

Set the errorDescription property: Error description.

MicrosoftGraphDeviceConfigurationSettingState withInstanceDisplayName(String instanceDisplayName)

Set the instanceDisplayName property: Name of setting instance that is being reported.

MicrosoftGraphDeviceConfigurationSettingState withSetting(String setting)

Set the setting property: The setting that is being reported.

MicrosoftGraphDeviceConfigurationSettingState withSettingName(String settingName)

Set the settingName property: Localized/user friendly setting name that is being reported.

MicrosoftGraphDeviceConfigurationSettingState withSources(List<MicrosoftGraphSettingSource> sources)

Set the sources property: Contributing policies.

MicrosoftGraphDeviceConfigurationSettingState withState(MicrosoftGraphComplianceStatus state)

Set the state property: complianceStatus.

MicrosoftGraphDeviceConfigurationSettingState withUserEmail(String userEmail)

Set the userEmail property: UserEmail.

MicrosoftGraphDeviceConfigurationSettingState withUserId(String userId)

Set the userId property: UserId.

MicrosoftGraphDeviceConfigurationSettingState withUserPrincipalName(String userPrincipalName)

Set the userPrincipalName property: UserPrincipalName.

MicrosoftGraphDeviceConfigurationSettingState withUsername(String username)

Set the username property: UserName.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDeviceConfigurationSettingState

public MicrosoftGraphDeviceConfigurationSettingState()

Creates an instance of MicrosoftGraphDeviceConfigurationSettingState class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Device Configuration Setting State for a given device.

Returns:

the additionalProperties value.

currentValue

public String currentValue()

Get the currentValue property: Current value of setting on device.

Returns:

the currentValue value.

errorCode

public Long errorCode()

Get the errorCode property: Error code for the setting.

Returns:

the errorCode value.

errorDescription

public String errorDescription()

Get the errorDescription property: Error description.

Returns:

the errorDescription value.

fromJson

public static MicrosoftGraphDeviceConfigurationSettingState fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeviceConfigurationSettingState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceDisplayName

public String instanceDisplayName()

Get the instanceDisplayName property: Name of setting instance that is being reported.

Returns:

the instanceDisplayName value.

setting

public String setting()

Get the setting property: The setting that is being reported.

Returns:

the setting value.

settingName

public String settingName()

Get the settingName property: Localized/user friendly setting name that is being reported.

Returns:

the settingName value.

sources

public List sources()

Get the sources property: Contributing policies.

Returns:

the sources value.

state

public MicrosoftGraphComplianceStatus state()

Get the state property: complianceStatus.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userEmail

public String userEmail()

Get the userEmail property: UserEmail.

Returns:

the userEmail value.

userId

public String userId()

Get the userId property: UserId.

Returns:

the userId value.

userPrincipalName

public String userPrincipalName()

Get the userPrincipalName property: UserPrincipalName.

Returns:

the userPrincipalName value.

username

public String username()

Get the username property: UserName.

Returns:

the username value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphDeviceConfigurationSettingState withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Device Configuration Setting State for a given device.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withCurrentValue

public MicrosoftGraphDeviceConfigurationSettingState withCurrentValue(String currentValue)

Set the currentValue property: Current value of setting on device.

Parameters:

currentValue - the currentValue value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withErrorCode

public MicrosoftGraphDeviceConfigurationSettingState withErrorCode(Long errorCode)

Set the errorCode property: Error code for the setting.

Parameters:

errorCode - the errorCode value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withErrorDescription

public MicrosoftGraphDeviceConfigurationSettingState withErrorDescription(String errorDescription)

Set the errorDescription property: Error description.

Parameters:

errorDescription - the errorDescription value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withInstanceDisplayName

public MicrosoftGraphDeviceConfigurationSettingState withInstanceDisplayName(String instanceDisplayName)

Set the instanceDisplayName property: Name of setting instance that is being reported.

Parameters:

instanceDisplayName - the instanceDisplayName value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withSetting

public MicrosoftGraphDeviceConfigurationSettingState withSetting(String setting)

Set the setting property: The setting that is being reported.

Parameters:

setting - the setting value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withSettingName

public MicrosoftGraphDeviceConfigurationSettingState withSettingName(String settingName)

Set the settingName property: Localized/user friendly setting name that is being reported.

Parameters:

settingName - the settingName value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withSources

public MicrosoftGraphDeviceConfigurationSettingState withSources(List sources)

Set the sources property: Contributing policies.

Parameters:

sources - the sources value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withState

public MicrosoftGraphDeviceConfigurationSettingState withState(MicrosoftGraphComplianceStatus state)

Set the state property: complianceStatus.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withUserEmail

public MicrosoftGraphDeviceConfigurationSettingState withUserEmail(String userEmail)

Set the userEmail property: UserEmail.

Parameters:

userEmail - the userEmail value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withUserId

public MicrosoftGraphDeviceConfigurationSettingState withUserId(String userId)

Set the userId property: UserId.

Parameters:

userId - the userId value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withUserPrincipalName

public MicrosoftGraphDeviceConfigurationSettingState withUserPrincipalName(String userPrincipalName)

Set the userPrincipalName property: UserPrincipalName.

Parameters:

userPrincipalName - the userPrincipalName value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

withUsername

public MicrosoftGraphDeviceConfigurationSettingState withUsername(String username)

Set the username property: UserName.

Parameters:

username - the username value to set.

Returns:

the MicrosoftGraphDeviceConfigurationSettingState object itself.

Applies to