MicrosoftGraphDeviceConfigurationState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceConfigurationState
- com.
- com.
public final class MicrosoftGraphDeviceConfigurationState
extends MicrosoftGraphEntity
deviceConfigurationState Device Configuration State for a given device.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDeviceConfigurationState() |
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<MicrosoftGraphDeviceConfigurationSettingState> 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
MicrosoftGraphDeviceConfigurationState
public MicrosoftGraphDeviceConfigurationState()
Creates an instance of MicrosoftGraphDeviceConfigurationState class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Device Configuration State for a given device.
Overrides:
MicrosoftGraphDeviceConfigurationState.additionalProperties()Returns:
displayName
public String displayName()
Get the displayName property: The name of the policy for this policyBase.
Returns:
fromJson
public static MicrosoftGraphDeviceConfigurationState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceConfigurationState 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:
MicrosoftGraphDeviceConfigurationState.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDeviceConfigurationState.validate()version
public Integer version()
Get the version property: The version of the policy.
Returns:
withAdditionalProperties
public MicrosoftGraphDeviceConfigurationState withAdditionalProperties(Map
Set the additionalProperties property: Device Configuration State for a given device.
Overrides:
MicrosoftGraphDeviceConfigurationState.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDisplayName
public MicrosoftGraphDeviceConfigurationState withDisplayName(String displayName)
Set the displayName property: The name of the policy for this policyBase.
Parameters:
Returns:
withId
public MicrosoftGraphDeviceConfigurationState withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDeviceConfigurationState.withId(String id)Parameters:
withPlatformType
public MicrosoftGraphDeviceConfigurationState withPlatformType(MicrosoftGraphPolicyPlatformType platformType)
Set the platformType property: policyPlatformType.
Parameters:
Returns:
withSettingCount
public MicrosoftGraphDeviceConfigurationState withSettingCount(Integer settingCount)
Set the settingCount property: Count of how many setting a policy holds.
Parameters:
Returns:
withSettingStates
public MicrosoftGraphDeviceConfigurationState withSettingStates(List
Set the settingStates property: The settingStates property.
Parameters:
Returns:
withState
public MicrosoftGraphDeviceConfigurationState withState(MicrosoftGraphComplianceStatus state)
Set the state property: complianceStatus.
Parameters:
Returns:
withVersion
public MicrosoftGraphDeviceConfigurationState withVersion(Integer version)
Set the version property: The version of the policy.
Parameters:
Returns:
Applies to
Azure SDK for Java