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