Class OnPremisesConditionalAccessSettings

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class OnPremisesConditionalAccessSettings
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Singleton entity which represents the Exchange OnPremises Conditional Access Settings for a tenant.”
    • Field Detail

      • enabled

        protected Boolean enabled
      • excludedGroups

        protected List<UUID> excludedGroups
      • excludedGroupsNextLink

        protected String excludedGroupsNextLink
      • includedGroups

        protected List<UUID> includedGroups
      • includedGroupsNextLink

        protected String includedGroupsNextLink
      • overrideDefaultRule

        protected Boolean overrideDefaultRule
    • Constructor Detail

      • OnPremisesConditionalAccessSettings

        protected OnPremisesConditionalAccessSettings()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderOnPremisesConditionalAccessSettings

        public static OnPremisesConditionalAccessSettings.Builder builderOnPremisesConditionalAccessSettings()
        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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getEnabled

        public Optional<Boolean> getEnabled()
        “Indicates if on premises conditional access is enabled for this organization”
        Returns:
        property enabled
      • withEnabled

        public OnPremisesConditionalAccessSettings withEnabled​(Boolean enabled)
        Returns an immutable copy of this with just the enabled 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 if on premises conditional access is enabled for this organization”

        Parameters:
        enabled - new value of enabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enabled field changed
      • getExcludedGroups

        public com.github.davidmoten.odata.client.CollectionPage<UUID> getExcludedGroups()
        “User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”
        Returns:
        property excludedGroups
      • withExcludedGroups

        public OnPremisesConditionalAccessSettings withExcludedGroups​(List<UUID> excludedGroups)
        Returns an immutable copy of this with just the excludedGroups 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.

        “User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”

        Parameters:
        excludedGroups - new value of excludedGroups field (as defined in service metadata)
        Returns:
        immutable copy of this with just the excludedGroups field changed
      • getExcludedGroups

        public com.github.davidmoten.odata.client.CollectionPage<UUID> getExcludedGroups​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property excludedGroups
      • getIncludedGroups

        public com.github.davidmoten.odata.client.CollectionPage<UUID> getIncludedGroups()
        “User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”
        Returns:
        property includedGroups
      • withIncludedGroups

        public OnPremisesConditionalAccessSettings withIncludedGroups​(List<UUID> includedGroups)
        Returns an immutable copy of this with just the includedGroups 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.

        “User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”

        Parameters:
        includedGroups - new value of includedGroups field (as defined in service metadata)
        Returns:
        immutable copy of this with just the includedGroups field changed
      • getIncludedGroups

        public com.github.davidmoten.odata.client.CollectionPage<UUID> getIncludedGroups​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property includedGroups
      • getOverrideDefaultRule

        public Optional<Boolean> getOverrideDefaultRule()
        “Override the default access rule when allowing a device to ensure access is granted.”
        Returns:
        property overrideDefaultRule
      • withOverrideDefaultRule

        public OnPremisesConditionalAccessSettings withOverrideDefaultRule​(Boolean overrideDefaultRule)
        Returns an immutable copy of this with just the overrideDefaultRule 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.

        “Override the default access rule when allowing a device to ensure access is granted.”

        Parameters:
        overrideDefaultRule - new value of overrideDefaultRule field (as defined in service metadata)
        Returns:
        immutable copy of this with just the overrideDefaultRule field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public OnPremisesConditionalAccessSettings patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public OnPremisesConditionalAccessSettings put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected