Package odata.msgraph.client.beta.entity
Class SecurityConfigurationTask
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceAppManagementTask
-
- odata.msgraph.client.beta.entity.SecurityConfigurationTask
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SecurityConfigurationTask extends DeviceAppManagementTask implements com.github.davidmoten.odata.client.ODataEntityType
“A security configuration task.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityConfigurationTask.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EndpointSecurityConfigurationApplicablePlatformapplicablePlatformprotected EndpointSecurityConfigurationTypeendpointSecurityPolicyprotected EndpointSecurityConfigurationProfileTypeendpointSecurityPolicyProfileprotected Stringinsightsprotected List<KeyValuePair>intendedSettingsprotected StringintendedSettingsNextLinkprotected IntegermanagedDeviceCount-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceAppManagementTask
assignedTo, category, createdDateTime, creator, creatorNotes, description, displayName, dueDateTime, priority, status
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSecurityConfigurationTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityConfigurationTask.BuilderbuilderSecurityConfigurationTask()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<EndpointSecurityConfigurationApplicablePlatform>getApplicablePlatform()“The applicable platform.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<EndpointSecurityConfigurationType>getEndpointSecurityPolicy()“The endpoint security policy type.”Optional<EndpointSecurityConfigurationProfileType>getEndpointSecurityPolicyProfile()“The endpoint security policy profile.”Optional<String>getInsights()“Information about the mitigation.”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getIntendedSettings()“The intended settings and their values.”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getIntendedSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)“The intended settings and their values.”Optional<Integer>getManagedDeviceCount()“The number of vulnerable devices.”VulnerableManagedDeviceCollectionRequestgetManagedDevices()“The vulnerable managed devices.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SecurityConfigurationTaskpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SecurityConfigurationTaskput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SecurityConfigurationTaskwithApplicablePlatform(EndpointSecurityConfigurationApplicablePlatform applicablePlatform)Returns an immutable copy ofthiswith just theapplicablePlatformfield changed.SecurityConfigurationTaskwithEndpointSecurityPolicy(EndpointSecurityConfigurationType endpointSecurityPolicy)Returns an immutable copy ofthiswith just theendpointSecurityPolicyfield changed.SecurityConfigurationTaskwithEndpointSecurityPolicyProfile(EndpointSecurityConfigurationProfileType endpointSecurityPolicyProfile)Returns an immutable copy ofthiswith just theendpointSecurityPolicyProfilefield changed.SecurityConfigurationTaskwithInsights(String insights)Returns an immutable copy ofthiswith just theinsightsfield changed.SecurityConfigurationTaskwithIntendedSettings(List<KeyValuePair> intendedSettings)Returns an immutable copy ofthiswith just theintendedSettingsfield changed.SecurityConfigurationTaskwithManagedDeviceCount(Integer managedDeviceCount)Returns an immutable copy ofthiswith just themanagedDeviceCountfield changed.SecurityConfigurationTaskwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceAppManagementTask
builderDeviceAppManagementTask, getAssignedTo, getCategory, getCreatedDateTime, getCreator, getCreatorNotes, getDescription, getDisplayName, getDueDateTime, getPriority, getStatus, updateStatus, withAssignedTo, withCategory, withCreatedDateTime, withCreator, withCreatorNotes, withDescription, withDisplayName, withDueDateTime, withPriority, withStatus
-
-
-
-
Field Detail
-
applicablePlatform
protected EndpointSecurityConfigurationApplicablePlatform applicablePlatform
-
endpointSecurityPolicy
protected EndpointSecurityConfigurationType endpointSecurityPolicy
-
endpointSecurityPolicyProfile
protected EndpointSecurityConfigurationProfileType endpointSecurityPolicyProfile
-
insights
protected String insights
-
intendedSettings
protected List<KeyValuePair> intendedSettings
-
intendedSettingsNextLink
protected String intendedSettingsNextLink
-
managedDeviceCount
protected Integer managedDeviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceAppManagementTask
-
builderSecurityConfigurationTask
public static SecurityConfigurationTask.Builder builderSecurityConfigurationTask()
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 classDeviceAppManagementTask
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceAppManagementTask
-
getApplicablePlatform
public Optional<EndpointSecurityConfigurationApplicablePlatform> getApplicablePlatform()
“The applicable platform.”- Returns:
- property applicablePlatform
-
withApplicablePlatform
public SecurityConfigurationTask withApplicablePlatform(EndpointSecurityConfigurationApplicablePlatform applicablePlatform)
Returns an immutable copy ofthiswith just theapplicablePlatformfield 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.“The applicable platform.”
- Parameters:
applicablePlatform- new value ofapplicablePlatformfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicablePlatformfield changed
-
getEndpointSecurityPolicy
public Optional<EndpointSecurityConfigurationType> getEndpointSecurityPolicy()
“The endpoint security policy type.”- Returns:
- property endpointSecurityPolicy
-
withEndpointSecurityPolicy
public SecurityConfigurationTask withEndpointSecurityPolicy(EndpointSecurityConfigurationType endpointSecurityPolicy)
Returns an immutable copy ofthiswith just theendpointSecurityPolicyfield 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.“The endpoint security policy type.”
- Parameters:
endpointSecurityPolicy- new value ofendpointSecurityPolicyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendpointSecurityPolicyfield changed
-
getEndpointSecurityPolicyProfile
public Optional<EndpointSecurityConfigurationProfileType> getEndpointSecurityPolicyProfile()
“The endpoint security policy profile.”- Returns:
- property endpointSecurityPolicyProfile
-
withEndpointSecurityPolicyProfile
public SecurityConfigurationTask withEndpointSecurityPolicyProfile(EndpointSecurityConfigurationProfileType endpointSecurityPolicyProfile)
Returns an immutable copy ofthiswith just theendpointSecurityPolicyProfilefield 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.“The endpoint security policy profile.”
- Parameters:
endpointSecurityPolicyProfile- new value ofendpointSecurityPolicyProfilefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendpointSecurityPolicyProfilefield changed
-
getInsights
public Optional<String> getInsights()
“Information about the mitigation.”- Returns:
- property insights
-
withInsights
public SecurityConfigurationTask withInsights(String insights)
Returns an immutable copy ofthiswith just theinsightsfield 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.“Information about the mitigation.”
- Parameters:
insights- new value ofinsightsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinsightsfield changed
-
getIntendedSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getIntendedSettings()
“The intended settings and their values.”- Returns:
- property intendedSettings
-
withIntendedSettings
public SecurityConfigurationTask withIntendedSettings(List<KeyValuePair> intendedSettings)
Returns an immutable copy ofthiswith just theintendedSettingsfield 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.“The intended settings and their values.”
- Parameters:
intendedSettings- new value ofintendedSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theintendedSettingsfield changed
-
getIntendedSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getIntendedSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The intended settings and their values.”- Parameters:
options- specify connect and read timeouts- Returns:
- property intendedSettings
-
getManagedDeviceCount
public Optional<Integer> getManagedDeviceCount()
“The number of vulnerable devices.”- Returns:
- property managedDeviceCount
-
withManagedDeviceCount
public SecurityConfigurationTask withManagedDeviceCount(Integer managedDeviceCount)
Returns an immutable copy ofthiswith just themanagedDeviceCountfield 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.“The number of vulnerable devices.”
- Parameters:
managedDeviceCount- new value ofmanagedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceCountfield changed
-
withUnmappedField
public SecurityConfigurationTask withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceAppManagementTask
-
getManagedDevices
public VulnerableManagedDeviceCollectionRequest getManagedDevices()
“The vulnerable managed devices.”- Returns:
- navigational property managedDevices
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceAppManagementTask
-
patch
public SecurityConfigurationTask patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceAppManagementTask- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public SecurityConfigurationTask put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceAppManagementTask- 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 classDeviceAppManagementTask
-
-