Class DeviceRegistrationPolicy

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

@Generated("com.microsoft.kiota") public class DeviceRegistrationPolicy extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • DeviceRegistrationPolicy

      public DeviceRegistrationPolicy()
      Instantiates a new DeviceRegistrationPolicy and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceRegistrationPolicy 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 DeviceRegistrationPolicy
    • getAzureADJoin

      @Nullable public AzureADJoinPolicy getAzureADJoin()
      Gets the azureADJoin property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?.
      Returns:
      a AzureADJoinPolicy
    • getAzureADRegistration

      @Nullable public AzureADRegistrationPolicy getAzureADRegistration()
      Gets the azureADRegistration property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?.
      Returns:
      a AzureADRegistrationPolicy
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only.
      Returns:
      a String
    • 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>>
    • getLocalAdminPassword

      @Nullable public LocalAdminPasswordSettings getLocalAdminPassword()
      Gets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization.
      Returns:
      a LocalAdminPasswordSettings
    • getMultiFactorAuthConfiguration

      @Nullable public MultiFactorAuthConfiguration getMultiFactorAuthConfiguration()
      Gets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property
      Returns:
      a MultiFactorAuthConfiguration
    • getUserDeviceQuota

      @Nullable public Integer getUserDeviceQuota()
      Gets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices.
      Returns:
      a Integer
    • 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
    • setAzureADJoin

      public void setAzureADJoin(@Nullable AzureADJoinPolicy value)
      Sets the azureADJoin property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?.
      Parameters:
      value - Value to set for the azureADJoin property.
    • setAzureADRegistration

      public void setAzureADRegistration(@Nullable AzureADRegistrationPolicy value)
      Sets the azureADRegistration property value. Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?.
      Parameters:
      value - Value to set for the azureADRegistration property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only.
      Parameters:
      value - Value to set for the displayName property.
    • setLocalAdminPassword

      public void setLocalAdminPassword(@Nullable LocalAdminPasswordSettings value)
      Sets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization.
      Parameters:
      value - Value to set for the localAdminPassword property.
    • setMultiFactorAuthConfiguration

      public void setMultiFactorAuthConfiguration(@Nullable MultiFactorAuthConfiguration value)
      Sets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property
      Parameters:
      value - Value to set for the multiFactorAuthConfiguration property.
    • setUserDeviceQuota

      public void setUserDeviceQuota(@Nullable Integer value)
      Sets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices.
      Parameters:
      value - Value to set for the userDeviceQuota property.