Package com.microsoft.graph.models
Class PolicyRoot
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PolicyRoot
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PolicyRoot
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyRoot
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the activityBasedTimeoutPolicies property value.Gets the adminConsentRequestPolicy property value.Gets the appManagementPolicies property value.Gets the authenticationFlowsPolicy property value.Gets the authenticationMethodsPolicy property value.Gets the authenticationStrengthPolicies property value.Gets the authorizationPolicy property value.Gets the claimsMappingPolicies property value.Gets the conditionalAccessPolicies property value.Gets the crossTenantAccessPolicy property value.Gets the defaultAppManagementPolicy property value.Gets the deviceRegistrationPolicy property value.Gets the featureRolloutPolicies property value.The deserialization information for the current modelGets the homeRealmDiscoveryPolicies property value.Gets the identitySecurityDefaultsEnforcementPolicy property value.Gets the permissionGrantPolicies property value.Gets the roleManagementPolicies property value.Gets the roleManagementPolicyAssignments property value.Gets the tokenIssuancePolicies property value.Gets the tokenLifetimePolicies property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the activityBasedTimeoutPolicies property value.void
Sets the adminConsentRequestPolicy property value.void
Sets the appManagementPolicies property value.void
Sets the authenticationFlowsPolicy property value.void
Sets the authenticationMethodsPolicy property value.void
Sets the authenticationStrengthPolicies property value.void
Sets the authorizationPolicy property value.void
Sets the claimsMappingPolicies property value.void
Sets the conditionalAccessPolicies property value.void
Sets the crossTenantAccessPolicy property value.void
Sets the defaultAppManagementPolicy property value.void
Sets the deviceRegistrationPolicy property value.void
Sets the featureRolloutPolicies property value.void
Sets the homeRealmDiscoveryPolicies property value.void
Sets the identitySecurityDefaultsEnforcementPolicy property value.void
Sets the permissionGrantPolicies property value.void
Sets the roleManagementPolicies property value.void
Sets the roleManagementPolicyAssignments property value.void
Sets the tokenIssuancePolicies property value.void
Sets the tokenLifetimePolicies property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PolicyRoot
public PolicyRoot()Instantiates a newPolicyRoot
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PolicyRoot 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
PolicyRoot
-
getActivityBasedTimeoutPolicies
Gets the activityBasedTimeoutPolicies property value. The policy that controls the idle time out for web sessions for applications.- Returns:
- a
List<ActivityBasedTimeoutPolicy>
-
getAdminConsentRequestPolicy
Gets the adminConsentRequestPolicy property value. The policy by which consent requests are created and managed for the entire tenant.- Returns:
- a
AdminConsentRequestPolicy
-
getAppManagementPolicies
Gets the appManagementPolicies property value. The policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy.- Returns:
- a
List<AppManagementPolicy>
-
getAuthenticationFlowsPolicy
Gets the authenticationFlowsPolicy property value. The policy configuration of the self-service sign-up experience of external users.- Returns:
- a
AuthenticationFlowsPolicy
-
getAuthenticationMethodsPolicy
Gets the authenticationMethodsPolicy property value. The authentication methods and the users that are allowed to use them to sign in and perform multifactor authentication (MFA) in Microsoft Entra ID.- Returns:
- a
AuthenticationMethodsPolicy
-
getAuthenticationStrengthPolicies
Gets the authenticationStrengthPolicies property value. The authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access.- Returns:
- a
List<AuthenticationStrengthPolicy>
-
getAuthorizationPolicy
Gets the authorizationPolicy property value. The policy that controls Microsoft Entra authorization settings.- Returns:
- a
AuthorizationPolicy
-
getClaimsMappingPolicies
Gets the claimsMappingPolicies property value. The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application.- Returns:
- a
List<ClaimsMappingPolicy>
-
getConditionalAccessPolicies
Gets the conditionalAccessPolicies property value. The custom rules that define an access scenario.- Returns:
- a
List<ConditionalAccessPolicy>
-
getCrossTenantAccessPolicy
Gets the crossTenantAccessPolicy property value. The custom rules that define an access scenario when interacting with external Microsoft Entra tenants.- Returns:
- a
CrossTenantAccessPolicy
-
getDefaultAppManagementPolicy
Gets the defaultAppManagementPolicy property value. The tenant-wide policy that enforces app management restrictions for all applications and service principals.- Returns:
- a
TenantAppManagementPolicy
-
getDeviceRegistrationPolicy
Gets the deviceRegistrationPolicy property value. The deviceRegistrationPolicy property- Returns:
- a
DeviceRegistrationPolicy
-
getFeatureRolloutPolicies
Gets the featureRolloutPolicies property value. The feature rollout policy associated with a directory object.- Returns:
- a
List<FeatureRolloutPolicy>
-
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>>
-
getHomeRealmDiscoveryPolicies
Gets the homeRealmDiscoveryPolicies property value. The policy to control Microsoft Entra authentication behavior for federated users.- Returns:
- a
List<HomeRealmDiscoveryPolicy>
-
getIdentitySecurityDefaultsEnforcementPolicy
@Nullable public IdentitySecurityDefaultsEnforcementPolicy getIdentitySecurityDefaultsEnforcementPolicy()Gets the identitySecurityDefaultsEnforcementPolicy property value. The policy that represents the security defaults that protect against common attacks.- Returns:
- a
IdentitySecurityDefaultsEnforcementPolicy
-
getPermissionGrantPolicies
Gets the permissionGrantPolicies property value. The policy that specifies the conditions under which consent can be granted.- Returns:
- a
List<PermissionGrantPolicy>
-
getRoleManagementPolicies
Gets the roleManagementPolicies property value. Specifies the various policies associated with scopes and roles.- Returns:
- a
List<UnifiedRoleManagementPolicy>
-
getRoleManagementPolicyAssignments
Gets the roleManagementPolicyAssignments property value. The assignment of a role management policy to a role definition object.- Returns:
- a
List<UnifiedRoleManagementPolicyAssignment>
-
getTokenIssuancePolicies
Gets the tokenIssuancePolicies property value. The policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID.- Returns:
- a
List<TokenIssuancePolicy>
-
getTokenLifetimePolicies
Gets the tokenLifetimePolicies property value. The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID.- Returns:
- a
List<TokenLifetimePolicy>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActivityBasedTimeoutPolicies
Sets the activityBasedTimeoutPolicies property value. The policy that controls the idle time out for web sessions for applications.- Parameters:
value
- Value to set for the activityBasedTimeoutPolicies property.
-
setAdminConsentRequestPolicy
Sets the adminConsentRequestPolicy property value. The policy by which consent requests are created and managed for the entire tenant.- Parameters:
value
- Value to set for the adminConsentRequestPolicy property.
-
setAppManagementPolicies
Sets the appManagementPolicies property value. The policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy.- Parameters:
value
- Value to set for the appManagementPolicies property.
-
setAuthenticationFlowsPolicy
Sets the authenticationFlowsPolicy property value. The policy configuration of the self-service sign-up experience of external users.- Parameters:
value
- Value to set for the authenticationFlowsPolicy property.
-
setAuthenticationMethodsPolicy
Sets the authenticationMethodsPolicy property value. The authentication methods and the users that are allowed to use them to sign in and perform multifactor authentication (MFA) in Microsoft Entra ID.- Parameters:
value
- Value to set for the authenticationMethodsPolicy property.
-
setAuthenticationStrengthPolicies
Sets the authenticationStrengthPolicies property value. The authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access.- Parameters:
value
- Value to set for the authenticationStrengthPolicies property.
-
setAuthorizationPolicy
Sets the authorizationPolicy property value. The policy that controls Microsoft Entra authorization settings.- Parameters:
value
- Value to set for the authorizationPolicy property.
-
setClaimsMappingPolicies
Sets the claimsMappingPolicies property value. The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application.- Parameters:
value
- Value to set for the claimsMappingPolicies property.
-
setConditionalAccessPolicies
Sets the conditionalAccessPolicies property value. The custom rules that define an access scenario.- Parameters:
value
- Value to set for the conditionalAccessPolicies property.
-
setCrossTenantAccessPolicy
Sets the crossTenantAccessPolicy property value. The custom rules that define an access scenario when interacting with external Microsoft Entra tenants.- Parameters:
value
- Value to set for the crossTenantAccessPolicy property.
-
setDefaultAppManagementPolicy
Sets the defaultAppManagementPolicy property value. The tenant-wide policy that enforces app management restrictions for all applications and service principals.- Parameters:
value
- Value to set for the defaultAppManagementPolicy property.
-
setDeviceRegistrationPolicy
Sets the deviceRegistrationPolicy property value. The deviceRegistrationPolicy property- Parameters:
value
- Value to set for the deviceRegistrationPolicy property.
-
setFeatureRolloutPolicies
Sets the featureRolloutPolicies property value. The feature rollout policy associated with a directory object.- Parameters:
value
- Value to set for the featureRolloutPolicies property.
-
setHomeRealmDiscoveryPolicies
Sets the homeRealmDiscoveryPolicies property value. The policy to control Microsoft Entra authentication behavior for federated users.- Parameters:
value
- Value to set for the homeRealmDiscoveryPolicies property.
-
setIdentitySecurityDefaultsEnforcementPolicy
public void setIdentitySecurityDefaultsEnforcementPolicy(@Nullable IdentitySecurityDefaultsEnforcementPolicy value) Sets the identitySecurityDefaultsEnforcementPolicy property value. The policy that represents the security defaults that protect against common attacks.- Parameters:
value
- Value to set for the identitySecurityDefaultsEnforcementPolicy property.
-
setPermissionGrantPolicies
Sets the permissionGrantPolicies property value. The policy that specifies the conditions under which consent can be granted.- Parameters:
value
- Value to set for the permissionGrantPolicies property.
-
setRoleManagementPolicies
Sets the roleManagementPolicies property value. Specifies the various policies associated with scopes and roles.- Parameters:
value
- Value to set for the roleManagementPolicies property.
-
setRoleManagementPolicyAssignments
public void setRoleManagementPolicyAssignments(@Nullable List<UnifiedRoleManagementPolicyAssignment> value) Sets the roleManagementPolicyAssignments property value. The assignment of a role management policy to a role definition object.- Parameters:
value
- Value to set for the roleManagementPolicyAssignments property.
-
setTokenIssuancePolicies
Sets the tokenIssuancePolicies property value. The policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID.- Parameters:
value
- Value to set for the tokenIssuancePolicies property.
-
setTokenLifetimePolicies
Sets the tokenLifetimePolicies property value. The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID.- Parameters:
value
- Value to set for the tokenLifetimePolicies property.
-