Class MicrosoftGraphDeviceConfigurationState
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceConfigurationState
-
public final class MicrosoftGraphDeviceConfigurationState extends MicrosoftGraphEntity
Device Configuration State for a given device.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDeviceConfigurationState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Device Configuration State for a given device.StringdisplayName()Get the displayName property: The name of the policy for this policyBase.MicrosoftGraphPolicyPlatformTypeplatformType()Get the platformType property: The platformType property.IntegersettingCount()Get the settingCount property: Count of how many setting a policy holds.List<MicrosoftGraphDeviceConfigurationSettingState>settingStates()Get the settingStates property: The settingStates property.MicrosoftGraphComplianceStatusstate()Get the state property: The state property.voidvalidate()Validates the instance.Integerversion()Get the version property: The version of the policy.MicrosoftGraphDeviceConfigurationStatewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Device Configuration State for a given device.MicrosoftGraphDeviceConfigurationStatewithDisplayName(String displayName)Set the displayName property: The name of the policy for this policyBase.MicrosoftGraphDeviceConfigurationStatewithId(String id)Set the id property: Read-only.MicrosoftGraphDeviceConfigurationStatewithPlatformType(MicrosoftGraphPolicyPlatformType platformType)Set the platformType property: The platformType property.MicrosoftGraphDeviceConfigurationStatewithSettingCount(Integer settingCount)Set the settingCount property: Count of how many setting a policy holds.MicrosoftGraphDeviceConfigurationStatewithSettingStates(List<MicrosoftGraphDeviceConfigurationSettingState> settingStates)Set the settingStates property: The settingStates property.MicrosoftGraphDeviceConfigurationStatewithState(MicrosoftGraphComplianceStatus state)Set the state property: The state property.MicrosoftGraphDeviceConfigurationStatewithVersion(Integer version)Set the version property: The version of the policy.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The name of the policy for this policyBase.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphDeviceConfigurationState withDisplayName(String displayName)
Set the displayName property: The name of the policy for this policyBase.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
platformType
public MicrosoftGraphPolicyPlatformType platformType()
Get the platformType property: The platformType property.- Returns:
- the platformType value.
-
withPlatformType
public MicrosoftGraphDeviceConfigurationState withPlatformType(MicrosoftGraphPolicyPlatformType platformType)
Set the platformType property: The platformType property.- Parameters:
platformType- the platformType value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
settingCount
public Integer settingCount()
Get the settingCount property: Count of how many setting a policy holds.- Returns:
- the settingCount value.
-
withSettingCount
public MicrosoftGraphDeviceConfigurationState withSettingCount(Integer settingCount)
Set the settingCount property: Count of how many setting a policy holds.- Parameters:
settingCount- the settingCount value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
settingStates
public List<MicrosoftGraphDeviceConfigurationSettingState> settingStates()
Get the settingStates property: The settingStates property.- Returns:
- the settingStates value.
-
withSettingStates
public MicrosoftGraphDeviceConfigurationState withSettingStates(List<MicrosoftGraphDeviceConfigurationSettingState> settingStates)
Set the settingStates property: The settingStates property.- Parameters:
settingStates- the settingStates value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
state
public MicrosoftGraphComplianceStatus state()
Get the state property: The state property.- Returns:
- the state value.
-
withState
public MicrosoftGraphDeviceConfigurationState withState(MicrosoftGraphComplianceStatus state)
Set the state property: The state property.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
version
public Integer version()
Get the version property: The version of the policy.- Returns:
- the version value.
-
withVersion
public MicrosoftGraphDeviceConfigurationState withVersion(Integer version)
Set the version property: The version of the policy.- Parameters:
version- the version value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Device Configuration State for a given device.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceConfigurationState withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Device Configuration State for a given device.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceConfigurationState object itself.
-
withId
public MicrosoftGraphDeviceConfigurationState withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-