Class MicrosoftGraphDeviceCompliancePolicyState
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceCompliancePolicyState
deviceCompliancePolicyState
Device Compliance Policy State for a given device.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDeviceCompliancePolicyState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Device Compliance Policy State for a given device.Get the displayName property: The name of the policy for this policyBase.Get the platformType property: policyPlatformType.Get the settingCount property: Count of how many setting a policy holds.Get the settingStates property: The settingStates property.state()Get the state property: complianceStatus.voidvalidate()Validates the instance.version()Get the version property: The version of the policy.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Device Compliance Policy State for a given device.withDisplayName(String displayName) Set the displayName property: The name of the policy for this policyBase.Set the id property: Read-only.withPlatformType(MicrosoftGraphPolicyPlatformType platformType) Set the platformType property: policyPlatformType.withSettingCount(Integer settingCount) Set the settingCount property: Count of how many setting a policy holds.withSettingStates(List<MicrosoftGraphDeviceCompliancePolicySettingState> settingStates) Set the settingStates property: The settingStates property.Set the state property: complianceStatus.withVersion(Integer version) Set the version property: The version of the policy.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDeviceCompliancePolicyState
public MicrosoftGraphDeviceCompliancePolicyState()Creates an instance of MicrosoftGraphDeviceCompliancePolicyState class.
-
-
Method Details
-
displayName
Get the displayName property: The name of the policy for this policyBase.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The name of the policy for this policyBase.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
platformType
Get the platformType property: policyPlatformType.- Returns:
- the platformType value.
-
withPlatformType
public MicrosoftGraphDeviceCompliancePolicyState withPlatformType(MicrosoftGraphPolicyPlatformType platformType) Set the platformType property: policyPlatformType.- Parameters:
platformType- the platformType value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
settingCount
Get the settingCount property: Count of how many setting a policy holds.- Returns:
- the settingCount value.
-
withSettingCount
Set the settingCount property: Count of how many setting a policy holds.- Parameters:
settingCount- the settingCount value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
settingStates
Get the settingStates property: The settingStates property.- Returns:
- the settingStates value.
-
withSettingStates
public MicrosoftGraphDeviceCompliancePolicyState withSettingStates(List<MicrosoftGraphDeviceCompliancePolicySettingState> settingStates) Set the settingStates property: The settingStates property.- Parameters:
settingStates- the settingStates value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
state
Get the state property: complianceStatus.- Returns:
- the state value.
-
withState
Set the state property: complianceStatus.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
version
Get the version property: The version of the policy.- Returns:
- the version value.
-
withVersion
Set the version property: The version of the policy.- Parameters:
version- the version value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
additionalProperties
Get the additionalProperties property: Device Compliance Policy State for a given device.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDeviceCompliancePolicyState withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Device Compliance Policy State for a given device.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceCompliancePolicyState object itself.
-
withId
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.
-