Class MacOSEndpointProtectionConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.MacOSEndpointProtectionConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSEndpointProtectionConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“MacOS endpoint protection configuration profile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSEndpointProtectionConfiguration.Builder
-
Field Summary
-
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 protectedMacOSEndpointProtectionConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSEndpointProtectionConfiguration.BuilderbuilderMacOSEndpointProtectionConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Enablement>getAdvancedThreatProtectionAutomaticSampleSubmission()“Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”Optional<Enablement>getAdvancedThreatProtectionCloudDelivered()“Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”Optional<Enablement>getAdvancedThreatProtectionDiagnosticDataCollection()“Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedExtensions()“A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedExtensions(com.github.davidmoten.odata.client.HttpRequestOptions options)“A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedFiles()“A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedFiles(com.github.davidmoten.odata.client.HttpRequestOptions options)“A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedFolders()“A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)“A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedProcesses()“A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.CollectionPage<String>getAdvancedThreatProtectionExcludedProcesses(com.github.davidmoten.odata.client.HttpRequestOptions options)“A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”Optional<Enablement>getAdvancedThreatProtectionRealTime()“Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getFileVaultAllowDeferralUntilSignOut()“Optional.Optional<Boolean>getFileVaultDisablePromptAtSignOut()“Optional.Optional<Boolean>getFileVaultEnabled()“Whether FileVault should be enabled or not.”Optional<Boolean>getFileVaultHidePersonalRecoveryKey()“Optional.Optional<byte[]>getFileVaultInstitutionalRecoveryKeyCertificate()“Required if selected recovery key type(s) include InstitutionalRecoveryKey.Optional<String>getFileVaultInstitutionalRecoveryKeyCertificateFileName()“File name of the institutional recovery key certificate to display in UI.Optional<Integer>getFileVaultNumberOfTimesUserCanIgnore()“Optional.Optional<String>getFileVaultPersonalRecoveryKeyHelpMessage()“Required if selected recovery key type(s) include PersonalRecoveryKey.Optional<Integer>getFileVaultPersonalRecoveryKeyRotationInMonths()“Optional.Optional<MacOSFileVaultRecoveryKeyTypes>getFileVaultSelectedRecoveryKeyTypes()“Required if FileVault is enabled, determines the type(s) of recovery key to use.”com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication>getFirewallApplications()“List of applications with firewall settings.com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication>getFirewallApplications(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of applications with firewall settings.Optional<Boolean>getFirewallBlockAllIncoming()“Corresponds to the “Block all incoming connections” option.”Optional<Boolean>getFirewallEnabled()“Whether the firewall should be enabled or not.”Optional<Boolean>getFirewallEnableStealthMode()“Corresponds to “Enable stealth mode.””Optional<MacOSGatekeeperAppSources>getGatekeeperAllowedAppSource()“System and Privacy setting that determines which download locations apps can be run from on a macOS device.”Optional<Boolean>getGatekeeperBlockOverride()“If set to true, the user override for Gatekeeper will be disabled.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSEndpointProtectionConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSEndpointProtectionConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionAutomaticSampleSubmission(Enablement advancedThreatProtectionAutomaticSampleSubmission)Returns an immutable copy ofthiswith just theadvancedThreatProtectionAutomaticSampleSubmissionfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionCloudDelivered(Enablement advancedThreatProtectionCloudDelivered)Returns an immutable copy ofthiswith just theadvancedThreatProtectionCloudDeliveredfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionDiagnosticDataCollection(Enablement advancedThreatProtectionDiagnosticDataCollection)Returns an immutable copy ofthiswith just theadvancedThreatProtectionDiagnosticDataCollectionfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionExcludedExtensions(List<String> advancedThreatProtectionExcludedExtensions)Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedExtensionsfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionExcludedFiles(List<String> advancedThreatProtectionExcludedFiles)Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedFilesfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionExcludedFolders(List<String> advancedThreatProtectionExcludedFolders)Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedFoldersfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionExcludedProcesses(List<String> advancedThreatProtectionExcludedProcesses)Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedProcessesfield changed.MacOSEndpointProtectionConfigurationwithAdvancedThreatProtectionRealTime(Enablement advancedThreatProtectionRealTime)Returns an immutable copy ofthiswith just theadvancedThreatProtectionRealTimefield changed.MacOSEndpointProtectionConfigurationwithFileVaultAllowDeferralUntilSignOut(Boolean fileVaultAllowDeferralUntilSignOut)Returns an immutable copy ofthiswith just thefileVaultAllowDeferralUntilSignOutfield changed.MacOSEndpointProtectionConfigurationwithFileVaultDisablePromptAtSignOut(Boolean fileVaultDisablePromptAtSignOut)Returns an immutable copy ofthiswith just thefileVaultDisablePromptAtSignOutfield changed.MacOSEndpointProtectionConfigurationwithFileVaultEnabled(Boolean fileVaultEnabled)Returns an immutable copy ofthiswith just thefileVaultEnabledfield changed.MacOSEndpointProtectionConfigurationwithFileVaultHidePersonalRecoveryKey(Boolean fileVaultHidePersonalRecoveryKey)Returns an immutable copy ofthiswith just thefileVaultHidePersonalRecoveryKeyfield changed.MacOSEndpointProtectionConfigurationwithFileVaultInstitutionalRecoveryKeyCertificate(byte[] fileVaultInstitutionalRecoveryKeyCertificate)Returns an immutable copy ofthiswith just thefileVaultInstitutionalRecoveryKeyCertificatefield changed.MacOSEndpointProtectionConfigurationwithFileVaultInstitutionalRecoveryKeyCertificateFileName(String fileVaultInstitutionalRecoveryKeyCertificateFileName)Returns an immutable copy ofthiswith just thefileVaultInstitutionalRecoveryKeyCertificateFileNamefield changed.MacOSEndpointProtectionConfigurationwithFileVaultNumberOfTimesUserCanIgnore(Integer fileVaultNumberOfTimesUserCanIgnore)Returns an immutable copy ofthiswith just thefileVaultNumberOfTimesUserCanIgnorefield changed.MacOSEndpointProtectionConfigurationwithFileVaultPersonalRecoveryKeyHelpMessage(String fileVaultPersonalRecoveryKeyHelpMessage)Returns an immutable copy ofthiswith just thefileVaultPersonalRecoveryKeyHelpMessagefield changed.MacOSEndpointProtectionConfigurationwithFileVaultPersonalRecoveryKeyRotationInMonths(Integer fileVaultPersonalRecoveryKeyRotationInMonths)Returns an immutable copy ofthiswith just thefileVaultPersonalRecoveryKeyRotationInMonthsfield changed.MacOSEndpointProtectionConfigurationwithFileVaultSelectedRecoveryKeyTypes(MacOSFileVaultRecoveryKeyTypes fileVaultSelectedRecoveryKeyTypes)Returns an immutable copy ofthiswith just thefileVaultSelectedRecoveryKeyTypesfield changed.MacOSEndpointProtectionConfigurationwithFirewallApplications(List<MacOSFirewallApplication> firewallApplications)Returns an immutable copy ofthiswith just thefirewallApplicationsfield changed.MacOSEndpointProtectionConfigurationwithFirewallBlockAllIncoming(Boolean firewallBlockAllIncoming)Returns an immutable copy ofthiswith just thefirewallBlockAllIncomingfield changed.MacOSEndpointProtectionConfigurationwithFirewallEnabled(Boolean firewallEnabled)Returns an immutable copy ofthiswith just thefirewallEnabledfield changed.MacOSEndpointProtectionConfigurationwithFirewallEnableStealthMode(Boolean firewallEnableStealthMode)Returns an immutable copy ofthiswith just thefirewallEnableStealthModefield changed.MacOSEndpointProtectionConfigurationwithGatekeeperAllowedAppSource(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)Returns an immutable copy ofthiswith just thegatekeeperAllowedAppSourcefield changed.MacOSEndpointProtectionConfigurationwithGatekeeperBlockOverride(Boolean gatekeeperBlockOverride)Returns an immutable copy ofthiswith just thegatekeeperBlockOverridefield changed.MacOSEndpointProtectionConfigurationwithUnmappedField(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
-
advancedThreatProtectionAutomaticSampleSubmission
protected Enablement advancedThreatProtectionAutomaticSampleSubmission
-
advancedThreatProtectionCloudDelivered
protected Enablement advancedThreatProtectionCloudDelivered
-
advancedThreatProtectionDiagnosticDataCollection
protected Enablement advancedThreatProtectionDiagnosticDataCollection
-
advancedThreatProtectionExcludedExtensions
protected List<String> advancedThreatProtectionExcludedExtensions
-
advancedThreatProtectionExcludedExtensionsNextLink
protected String advancedThreatProtectionExcludedExtensionsNextLink
-
advancedThreatProtectionExcludedFilesNextLink
protected String advancedThreatProtectionExcludedFilesNextLink
-
advancedThreatProtectionExcludedFolders
protected List<String> advancedThreatProtectionExcludedFolders
-
advancedThreatProtectionExcludedFoldersNextLink
protected String advancedThreatProtectionExcludedFoldersNextLink
-
advancedThreatProtectionExcludedProcesses
protected List<String> advancedThreatProtectionExcludedProcesses
-
advancedThreatProtectionExcludedProcessesNextLink
protected String advancedThreatProtectionExcludedProcessesNextLink
-
advancedThreatProtectionRealTime
protected Enablement advancedThreatProtectionRealTime
-
fileVaultAllowDeferralUntilSignOut
protected Boolean fileVaultAllowDeferralUntilSignOut
-
fileVaultDisablePromptAtSignOut
protected Boolean fileVaultDisablePromptAtSignOut
-
fileVaultEnabled
protected Boolean fileVaultEnabled
-
fileVaultHidePersonalRecoveryKey
protected Boolean fileVaultHidePersonalRecoveryKey
-
fileVaultInstitutionalRecoveryKeyCertificate
protected byte[] fileVaultInstitutionalRecoveryKeyCertificate
-
fileVaultInstitutionalRecoveryKeyCertificateFileName
protected String fileVaultInstitutionalRecoveryKeyCertificateFileName
-
fileVaultNumberOfTimesUserCanIgnore
protected Integer fileVaultNumberOfTimesUserCanIgnore
-
fileVaultPersonalRecoveryKeyHelpMessage
protected String fileVaultPersonalRecoveryKeyHelpMessage
-
fileVaultPersonalRecoveryKeyRotationInMonths
protected Integer fileVaultPersonalRecoveryKeyRotationInMonths
-
fileVaultSelectedRecoveryKeyTypes
protected MacOSFileVaultRecoveryKeyTypes fileVaultSelectedRecoveryKeyTypes
-
firewallApplications
protected List<MacOSFirewallApplication> firewallApplications
-
firewallApplicationsNextLink
protected String firewallApplicationsNextLink
-
firewallBlockAllIncoming
protected Boolean firewallBlockAllIncoming
-
firewallEnabled
protected Boolean firewallEnabled
-
firewallEnableStealthMode
protected Boolean firewallEnableStealthMode
-
gatekeeperAllowedAppSource
protected MacOSGatekeeperAppSources gatekeeperAllowedAppSource
-
gatekeeperBlockOverride
protected Boolean gatekeeperBlockOverride
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderMacOSEndpointProtectionConfiguration
public static MacOSEndpointProtectionConfiguration.Builder builderMacOSEndpointProtectionConfiguration()
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
-
getAdvancedThreatProtectionAutomaticSampleSubmission
public Optional<Enablement> getAdvancedThreatProtectionAutomaticSampleSubmission()
“Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionAutomaticSampleSubmission
-
withAdvancedThreatProtectionAutomaticSampleSubmission
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionAutomaticSampleSubmission(Enablement advancedThreatProtectionAutomaticSampleSubmission)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionAutomaticSampleSubmissionfield 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.“Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionAutomaticSampleSubmission- new value ofadvancedThreatProtectionAutomaticSampleSubmissionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionAutomaticSampleSubmissionfield changed
-
getAdvancedThreatProtectionCloudDelivered
public Optional<Enablement> getAdvancedThreatProtectionCloudDelivered()
“Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionCloudDelivered
-
withAdvancedThreatProtectionCloudDelivered
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionCloudDelivered(Enablement advancedThreatProtectionCloudDelivered)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionCloudDeliveredfield 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.“Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionCloudDelivered- new value ofadvancedThreatProtectionCloudDeliveredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionCloudDeliveredfield changed
-
getAdvancedThreatProtectionDiagnosticDataCollection
public Optional<Enablement> getAdvancedThreatProtectionDiagnosticDataCollection()
“Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionDiagnosticDataCollection
-
withAdvancedThreatProtectionDiagnosticDataCollection
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionDiagnosticDataCollection(Enablement advancedThreatProtectionDiagnosticDataCollection)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionDiagnosticDataCollectionfield 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.“Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionDiagnosticDataCollection- new value ofadvancedThreatProtectionDiagnosticDataCollectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionDiagnosticDataCollectionfield changed
-
getAdvancedThreatProtectionExcludedExtensions
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedExtensions()
“A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionExcludedExtensions
-
withAdvancedThreatProtectionExcludedExtensions
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedExtensions(List<String> advancedThreatProtectionExcludedExtensions)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedExtensionsfield 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.“A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionExcludedExtensions- new value ofadvancedThreatProtectionExcludedExtensionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionExcludedExtensionsfield changed
-
getAdvancedThreatProtectionExcludedExtensions
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedExtensions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Parameters:
options- specify connect and read timeouts- Returns:
- property advancedThreatProtectionExcludedExtensions
-
getAdvancedThreatProtectionExcludedFiles
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFiles()
“A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionExcludedFiles
-
withAdvancedThreatProtectionExcludedFiles
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedFiles(List<String> advancedThreatProtectionExcludedFiles)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedFilesfield 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.“A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionExcludedFiles- new value ofadvancedThreatProtectionExcludedFilesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionExcludedFilesfield changed
-
getAdvancedThreatProtectionExcludedFiles
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFiles(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Parameters:
options- specify connect and read timeouts- Returns:
- property advancedThreatProtectionExcludedFiles
-
getAdvancedThreatProtectionExcludedFolders
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFolders()
“A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionExcludedFolders
-
withAdvancedThreatProtectionExcludedFolders
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedFolders(List<String> advancedThreatProtectionExcludedFolders)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedFoldersfield 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.“A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionExcludedFolders- new value ofadvancedThreatProtectionExcludedFoldersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionExcludedFoldersfield changed
-
getAdvancedThreatProtectionExcludedFolders
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Parameters:
options- specify connect and read timeouts- Returns:
- property advancedThreatProtectionExcludedFolders
-
getAdvancedThreatProtectionExcludedProcesses
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedProcesses()
“A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionExcludedProcesses
-
withAdvancedThreatProtectionExcludedProcesses
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionExcludedProcesses(List<String> advancedThreatProtectionExcludedProcesses)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionExcludedProcessesfield 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.“A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionExcludedProcesses- new value ofadvancedThreatProtectionExcludedProcessesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionExcludedProcessesfield changed
-
getAdvancedThreatProtectionExcludedProcesses
public com.github.davidmoten.odata.client.CollectionPage<String> getAdvancedThreatProtectionExcludedProcesses(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS.”- Parameters:
options- specify connect and read timeouts- Returns:
- property advancedThreatProtectionExcludedProcesses
-
getAdvancedThreatProtectionRealTime
public Optional<Enablement> getAdvancedThreatProtectionRealTime()
“Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”- Returns:
- property advancedThreatProtectionRealTime
-
withAdvancedThreatProtectionRealTime
public MacOSEndpointProtectionConfiguration withAdvancedThreatProtectionRealTime(Enablement advancedThreatProtectionRealTime)
Returns an immutable copy ofthiswith just theadvancedThreatProtectionRealTimefield 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.“Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS.”
- Parameters:
advancedThreatProtectionRealTime- new value ofadvancedThreatProtectionRealTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedThreatProtectionRealTimefield changed
-
getFileVaultAllowDeferralUntilSignOut
public Optional<Boolean> getFileVaultAllowDeferralUntilSignOut()
“Optional. If set to true, the user can defer the enabling of FileVault until they sign out.”- Returns:
- property fileVaultAllowDeferralUntilSignOut
-
withFileVaultAllowDeferralUntilSignOut
public MacOSEndpointProtectionConfiguration withFileVaultAllowDeferralUntilSignOut(Boolean fileVaultAllowDeferralUntilSignOut)
Returns an immutable copy ofthiswith just thefileVaultAllowDeferralUntilSignOutfield 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.“Optional. If set to true, the user can defer the enabling of FileVault until they sign out.”
- Parameters:
fileVaultAllowDeferralUntilSignOut- new value offileVaultAllowDeferralUntilSignOutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultAllowDeferralUntilSignOutfield changed
-
getFileVaultDisablePromptAtSignOut
public Optional<Boolean> getFileVaultDisablePromptAtSignOut()
“Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out.”- Returns:
- property fileVaultDisablePromptAtSignOut
-
withFileVaultDisablePromptAtSignOut
public MacOSEndpointProtectionConfiguration withFileVaultDisablePromptAtSignOut(Boolean fileVaultDisablePromptAtSignOut)
Returns an immutable copy ofthiswith just thefileVaultDisablePromptAtSignOutfield 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.“Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out.”
- Parameters:
fileVaultDisablePromptAtSignOut- new value offileVaultDisablePromptAtSignOutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultDisablePromptAtSignOutfield changed
-
getFileVaultEnabled
public Optional<Boolean> getFileVaultEnabled()
“Whether FileVault should be enabled or not.”- Returns:
- property fileVaultEnabled
-
withFileVaultEnabled
public MacOSEndpointProtectionConfiguration withFileVaultEnabled(Boolean fileVaultEnabled)
Returns an immutable copy ofthiswith just thefileVaultEnabledfield 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.“Whether FileVault should be enabled or not.”
- Parameters:
fileVaultEnabled- new value offileVaultEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultEnabledfield changed
-
getFileVaultHidePersonalRecoveryKey
public Optional<Boolean> getFileVaultHidePersonalRecoveryKey()
“Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands.”- Returns:
- property fileVaultHidePersonalRecoveryKey
-
withFileVaultHidePersonalRecoveryKey
public MacOSEndpointProtectionConfiguration withFileVaultHidePersonalRecoveryKey(Boolean fileVaultHidePersonalRecoveryKey)
Returns an immutable copy ofthiswith just thefileVaultHidePersonalRecoveryKeyfield 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.“Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands.”
- Parameters:
fileVaultHidePersonalRecoveryKey- new value offileVaultHidePersonalRecoveryKeyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultHidePersonalRecoveryKeyfield changed
-
getFileVaultInstitutionalRecoveryKeyCertificate
public Optional<byte[]> getFileVaultInstitutionalRecoveryKeyCertificate()
“Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key.”- Returns:
- property fileVaultInstitutionalRecoveryKeyCertificate
-
withFileVaultInstitutionalRecoveryKeyCertificate
public MacOSEndpointProtectionConfiguration withFileVaultInstitutionalRecoveryKeyCertificate(byte[] fileVaultInstitutionalRecoveryKeyCertificate)
Returns an immutable copy ofthiswith just thefileVaultInstitutionalRecoveryKeyCertificatefield 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.“Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key.”
- Parameters:
fileVaultInstitutionalRecoveryKeyCertificate- new value offileVaultInstitutionalRecoveryKeyCertificatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultInstitutionalRecoveryKeyCertificatefield changed
-
getFileVaultInstitutionalRecoveryKeyCertificateFileName
public Optional<String> getFileVaultInstitutionalRecoveryKeyCertificateFileName()
“File name of the institutional recovery key certificate to display in UI. (*.der ).”- Returns:
- property fileVaultInstitutionalRecoveryKeyCertificateFileName
-
withFileVaultInstitutionalRecoveryKeyCertificateFileName
public MacOSEndpointProtectionConfiguration withFileVaultInstitutionalRecoveryKeyCertificateFileName(String fileVaultInstitutionalRecoveryKeyCertificateFileName)
Returns an immutable copy ofthiswith just thefileVaultInstitutionalRecoveryKeyCertificateFileNamefield 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.“File name of the institutional recovery key certificate to display in UI. (*.der ).”
- Parameters:
fileVaultInstitutionalRecoveryKeyCertificateFileName- new value offileVaultInstitutionalRecoveryKeyCertificateFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultInstitutionalRecoveryKeyCertificateFileNamefield changed
-
getFileVaultNumberOfTimesUserCanIgnore
public Optional<Integer> getFileVaultNumberOfTimesUserCanIgnore()
“Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature.”- Returns:
- property fileVaultNumberOfTimesUserCanIgnore
-
withFileVaultNumberOfTimesUserCanIgnore
public MacOSEndpointProtectionConfiguration withFileVaultNumberOfTimesUserCanIgnore(Integer fileVaultNumberOfTimesUserCanIgnore)
Returns an immutable copy ofthiswith just thefileVaultNumberOfTimesUserCanIgnorefield 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.“Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature.”
- Parameters:
fileVaultNumberOfTimesUserCanIgnore- new value offileVaultNumberOfTimesUserCanIgnorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultNumberOfTimesUserCanIgnorefield changed
-
getFileVaultPersonalRecoveryKeyHelpMessage
public Optional<String> getFileVaultPersonalRecoveryKeyHelpMessage()
“Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key.”- Returns:
- property fileVaultPersonalRecoveryKeyHelpMessage
-
withFileVaultPersonalRecoveryKeyHelpMessage
public MacOSEndpointProtectionConfiguration withFileVaultPersonalRecoveryKeyHelpMessage(String fileVaultPersonalRecoveryKeyHelpMessage)
Returns an immutable copy ofthiswith just thefileVaultPersonalRecoveryKeyHelpMessagefield 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.“Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key.”
- Parameters:
fileVaultPersonalRecoveryKeyHelpMessage- new value offileVaultPersonalRecoveryKeyHelpMessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultPersonalRecoveryKeyHelpMessagefield changed
-
getFileVaultPersonalRecoveryKeyRotationInMonths
public Optional<Integer> getFileVaultPersonalRecoveryKeyRotationInMonths()
“Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months.”- Returns:
- property fileVaultPersonalRecoveryKeyRotationInMonths
-
withFileVaultPersonalRecoveryKeyRotationInMonths
public MacOSEndpointProtectionConfiguration withFileVaultPersonalRecoveryKeyRotationInMonths(Integer fileVaultPersonalRecoveryKeyRotationInMonths)
Returns an immutable copy ofthiswith just thefileVaultPersonalRecoveryKeyRotationInMonthsfield 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.“Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months.”
- Parameters:
fileVaultPersonalRecoveryKeyRotationInMonths- new value offileVaultPersonalRecoveryKeyRotationInMonthsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultPersonalRecoveryKeyRotationInMonthsfield changed
-
getFileVaultSelectedRecoveryKeyTypes
public Optional<MacOSFileVaultRecoveryKeyTypes> getFileVaultSelectedRecoveryKeyTypes()
“Required if FileVault is enabled, determines the type(s) of recovery key to use.”- Returns:
- property fileVaultSelectedRecoveryKeyTypes
-
withFileVaultSelectedRecoveryKeyTypes
public MacOSEndpointProtectionConfiguration withFileVaultSelectedRecoveryKeyTypes(MacOSFileVaultRecoveryKeyTypes fileVaultSelectedRecoveryKeyTypes)
Returns an immutable copy ofthiswith just thefileVaultSelectedRecoveryKeyTypesfield 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.“Required if FileVault is enabled, determines the type(s) of recovery key to use.”
- Parameters:
fileVaultSelectedRecoveryKeyTypes- new value offileVaultSelectedRecoveryKeyTypesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultSelectedRecoveryKeyTypesfield changed
-
getFirewallApplications
public com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication> getFirewallApplications()
“List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”- Returns:
- property firewallApplications
-
withFirewallApplications
public MacOSEndpointProtectionConfiguration withFirewallApplications(List<MacOSFirewallApplication> firewallApplications)
Returns an immutable copy ofthiswith just thefirewallApplicationsfield 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.“List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”
- Parameters:
firewallApplications- new value offirewallApplicationsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirewallApplicationsfield changed
-
getFirewallApplications
public com.github.davidmoten.odata.client.CollectionPage<MacOSFirewallApplication> getFirewallApplications(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property firewallApplications
-
getFirewallBlockAllIncoming
public Optional<Boolean> getFirewallBlockAllIncoming()
“Corresponds to the “Block all incoming connections” option.”- Returns:
- property firewallBlockAllIncoming
-
withFirewallBlockAllIncoming
public MacOSEndpointProtectionConfiguration withFirewallBlockAllIncoming(Boolean firewallBlockAllIncoming)
Returns an immutable copy ofthiswith just thefirewallBlockAllIncomingfield 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.“Corresponds to the “Block all incoming connections” option.”
- Parameters:
firewallBlockAllIncoming- new value offirewallBlockAllIncomingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirewallBlockAllIncomingfield changed
-
getFirewallEnabled
public Optional<Boolean> getFirewallEnabled()
“Whether the firewall should be enabled or not.”- Returns:
- property firewallEnabled
-
withFirewallEnabled
public MacOSEndpointProtectionConfiguration withFirewallEnabled(Boolean firewallEnabled)
Returns an immutable copy ofthiswith just thefirewallEnabledfield 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.“Whether the firewall should be enabled or not.”
- Parameters:
firewallEnabled- new value offirewallEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirewallEnabledfield changed
-
getFirewallEnableStealthMode
public Optional<Boolean> getFirewallEnableStealthMode()
“Corresponds to “Enable stealth mode.””- Returns:
- property firewallEnableStealthMode
-
withFirewallEnableStealthMode
public MacOSEndpointProtectionConfiguration withFirewallEnableStealthMode(Boolean firewallEnableStealthMode)
Returns an immutable copy ofthiswith just thefirewallEnableStealthModefield 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.“Corresponds to “Enable stealth mode.””
- Parameters:
firewallEnableStealthMode- new value offirewallEnableStealthModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefirewallEnableStealthModefield changed
-
getGatekeeperAllowedAppSource
public Optional<MacOSGatekeeperAppSources> getGatekeeperAllowedAppSource()
“System and Privacy setting that determines which download locations apps can be run from on a macOS device.”- Returns:
- property gatekeeperAllowedAppSource
-
withGatekeeperAllowedAppSource
public MacOSEndpointProtectionConfiguration withGatekeeperAllowedAppSource(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)
Returns an immutable copy ofthiswith just thegatekeeperAllowedAppSourcefield 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.“System and Privacy setting that determines which download locations apps can be run from on a macOS device.”
- Parameters:
gatekeeperAllowedAppSource- new value ofgatekeeperAllowedAppSourcefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegatekeeperAllowedAppSourcefield changed
-
getGatekeeperBlockOverride
public Optional<Boolean> getGatekeeperBlockOverride()
“If set to true, the user override for Gatekeeper will be disabled.”- Returns:
- property gatekeeperBlockOverride
-
withGatekeeperBlockOverride
public MacOSEndpointProtectionConfiguration withGatekeeperBlockOverride(Boolean gatekeeperBlockOverride)
Returns an immutable copy ofthiswith just thegatekeeperBlockOverridefield 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.“If set to true, the user override for Gatekeeper will be disabled.”
- Parameters:
gatekeeperBlockOverride- new value ofgatekeeperBlockOverridefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegatekeeperBlockOverridefield changed
-
withUnmappedField
public MacOSEndpointProtectionConfiguration 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 MacOSEndpointProtectionConfiguration 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 MacOSEndpointProtectionConfiguration 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
-
-