Class AuthenticationMethodsPolicy

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

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

    • AuthenticationMethodsPolicy

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

    • createFromDiscriminatorValue

      @Nonnull public static AuthenticationMethodsPolicy 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 AuthenticationMethodsPolicy
    • getAuthenticationMethodConfigurations

      @Nullable public List<AuthenticationMethodConfiguration> getAuthenticationMethodConfigurations()
      Gets the authenticationMethodConfigurations property value. Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy.
      Returns:
      a List<AuthenticationMethodConfiguration>
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. A description of the policy. Read-only.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the 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>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time of the last update to the policy. Read-only.
      Returns:
      a OffsetDateTime
    • getPolicyMigrationState

      @Nullable public AuthenticationMethodsPolicyMigrationState getPolicyMigrationState()
      Gets the policyMigrationState property value. The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use.
      Returns:
      a AuthenticationMethodsPolicyMigrationState
    • getPolicyVersion

      @Nullable public String getPolicyVersion()
      Gets the policyVersion property value. The version of the policy in use. Read-only.
      Returns:
      a String
    • getReconfirmationInDays

      @Nullable public Integer getReconfirmationInDays()
      Gets the reconfirmationInDays property value. The reconfirmationInDays property
      Returns:
      a Integer
    • getRegistrationEnforcement

      @Nullable public RegistrationEnforcement getRegistrationEnforcement()
      Gets the registrationEnforcement property value. Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods.
      Returns:
      a RegistrationEnforcement
    • 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
    • setAuthenticationMethodConfigurations

      public void setAuthenticationMethodConfigurations(@Nullable List<AuthenticationMethodConfiguration> value)
      Sets the authenticationMethodConfigurations property value. Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy.
      Parameters:
      value - Value to set for the authenticationMethodConfigurations property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. A description of the policy. 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 policy. Read-only.
      Parameters:
      value - Value to set for the displayName property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time of the last update to the policy. Read-only.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setPolicyMigrationState

      public void setPolicyMigrationState(@Nullable AuthenticationMethodsPolicyMigrationState value)
      Sets the policyMigrationState property value. The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use.
      Parameters:
      value - Value to set for the policyMigrationState property.
    • setPolicyVersion

      public void setPolicyVersion(@Nullable String value)
      Sets the policyVersion property value. The version of the policy in use. Read-only.
      Parameters:
      value - Value to set for the policyVersion property.
    • setReconfirmationInDays

      public void setReconfirmationInDays(@Nullable Integer value)
      Sets the reconfirmationInDays property value. The reconfirmationInDays property
      Parameters:
      value - Value to set for the reconfirmationInDays property.
    • setRegistrationEnforcement

      public void setRegistrationEnforcement(@Nullable RegistrationEnforcement value)
      Sets the registrationEnforcement property value. Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods.
      Parameters:
      value - Value to set for the registrationEnforcement property.