public class MacOSCompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
MacOSCompliancePolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
deviceThreatProtectionEnabled |
protected DeviceThreatProtectionLevel |
deviceThreatProtectionRequiredSecurityLevel |
protected Boolean |
firewallBlockAllIncoming |
protected Boolean |
firewallEnabled |
protected Boolean |
firewallEnableStealthMode |
protected MacOSGatekeeperAppSources |
gatekeeperAllowedAppSource |
protected String |
osMaximumBuildVersion |
protected String |
osMaximumVersion |
protected String |
osMinimumBuildVersion |
protected String |
osMinimumVersion |
protected Boolean |
passwordBlockSimple |
protected Integer |
passwordExpirationDays |
protected Integer |
passwordMinimumCharacterSetCount |
protected Integer |
passwordMinimumLength |
protected Integer |
passwordMinutesOfInactivityBeforeLock |
protected Integer |
passwordPreviousPasswordBlockCount |
protected Boolean |
passwordRequired |
protected RequiredPasswordType |
passwordRequiredType |
protected Boolean |
storageRequireEncryption |
protected Boolean |
systemIntegrityProtectionEnabled |
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MacOSCompliancePolicy() |
| Modifier and Type | Method and Description |
|---|---|
static MacOSCompliancePolicy.Builder |
builderMacOSCompliancePolicy()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDeviceThreatProtectionEnabled()
“Require that devices have enabled device threat protection.”
|
Optional<DeviceThreatProtectionLevel> |
getDeviceThreatProtectionRequiredSecurityLevel()
“Require Mobile Threat Protection minimum risk level to report noncompliance.”
|
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<String> |
getOsMaximumBuildVersion()
“Maximum MacOS build version.”
|
Optional<String> |
getOsMaximumVersion()
“Maximum MacOS version.”
|
Optional<String> |
getOsMinimumBuildVersion()
“Minimum MacOS build version.”
|
Optional<String> |
getOsMinimumVersion()
“Minimum MacOS version.”
|
Optional<Boolean> |
getPasswordBlockSimple()
“Indicates whether or not to block simple passwords.”
|
Optional<Integer> |
getPasswordExpirationDays()
“Number of days before the password expires.
|
Optional<Integer> |
getPasswordMinimumCharacterSetCount()
“The number of character sets required in the password.”
|
Optional<Integer> |
getPasswordMinimumLength()
“Minimum length of password.
|
Optional<Integer> |
getPasswordMinutesOfInactivityBeforeLock()
“Minutes of inactivity before a password is required.”
|
Optional<Integer> |
getPasswordPreviousPasswordBlockCount()
“Number of previous passwords to block.
|
Optional<Boolean> |
getPasswordRequired()
“Whether or not to require a password.”
|
Optional<RequiredPasswordType> |
getPasswordRequiredType()
“The required password type.”
|
Optional<Boolean> |
getStorageRequireEncryption()
“Require encryption on Mac OS devices.”
|
Optional<Boolean> |
getSystemIntegrityProtectionEnabled()
“Require that devices have enabled system integrity protection.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MacOSCompliancePolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MacOSCompliancePolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MacOSCompliancePolicy |
withDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)
Returns an immutable copy of
this with just the deviceThreatProtectionEnabled field changed. |
MacOSCompliancePolicy |
withDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)
Returns an immutable copy of
this with just the deviceThreatProtectionRequiredSecurityLevel field changed. |
MacOSCompliancePolicy |
withFirewallBlockAllIncoming(Boolean firewallBlockAllIncoming)
Returns an immutable copy of
this with just the firewallBlockAllIncoming field changed. |
MacOSCompliancePolicy |
withFirewallEnabled(Boolean firewallEnabled)
Returns an immutable copy of
this with just the firewallEnabled
field changed. |
MacOSCompliancePolicy |
withFirewallEnableStealthMode(Boolean firewallEnableStealthMode)
Returns an immutable copy of
this with just the firewallEnableStealthMode field changed. |
MacOSCompliancePolicy |
withGatekeeperAllowedAppSource(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)
Returns an immutable copy of
this with just the gatekeeperAllowedAppSource field changed. |
MacOSCompliancePolicy |
withOsMaximumBuildVersion(String osMaximumBuildVersion)
Returns an immutable copy of
this with just the osMaximumBuildVersion field changed. |
MacOSCompliancePolicy |
withOsMaximumVersion(String osMaximumVersion)
Returns an immutable copy of
this with just the osMaximumVersion
field changed. |
MacOSCompliancePolicy |
withOsMinimumBuildVersion(String osMinimumBuildVersion)
Returns an immutable copy of
this with just the osMinimumBuildVersion field changed. |
MacOSCompliancePolicy |
withOsMinimumVersion(String osMinimumVersion)
Returns an immutable copy of
this with just the osMinimumVersion
field changed. |
MacOSCompliancePolicy |
withPasswordBlockSimple(Boolean passwordBlockSimple)
Returns an immutable copy of
this with just the passwordBlockSimple field changed. |
MacOSCompliancePolicy |
withPasswordExpirationDays(Integer passwordExpirationDays)
Returns an immutable copy of
this with just the passwordExpirationDays field changed. |
MacOSCompliancePolicy |
withPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)
Returns an immutable copy of
this with just the passwordMinimumCharacterSetCount field changed. |
MacOSCompliancePolicy |
withPasswordMinimumLength(Integer passwordMinimumLength)
Returns an immutable copy of
this with just the passwordMinimumLength field changed. |
MacOSCompliancePolicy |
withPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)
Returns an immutable copy of
this with just the passwordMinutesOfInactivityBeforeLock field changed. |
MacOSCompliancePolicy |
withPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)
Returns an immutable copy of
this with just the passwordPreviousPasswordBlockCount field changed. |
MacOSCompliancePolicy |
withPasswordRequired(Boolean passwordRequired)
Returns an immutable copy of
this with just the passwordRequired
field changed. |
MacOSCompliancePolicy |
withPasswordRequiredType(RequiredPasswordType passwordRequiredType)
Returns an immutable copy of
this with just the passwordRequiredType field changed. |
MacOSCompliancePolicy |
withStorageRequireEncryption(Boolean storageRequireEncryption)
Returns an immutable copy of
this with just the storageRequireEncryption field changed. |
MacOSCompliancePolicy |
withSystemIntegrityProtectionEnabled(Boolean systemIntegrityProtectionEnabled)
Returns an immutable copy of
this with just the systemIntegrityProtectionEnabled field changed. |
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getScheduledActionsForRule, getUserStatuses, getUserStatusOverview, getVersion, scheduleActionsForRules, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersionprotected Boolean passwordRequired
protected Boolean passwordBlockSimple
protected Integer passwordExpirationDays
protected Integer passwordMinimumLength
protected Integer passwordMinutesOfInactivityBeforeLock
protected Integer passwordPreviousPasswordBlockCount
protected Integer passwordMinimumCharacterSetCount
protected RequiredPasswordType passwordRequiredType
protected String osMinimumVersion
protected String osMaximumVersion
protected String osMinimumBuildVersion
protected String osMaximumBuildVersion
protected Boolean systemIntegrityProtectionEnabled
protected Boolean deviceThreatProtectionEnabled
protected DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel
protected Boolean storageRequireEncryption
protected MacOSGatekeeperAppSources gatekeeperAllowedAppSource
protected Boolean firewallEnabled
protected Boolean firewallBlockAllIncoming
protected Boolean firewallEnableStealthMode
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceCompliancePolicypublic static MacOSCompliancePolicy.Builder builderMacOSCompliancePolicy()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceCompliancePolicypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceCompliancePolicypublic Optional<Boolean> getPasswordRequired()
public MacOSCompliancePolicy withPasswordRequired(Boolean passwordRequired)
this with just the passwordRequired
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Whether or not to require a password.”
passwordRequired - new value of passwordRequired field (as defined in service metadata)this with just the passwordRequired field changedpublic Optional<Boolean> getPasswordBlockSimple()
public MacOSCompliancePolicy withPasswordBlockSimple(Boolean passwordBlockSimple)
this with just the passwordBlockSimple field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Indicates whether or not to block simple passwords.”
passwordBlockSimple - new value of passwordBlockSimple field (as defined in service metadata)this with just the passwordBlockSimple field changedpublic Optional<Integer> getPasswordExpirationDays()
public MacOSCompliancePolicy withPasswordExpirationDays(Integer passwordExpirationDays)
this with just the passwordExpirationDays field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Number of days before the password expires. Valid values 1 to 65535”
passwordExpirationDays - new value of passwordExpirationDays field (as defined in service metadata)this with just the passwordExpirationDays field changedpublic Optional<Integer> getPasswordMinimumLength()
public MacOSCompliancePolicy withPasswordMinimumLength(Integer passwordMinimumLength)
this with just the passwordMinimumLength field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Minimum length of password. Valid values 4 to 14”
passwordMinimumLength - new value of passwordMinimumLength field (as defined in service metadata)this with just the passwordMinimumLength field changedpublic Optional<Integer> getPasswordMinutesOfInactivityBeforeLock()
public MacOSCompliancePolicy withPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)
this with just the passwordMinutesOfInactivityBeforeLock field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Minutes of inactivity before a password is required.”
passwordMinutesOfInactivityBeforeLock - new value of passwordMinutesOfInactivityBeforeLock field (as defined in service metadata)this with just the passwordMinutesOfInactivityBeforeLock field changedpublic Optional<Integer> getPasswordPreviousPasswordBlockCount()
public MacOSCompliancePolicy withPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)
this with just the passwordPreviousPasswordBlockCount field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Number of previous passwords to block. Valid values 1 to 24”
passwordPreviousPasswordBlockCount - new value of passwordPreviousPasswordBlockCount field (as defined in service metadata)this with just the passwordPreviousPasswordBlockCount field changedpublic Optional<Integer> getPasswordMinimumCharacterSetCount()
public MacOSCompliancePolicy withPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)
this with just the passwordMinimumCharacterSetCount field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“The number of character sets required in the password.”
passwordMinimumCharacterSetCount - new value of passwordMinimumCharacterSetCount field (as defined in service metadata)this with just the passwordMinimumCharacterSetCount field changedpublic Optional<RequiredPasswordType> getPasswordRequiredType()
public MacOSCompliancePolicy withPasswordRequiredType(RequiredPasswordType passwordRequiredType)
this with just the passwordRequiredType field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The required password type.”
passwordRequiredType - new value of passwordRequiredType field (as defined in service metadata)this with just the passwordRequiredType field changedpublic Optional<String> getOsMinimumVersion()
public MacOSCompliancePolicy withOsMinimumVersion(String osMinimumVersion)
this with just the osMinimumVersion
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Minimum MacOS version.”
osMinimumVersion - new value of osMinimumVersion field (as defined in service metadata)this with just the osMinimumVersion field changedpublic Optional<String> getOsMaximumVersion()
public MacOSCompliancePolicy withOsMaximumVersion(String osMaximumVersion)
this with just the osMaximumVersion
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Maximum MacOS version.”
osMaximumVersion - new value of osMaximumVersion field (as defined in service metadata)this with just the osMaximumVersion field changedpublic Optional<String> getOsMinimumBuildVersion()
public MacOSCompliancePolicy withOsMinimumBuildVersion(String osMinimumBuildVersion)
this with just the osMinimumBuildVersion field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Minimum MacOS build version.”
osMinimumBuildVersion - new value of osMinimumBuildVersion field (as defined in service metadata)this with just the osMinimumBuildVersion field changedpublic Optional<String> getOsMaximumBuildVersion()
public MacOSCompliancePolicy withOsMaximumBuildVersion(String osMaximumBuildVersion)
this with just the osMaximumBuildVersion field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Maximum MacOS build version.”
osMaximumBuildVersion - new value of osMaximumBuildVersion field (as defined in service metadata)this with just the osMaximumBuildVersion field changedpublic Optional<Boolean> getSystemIntegrityProtectionEnabled()
public MacOSCompliancePolicy withSystemIntegrityProtectionEnabled(Boolean systemIntegrityProtectionEnabled)
this with just the systemIntegrityProtectionEnabled field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Require that devices have enabled system integrity protection.”
systemIntegrityProtectionEnabled - new value of systemIntegrityProtectionEnabled field (as defined in service metadata)this with just the systemIntegrityProtectionEnabled field changedpublic Optional<Boolean> getDeviceThreatProtectionEnabled()
public MacOSCompliancePolicy withDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)
this with just the deviceThreatProtectionEnabled field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Require that devices have enabled device threat protection.”
deviceThreatProtectionEnabled - new value of deviceThreatProtectionEnabled field (as defined in service metadata)this with just the deviceThreatProtectionEnabled field changedpublic Optional<DeviceThreatProtectionLevel> getDeviceThreatProtectionRequiredSecurityLevel()
public MacOSCompliancePolicy withDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)
this with just the deviceThreatProtectionRequiredSecurityLevel field changed. Field description
below. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Require Mobile Threat Protection minimum risk level to report noncompliance.”
deviceThreatProtectionRequiredSecurityLevel - new value of deviceThreatProtectionRequiredSecurityLevel field (as defined in service metadata)this with just the deviceThreatProtectionRequiredSecurityLevel field changedpublic Optional<Boolean> getStorageRequireEncryption()
public MacOSCompliancePolicy withStorageRequireEncryption(Boolean storageRequireEncryption)
this with just the storageRequireEncryption field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Require encryption on Mac OS devices.”
storageRequireEncryption - new value of storageRequireEncryption field (as defined in service metadata)this with just the storageRequireEncryption field changedpublic Optional<MacOSGatekeeperAppSources> getGatekeeperAllowedAppSource()
public MacOSCompliancePolicy withGatekeeperAllowedAppSource(MacOSGatekeeperAppSources gatekeeperAllowedAppSource)
this with just the gatekeeperAllowedAppSource field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.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.”
gatekeeperAllowedAppSource - new value of gatekeeperAllowedAppSource field (as defined in service metadata)this with just the gatekeeperAllowedAppSource field changedpublic Optional<Boolean> getFirewallEnabled()
public MacOSCompliancePolicy withFirewallEnabled(Boolean firewallEnabled)
this with just the firewallEnabled
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Whether the firewall should be enabled or not.”
firewallEnabled - new value of firewallEnabled field (as defined in service metadata)this with just the firewallEnabled field changedpublic Optional<Boolean> getFirewallBlockAllIncoming()
public MacOSCompliancePolicy withFirewallBlockAllIncoming(Boolean firewallBlockAllIncoming)
this with just the firewallBlockAllIncoming field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Corresponds to the “Block all incoming connections” option.”
firewallBlockAllIncoming - new value of firewallBlockAllIncoming field (as defined in service metadata)this with just the firewallBlockAllIncoming field changedpublic Optional<Boolean> getFirewallEnableStealthMode()
public MacOSCompliancePolicy withFirewallEnableStealthMode(Boolean firewallEnableStealthMode)
this with just the firewallEnableStealthMode field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Corresponds to “Enable stealth mode.””
firewallEnableStealthMode - new value of firewallEnableStealthMode field (as defined in service metadata)this with just the firewallEnableStealthMode field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceCompliancePolicypublic MacOSCompliancePolicy patch()
this with changed fields reset.patch in class DeviceCompliancePolicythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic MacOSCompliancePolicy put()
this
with changed fields reset (they were ignored anyway).put in class DeviceCompliancePolicythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceCompliancePolicyCopyright © 2018–2020. All rights reserved.