MicrosoftGraphDeviceCompliancePolicyState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceCompliancePolicyState
- com.
- com.
public final class MicrosoftGraphDeviceCompliancePolicyState
extends MicrosoftGraphEntity
deviceCompliancePolicyState Device Compliance Policy State for a given device.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDeviceCompliancePolicyState() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
platformType()
Get the platform |
Integer |
settingCount()
Get the setting |
List<Microsoft |
settingStates()
Get the setting |
Microsoft |
state()
Get the state property: compliance |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
version()
Get the version property: The version of the policy. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withPlatformType(MicrosoftGraphPolicyPlatformType platformType)
Set the platform |
Microsoft |
withSettingCount(Integer settingCount)
Set the setting |
Microsoft |
withSettingStates(List<MicrosoftGraphDeviceCompliancePolicySettingState> settingStates)
Set the setting |
Microsoft |
withState(MicrosoftGraphComplianceStatus state)
Set the state property: compliance |
Microsoft |
withVersion(Integer version)
Set the version property: The version of the policy. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDeviceCompliancePolicyState
public MicrosoftGraphDeviceCompliancePolicyState()
Creates an instance of MicrosoftGraphDeviceCompliancePolicyState class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Device Compliance Policy State for a given device.
Overrides:
MicrosoftGraphDeviceCompliancePolicyState.additionalProperties()Returns:
displayName
public String displayName()
Get the displayName property: The name of the policy for this policyBase.
Returns:
fromJson
public static MicrosoftGraphDeviceCompliancePolicyState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceCompliancePolicyState from the JsonReader.
Parameters:
Returns:
Throws:
platformType
public MicrosoftGraphPolicyPlatformType platformType()
Get the platformType property: policyPlatformType.
Returns:
settingCount
public Integer settingCount()
Get the settingCount property: Count of how many setting a policy holds.
Returns:
settingStates
public List
Get the settingStates property: The settingStates property.
Returns:
state
public MicrosoftGraphComplianceStatus state()
Get the state property: complianceStatus.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDeviceCompliancePolicyState.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDeviceCompliancePolicyState.validate()version
public Integer version()
Get the version property: The version of the policy.
Returns:
withAdditionalProperties
public MicrosoftGraphDeviceCompliancePolicyState withAdditionalProperties(Map
Set the additionalProperties property: Device Compliance Policy State for a given device.
Overrides:
MicrosoftGraphDeviceCompliancePolicyState.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphDeviceCompliancePolicyState withDisplayName(String displayName)
Set the displayName property: The name of the policy for this policyBase.
Parameters:
Returns:
withId
public MicrosoftGraphDeviceCompliancePolicyState withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDeviceCompliancePolicyState.withId(String id)Parameters:
withPlatformType
public MicrosoftGraphDeviceCompliancePolicyState withPlatformType(MicrosoftGraphPolicyPlatformType platformType)
Set the platformType property: policyPlatformType.
Parameters:
Returns:
withSettingCount
public MicrosoftGraphDeviceCompliancePolicyState withSettingCount(Integer settingCount)
Set the settingCount property: Count of how many setting a policy holds.
Parameters:
Returns:
withSettingStates
public MicrosoftGraphDeviceCompliancePolicyState withSettingStates(List
Set the settingStates property: The settingStates property.
Parameters:
Returns:
withState
public MicrosoftGraphDeviceCompliancePolicyState withState(MicrosoftGraphComplianceStatus state)
Set the state property: complianceStatus.
Parameters:
Returns:
withVersion
public MicrosoftGraphDeviceCompliancePolicyState withVersion(Integer version)
Set the version property: The version of the policy.
Parameters:
Returns:
Applies to
Azure SDK for Java