你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphDeviceConfigurationSettingState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceConfigurationSettingState
- com.
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 Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
currentValue()
Get the current |
Long |
errorCode()
Get the error |
String |
errorDescription()
Get the error |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
instanceDisplayName()
Get the instance |
String |
setting()
Get the setting property: The setting that is being reported. |
String |
settingName()
Get the setting |
List<Microsoft |
sources()
Get the sources property: Contributing policies. |
Microsoft |
state()
Get the state property: compliance |
Json |
toJson(JsonWriter jsonWriter) |
String |
userEmail()
Get the user |
String |
userId()
Get the user |
String |
userPrincipalName()
Get the user |
String |
username()
Get the username property: User |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCurrentValue(String currentValue)
Set the current |
Microsoft |
withErrorCode(Long errorCode)
Set the error |
Microsoft |
withErrorDescription(String errorDescription)
Set the error |
Microsoft |
withInstanceDisplayName(String instanceDisplayName)
Set the instance |
Microsoft |
withSetting(String setting)
Set the setting property: The setting that is being reported. |
Microsoft |
withSettingName(String settingName)
Set the setting |
Microsoft |
withSources(List<MicrosoftGraphSettingSource> sources)
Set the sources property: Contributing policies. |
Microsoft |
withState(MicrosoftGraphComplianceStatus state)
Set the state property: compliance |
Microsoft |
withUserEmail(String userEmail)
Set the user |
Microsoft |
withUserId(String userId)
Set the user |
Microsoft |
withUserPrincipalName(String userPrincipalName)
Set the user |
Microsoft |
withUsername(String username)
Set the username property: User |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDeviceConfigurationSettingState
public MicrosoftGraphDeviceConfigurationSettingState()
Creates an instance of MicrosoftGraphDeviceConfigurationSettingState class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Device Configuration Setting State for a given device.
Returns:
currentValue
public String currentValue()
Get the currentValue property: Current value of setting on device.
Returns:
errorCode
public Long errorCode()
Get the errorCode property: Error code for the setting.
Returns:
errorDescription
public String errorDescription()
Get the errorDescription property: Error description.
Returns:
fromJson
public static MicrosoftGraphDeviceConfigurationSettingState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceConfigurationSettingState from the JsonReader.
Parameters:
Returns:
Throws:
instanceDisplayName
public String instanceDisplayName()
Get the instanceDisplayName property: Name of setting instance that is being reported.
Returns:
setting
public String setting()
Get the setting property: The setting that is being reported.
Returns:
settingName
public String settingName()
Get the settingName property: Localized/user friendly setting name that is being reported.
Returns:
sources
public List
Get the sources property: Contributing policies.
Returns:
state
public MicrosoftGraphComplianceStatus state()
Get the state property: complianceStatus.
Returns:
toJson
userEmail
public String userEmail()
Get the userEmail property: UserEmail.
Returns:
userId
public String userId()
Get the userId property: UserId.
Returns:
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: UserPrincipalName.
Returns:
username
public String username()
Get the username property: UserName.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphDeviceConfigurationSettingState withAdditionalProperties(Map
Set the additionalProperties property: Device Configuration Setting State for a given device.
Parameters:
Returns:
withCurrentValue
public MicrosoftGraphDeviceConfigurationSettingState withCurrentValue(String currentValue)
Set the currentValue property: Current value of setting on device.
Parameters:
Returns:
withErrorCode
public MicrosoftGraphDeviceConfigurationSettingState withErrorCode(Long errorCode)
Set the errorCode property: Error code for the setting.
Parameters:
Returns:
withErrorDescription
public MicrosoftGraphDeviceConfigurationSettingState withErrorDescription(String errorDescription)
Set the errorDescription property: Error description.
Parameters:
Returns:
withInstanceDisplayName
public MicrosoftGraphDeviceConfigurationSettingState withInstanceDisplayName(String instanceDisplayName)
Set the instanceDisplayName property: Name of setting instance that is being reported.
Parameters:
Returns:
withSetting
public MicrosoftGraphDeviceConfigurationSettingState withSetting(String setting)
Set the setting property: The setting that is being reported.
Parameters:
Returns:
withSettingName
public MicrosoftGraphDeviceConfigurationSettingState withSettingName(String settingName)
Set the settingName property: Localized/user friendly setting name that is being reported.
Parameters:
Returns:
withSources
public MicrosoftGraphDeviceConfigurationSettingState withSources(List
Set the sources property: Contributing policies.
Parameters:
Returns:
withState
public MicrosoftGraphDeviceConfigurationSettingState withState(MicrosoftGraphComplianceStatus state)
Set the state property: complianceStatus.
Parameters:
Returns:
withUserEmail
public MicrosoftGraphDeviceConfigurationSettingState withUserEmail(String userEmail)
Set the userEmail property: UserEmail.
Parameters:
Returns:
withUserId
public MicrosoftGraphDeviceConfigurationSettingState withUserId(String userId)
Set the userId property: UserId.
Parameters:
Returns:
withUserPrincipalName
public MicrosoftGraphDeviceConfigurationSettingState withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: UserPrincipalName.
Parameters:
Returns:
withUsername
public MicrosoftGraphDeviceConfigurationSettingState withUsername(String username)
Set the username property: UserName.
Parameters:
Returns: