Package odata.msgraph.client.beta.entity
Class WindowsHealthMonitoringConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsHealthMonitoringConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsHealthMonitoringConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows device health monitoring configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsHealthMonitoringConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EnablementallowDeviceHealthMonitoringprotected StringconfigDeviceHealthMonitoringCustomScopeprotected WindowsHealthMonitoringScopeconfigDeviceHealthMonitoringScope-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsHealthMonitoringConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsHealthMonitoringConfiguration.BuilderbuilderWindowsHealthMonitoringConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Enablement>getAllowDeviceHealthMonitoring()“Enables device health monitoring on the device”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getConfigDeviceHealthMonitoringCustomScope()“Specifies custom set of events collected from the device where health monitoring is enabled”Optional<WindowsHealthMonitoringScope>getConfigDeviceHealthMonitoringScope()“Specifies set of events collected from the device where health monitoring is enabled”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsHealthMonitoringConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsHealthMonitoringConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsHealthMonitoringConfigurationwithAllowDeviceHealthMonitoring(Enablement allowDeviceHealthMonitoring)Returns an immutable copy ofthiswith just theallowDeviceHealthMonitoringfield changed.WindowsHealthMonitoringConfigurationwithConfigDeviceHealthMonitoringCustomScope(String configDeviceHealthMonitoringCustomScope)Returns an immutable copy ofthiswith just theconfigDeviceHealthMonitoringCustomScopefield changed.WindowsHealthMonitoringConfigurationwithConfigDeviceHealthMonitoringScope(WindowsHealthMonitoringScope configDeviceHealthMonitoringScope)Returns an immutable copy ofthiswith just theconfigDeviceHealthMonitoringScopefield changed.WindowsHealthMonitoringConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
allowDeviceHealthMonitoring
protected Enablement allowDeviceHealthMonitoring
-
configDeviceHealthMonitoringCustomScope
protected String configDeviceHealthMonitoringCustomScope
-
configDeviceHealthMonitoringScope
protected WindowsHealthMonitoringScope configDeviceHealthMonitoringScope
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindowsHealthMonitoringConfiguration
public static WindowsHealthMonitoringConfiguration.Builder builderWindowsHealthMonitoringConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getAllowDeviceHealthMonitoring
public Optional<Enablement> getAllowDeviceHealthMonitoring()
“Enables device health monitoring on the device”- Returns:
- property allowDeviceHealthMonitoring
-
withAllowDeviceHealthMonitoring
public WindowsHealthMonitoringConfiguration withAllowDeviceHealthMonitoring(Enablement allowDeviceHealthMonitoring)
Returns an immutable copy ofthiswith just theallowDeviceHealthMonitoringfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Enables device health monitoring on the device”
- Parameters:
allowDeviceHealthMonitoring- new value ofallowDeviceHealthMonitoringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowDeviceHealthMonitoringfield changed
-
getConfigDeviceHealthMonitoringCustomScope
public Optional<String> getConfigDeviceHealthMonitoringCustomScope()
“Specifies custom set of events collected from the device where health monitoring is enabled”- Returns:
- property configDeviceHealthMonitoringCustomScope
-
withConfigDeviceHealthMonitoringCustomScope
public WindowsHealthMonitoringConfiguration withConfigDeviceHealthMonitoringCustomScope(String configDeviceHealthMonitoringCustomScope)
Returns an immutable copy ofthiswith just theconfigDeviceHealthMonitoringCustomScopefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Specifies custom set of events collected from the device where health monitoring is enabled”
- Parameters:
configDeviceHealthMonitoringCustomScope- new value ofconfigDeviceHealthMonitoringCustomScopefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigDeviceHealthMonitoringCustomScopefield changed
-
getConfigDeviceHealthMonitoringScope
public Optional<WindowsHealthMonitoringScope> getConfigDeviceHealthMonitoringScope()
“Specifies set of events collected from the device where health monitoring is enabled”- Returns:
- property configDeviceHealthMonitoringScope
-
withConfigDeviceHealthMonitoringScope
public WindowsHealthMonitoringConfiguration withConfigDeviceHealthMonitoringScope(WindowsHealthMonitoringScope configDeviceHealthMonitoringScope)
Returns an immutable copy ofthiswith just theconfigDeviceHealthMonitoringScopefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Specifies set of events collected from the device where health monitoring is enabled”
- Parameters:
configDeviceHealthMonitoringScope- new value ofconfigDeviceHealthMonitoringScopefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconfigDeviceHealthMonitoringScopefield changed
-
withUnmappedField
public WindowsHealthMonitoringConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsHealthMonitoringConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsHealthMonitoringConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-