Class MicrosoftGraphDeviceConfigurationSettingState
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceConfigurationSettingState
deviceConfigurationSettingState
Device Configuration Setting State for a given device.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDeviceConfigurationSettingState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Device Configuration Setting State for a given device.Get the currentValue property: Current value of setting on device.Get the errorCode property: Error code for the setting.Get the errorDescription property: Error description.Get the instanceDisplayName property: Name of setting instance that is being reported.setting()Get the setting property: The setting that is being reported.Get the settingName property: Localized/user friendly setting name that is being reported.sources()Get the sources property: Contributing policies.state()Get the state property: complianceStatus.Get the userEmail property: UserEmail.userId()Get the userId property: UserId.username()Get the username property: UserName.Get the userPrincipalName property: UserPrincipalName.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Device Configuration Setting State for a given device.withCurrentValue(String currentValue) Set the currentValue property: Current value of setting on device.withErrorCode(Long errorCode) Set the errorCode property: Error code for the setting.withErrorDescription(String errorDescription) Set the errorDescription property: Error description.withInstanceDisplayName(String instanceDisplayName) Set the instanceDisplayName property: Name of setting instance that is being reported.withSetting(String setting) Set the setting property: The setting that is being reported.withSettingName(String settingName) Set the settingName property: Localized/user friendly setting name that is being reported.withSources(List<MicrosoftGraphSettingSource> sources) Set the sources property: Contributing policies.Set the state property: complianceStatus.withUserEmail(String userEmail) Set the userEmail property: UserEmail.withUserId(String userId) Set the userId property: UserId.withUsername(String username) Set the username property: UserName.withUserPrincipalName(String userPrincipalName) Set the userPrincipalName property: UserPrincipalName.
-
Constructor Details
-
MicrosoftGraphDeviceConfigurationSettingState
public MicrosoftGraphDeviceConfigurationSettingState()Creates an instance of MicrosoftGraphDeviceConfigurationSettingState class.
-
-
Method Details
-
currentValue
Get the currentValue property: Current value of setting on device.- Returns:
- the currentValue value.
-
withCurrentValue
Set the currentValue property: Current value of setting on device.- Parameters:
currentValue- the currentValue value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
errorCode
Get the errorCode property: Error code for the setting.- Returns:
- the errorCode value.
-
withErrorCode
Set the errorCode property: Error code for the setting.- Parameters:
errorCode- the errorCode value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
errorDescription
Get the errorDescription property: Error description.- Returns:
- the errorDescription value.
-
withErrorDescription
Set the errorDescription property: Error description.- Parameters:
errorDescription- the errorDescription value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
instanceDisplayName
Get the instanceDisplayName property: Name of setting instance that is being reported.- Returns:
- the instanceDisplayName value.
-
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.
-
setting
Get the setting property: The setting that is being reported.- Returns:
- the setting value.
-
withSetting
Set the setting property: The setting that is being reported.- Parameters:
setting- the setting value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
settingName
Get the settingName property: Localized/user friendly setting name that is being reported.- Returns:
- the settingName value.
-
withSettingName
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.
-
sources
Get the sources property: Contributing policies.- Returns:
- the sources value.
-
withSources
public MicrosoftGraphDeviceConfigurationSettingState withSources(List<MicrosoftGraphSettingSource> sources) Set the sources property: Contributing policies.- Parameters:
sources- the sources value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
state
Get the state property: complianceStatus.- Returns:
- the state value.
-
withState
public MicrosoftGraphDeviceConfigurationSettingState withState(MicrosoftGraphComplianceStatus state) Set the state property: complianceStatus.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
userEmail
Get the userEmail property: UserEmail.- Returns:
- the userEmail value.
-
withUserEmail
Set the userEmail property: UserEmail.- Parameters:
userEmail- the userEmail value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
userId
Get the userId property: UserId.- Returns:
- the userId value.
-
withUserId
Set the userId property: UserId.- Parameters:
userId- the userId value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
username
Get the username property: UserName.- Returns:
- the username value.
-
withUsername
Set the username property: UserName.- Parameters:
username- the username value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
userPrincipalName
Get the userPrincipalName property: UserPrincipalName.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
public MicrosoftGraphDeviceConfigurationSettingState withUserPrincipalName(String userPrincipalName) Set the userPrincipalName property: UserPrincipalName.- Parameters:
userPrincipalName- the userPrincipalName value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationSettingState object itself.
-
additionalProperties
Get the additionalProperties property: Device Configuration Setting State for a given device.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceConfigurationSettingState withAdditionalProperties(Map<String, Object> 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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-