MicrosoftGraphDeviceCompliancePolicySettingState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceCompliancePolicySettingState
- com.
Implements
public final class MicrosoftGraphDeviceCompliancePolicySettingState
implements JsonSerializable<MicrosoftGraphDeviceCompliancePolicySettingState>
deviceCompliancePolicySettingState Device Compilance Policy Setting State for a given device.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDeviceCompliancePolicySettingState() |
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
MicrosoftGraphDeviceCompliancePolicySettingState
public MicrosoftGraphDeviceCompliancePolicySettingState()
Creates an instance of MicrosoftGraphDeviceCompliancePolicySettingState class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Device Compilance Policy 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 MicrosoftGraphDeviceCompliancePolicySettingState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceCompliancePolicySettingState 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 MicrosoftGraphDeviceCompliancePolicySettingState withAdditionalProperties(Map
Set the additionalProperties property: Device Compilance Policy Setting State for a given device.
Parameters:
Returns:
withCurrentValue
public MicrosoftGraphDeviceCompliancePolicySettingState withCurrentValue(String currentValue)
Set the currentValue property: Current value of setting on device.
Parameters:
Returns:
withErrorCode
public MicrosoftGraphDeviceCompliancePolicySettingState withErrorCode(Long errorCode)
Set the errorCode property: Error code for the setting.
Parameters:
Returns:
withErrorDescription
public MicrosoftGraphDeviceCompliancePolicySettingState withErrorDescription(String errorDescription)
Set the errorDescription property: Error description.
Parameters:
Returns:
withInstanceDisplayName
public MicrosoftGraphDeviceCompliancePolicySettingState withInstanceDisplayName(String instanceDisplayName)
Set the instanceDisplayName property: Name of setting instance that is being reported.
Parameters:
Returns:
withSetting
public MicrosoftGraphDeviceCompliancePolicySettingState withSetting(String setting)
Set the setting property: The setting that is being reported.
Parameters:
Returns:
withSettingName
public MicrosoftGraphDeviceCompliancePolicySettingState withSettingName(String settingName)
Set the settingName property: Localized/user friendly setting name that is being reported.
Parameters:
Returns:
withSources
public MicrosoftGraphDeviceCompliancePolicySettingState withSources(List
Set the sources property: Contributing policies.
Parameters:
Returns:
withState
public MicrosoftGraphDeviceCompliancePolicySettingState withState(MicrosoftGraphComplianceStatus state)
Set the state property: complianceStatus.
Parameters:
Returns:
withUserEmail
public MicrosoftGraphDeviceCompliancePolicySettingState withUserEmail(String userEmail)
Set the userEmail property: UserEmail.
Parameters:
Returns:
withUserId
public MicrosoftGraphDeviceCompliancePolicySettingState withUserId(String userId)
Set the userId property: UserId.
Parameters:
Returns:
withUserPrincipalName
public MicrosoftGraphDeviceCompliancePolicySettingState withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: UserPrincipalName.
Parameters:
Returns:
withUsername
public MicrosoftGraphDeviceCompliancePolicySettingState withUsername(String username)
Set the username property: UserName.
Parameters:
Returns:
Applies to
Azure SDK for Java