Package com.microsoft.graph.models
Class AuthenticationStrengthPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationStrengthPolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AuthenticationStrengthPolicy
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAuthenticationStrengthPolicy
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationStrengthPolicy
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the allowedCombinations property value.Gets the combinationConfigurations property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the modifiedDateTime property value.Gets the policyType property value.Gets the requirementsSatisfied property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the allowedCombinations property value.void
Sets the combinationConfigurations property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the modifiedDateTime property value.void
Sets the policyType property value.void
Sets the requirementsSatisfied property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AuthenticationStrengthPolicy
public AuthenticationStrengthPolicy()Instantiates a newAuthenticationStrengthPolicy
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AuthenticationStrengthPolicy 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
AuthenticationStrengthPolicy
-
getAllowedCombinations
Gets the allowedCombinations property value. A collection of authentication method modes that are required be used to satify this authentication strength.- Returns:
- a
List<AuthenticationMethodModes>
-
getCombinationConfigurations
Gets the combinationConfigurations property value. Settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods.- Returns:
- a
List<AuthenticationCombinationConfiguration>
-
getCreatedDateTime
Gets the createdDateTime property value. The datetime when this policy was created.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. The human-readable description of this policy.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The human-readable display name of this policy. Supports $filter (eq, ne, not , and in).- 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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getModifiedDateTime
Gets the modifiedDateTime property value. The datetime when this policy was last modified.- Returns:
- a
OffsetDateTime
-
getPolicyType
Gets the policyType property value. The policyType property- Returns:
- a
AuthenticationStrengthPolicyType
-
getRequirementsSatisfied
Gets the requirementsSatisfied property value. The requirementsSatisfied property- Returns:
- a
EnumSet<AuthenticationStrengthRequirements>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAllowedCombinations
Sets the allowedCombinations property value. A collection of authentication method modes that are required be used to satify this authentication strength.- Parameters:
value
- Value to set for the allowedCombinations property.
-
setCombinationConfigurations
public void setCombinationConfigurations(@Nullable List<AuthenticationCombinationConfiguration> value) Sets the combinationConfigurations property value. Settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods.- Parameters:
value
- Value to set for the combinationConfigurations property.
-
setCreatedDateTime
Sets the createdDateTime property value. The datetime when this policy was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. The human-readable description of this policy.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The human-readable display name of this policy. Supports $filter (eq, ne, not , and in).- Parameters:
value
- Value to set for the displayName property.
-
setModifiedDateTime
Sets the modifiedDateTime property value. The datetime when this policy was last modified.- Parameters:
value
- Value to set for the modifiedDateTime property.
-
setPolicyType
Sets the policyType property value. The policyType property- Parameters:
value
- Value to set for the policyType property.
-
setRequirementsSatisfied
Sets the requirementsSatisfied property value. The requirementsSatisfied property- Parameters:
value
- Value to set for the requirementsSatisfied property.
-