Class OnPremisesConditionalAccessSettings

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OnPremisesConditionalAccessSettings
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class OnPremisesConditionalAccessSettings extends Entity implements com.microsoft.kiota.serialization.Parsable
Singleton entity which represents the Exchange OnPremises Conditional Access Settings for a tenant.
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static OnPremisesConditionalAccessSettings createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a OnPremisesConditionalAccessSettings
    • getEnabled

      @Nullable public Boolean getEnabled()
      Gets the enabled property value. Indicates if on premises conditional access is enabled for this organization
      Returns:
      a Boolean
    • getExcludedGroups

      @Nullable public List<UUID> getExcludedGroups()
      Gets the excludedGroups property value. 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:
      a List<UUID>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIncludedGroups

      @Nullable public List<UUID> getIncludedGroups()
      Gets the includedGroups property value. 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:
      a List<UUID>
    • getOverrideDefaultRule

      @Nullable public Boolean getOverrideDefaultRule()
      Gets the overrideDefaultRule property value. Override the default access rule when allowing a device to ensure access is granted.
      Returns:
      a Boolean
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setEnabled

      public void setEnabled(@Nullable Boolean value)
      Sets the enabled property value. Indicates if on premises conditional access is enabled for this organization
      Parameters:
      value - Value to set for the enabled property.
    • setExcludedGroups

      public void setExcludedGroups(@Nullable List<UUID> value)
      Sets the excludedGroups property value. 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:
      value - Value to set for the excludedGroups property.
    • setIncludedGroups

      public void setIncludedGroups(@Nullable List<UUID> value)
      Sets the includedGroups property value. 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:
      value - Value to set for the includedGroups property.
    • setOverrideDefaultRule

      public void setOverrideDefaultRule(@Nullable Boolean value)
      Sets the overrideDefaultRule property value. Override the default access rule when allowing a device to ensure access is granted.
      Parameters:
      value - Value to set for the overrideDefaultRule property.