MicrosoftGraphDeviceConfigurationState Class

public final class MicrosoftGraphDeviceConfigurationState
extends MicrosoftGraphEntity

deviceConfigurationState

Device Configuration State for a given device.

Constructor Summary

Constructor Description
MicrosoftGraphDeviceConfigurationState()

Creates an instance of MicrosoftGraphDeviceConfigurationState class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Device Configuration State for a given device.

String displayName()

Get the displayName property: The name of the policy for this policyBase.

MicrosoftGraphPolicyPlatformType platformType()

Get the platformType property: policyPlatformType.

Integer settingCount()

Get the settingCount property: Count of how many setting a policy holds.

List<MicrosoftGraphDeviceConfigurationSettingState> settingStates()

Get the settingStates property: The settingStates property.

MicrosoftGraphComplianceStatus state()

Get the state property: complianceStatus.

void validate()

Validates the instance.

Integer version()

Get the version property: The version of the policy.

MicrosoftGraphDeviceConfigurationState withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Device Configuration State for a given device.

MicrosoftGraphDeviceConfigurationState withDisplayName(String displayName)

Set the displayName property: The name of the policy for this policyBase.

MicrosoftGraphDeviceConfigurationState withId(String id)

Set the id property: Read-only.

MicrosoftGraphDeviceConfigurationState withPlatformType(MicrosoftGraphPolicyPlatformType platformType)

Set the platformType property: policyPlatformType.

MicrosoftGraphDeviceConfigurationState withSettingCount(Integer settingCount)

Set the settingCount property: Count of how many setting a policy holds.

MicrosoftGraphDeviceConfigurationState withSettingStates(List<MicrosoftGraphDeviceConfigurationSettingState> settingStates)

Set the settingStates property: The settingStates property.

MicrosoftGraphDeviceConfigurationState withState(MicrosoftGraphComplianceStatus state)

Set the state property: complianceStatus.

MicrosoftGraphDeviceConfigurationState withVersion(Integer version)

Set the version property: The version of the policy.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDeviceConfigurationState

public MicrosoftGraphDeviceConfigurationState()

Creates an instance of MicrosoftGraphDeviceConfigurationState class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Device Configuration State for a given device.

Overrides:

MicrosoftGraphDeviceConfigurationState.additionalProperties()

Returns:

the additionalProperties value.

displayName

public String displayName()

Get the displayName property: The name of the policy for this policyBase.

Returns:

the displayName value.

platformType

public MicrosoftGraphPolicyPlatformType platformType()

Get the platformType property: policyPlatformType.

Returns:

the platformType value.

settingCount

public Integer settingCount()

Get the settingCount property: Count of how many setting a policy holds.

Returns:

the settingCount value.

settingStates

public List settingStates()

Get the settingStates property: The settingStates property.

Returns:

the settingStates value.

state

public MicrosoftGraphComplianceStatus state()

Get the state property: complianceStatus.

Returns:

the state value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDeviceConfigurationState.validate()

version

public Integer version()

Get the version property: The version of the policy.

Returns:

the version value.

withAdditionalProperties

public MicrosoftGraphDeviceConfigurationState withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Device Configuration State for a given device.

Overrides:

MicrosoftGraphDeviceConfigurationState.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDeviceConfigurationState object itself.

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.

withId

public MicrosoftGraphDeviceConfigurationState withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDeviceConfigurationState.withId(String id)

Parameters:

id

withPlatformType

public MicrosoftGraphDeviceConfigurationState withPlatformType(MicrosoftGraphPolicyPlatformType platformType)

Set the platformType property: policyPlatformType.

Parameters:

platformType - the platformType value to set.

Returns:

the MicrosoftGraphDeviceConfigurationState object itself.

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.

withSettingStates

public MicrosoftGraphDeviceConfigurationState withSettingStates(List settingStates)

Set the settingStates property: The settingStates property.

Parameters:

settingStates - the settingStates value to set.

Returns:

the MicrosoftGraphDeviceConfigurationState object itself.

withState

public MicrosoftGraphDeviceConfigurationState withState(MicrosoftGraphComplianceStatus state)

Set the state property: complianceStatus.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphDeviceConfigurationState object itself.

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.

Applies to