Package com.microsoft.graph.policies
Class PoliciesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.policies.PoliciesRequestBuilder
@Generated("com.microsoft.kiota")
public class PoliciesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the policyRoot singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet policiesclassConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionPoliciesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPoliciesRequestBuilderand sets the default values.PoliciesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPoliciesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the adminConsentRequestPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the authenticationFlowsPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the authenticationMethodsPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the defaultAppManagementPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the deviceRegistrationPolicy property of the microsoft.graph.policyRoot entity.Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity.get()Get policiesget(Consumer<PoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get policiesProvides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the identitySecurityDefaultsEnforcementPolicy property of the microsoft.graph.policyRoot entity.patch(PolicyRoot body) Update policiespatch(PolicyRoot body, Consumer<PoliciesRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update policiesProvides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.com.microsoft.kiota.RequestInformationGet policiescom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get policiesProvides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity.Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.policyRoot entity.com.microsoft.kiota.RequestInformationUpdate policiescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(PolicyRoot body, Consumer<PoliciesRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update policiesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PoliciesRequestBuilder
public PoliciesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPoliciesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PoliciesRequestBuilder
public PoliciesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPoliciesRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
activityBasedTimeoutPolicies
Provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
ActivityBasedTimeoutPoliciesRequestBuilder
-
adminConsentRequestPolicy
Provides operations to manage the adminConsentRequestPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
AdminConsentRequestPolicyRequestBuilder
-
appManagementPolicies
Provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
AppManagementPoliciesRequestBuilder
-
authenticationFlowsPolicy
Provides operations to manage the authenticationFlowsPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
AuthenticationFlowsPolicyRequestBuilder
-
authenticationMethodsPolicy
Provides operations to manage the authenticationMethodsPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
AuthenticationMethodsPolicyRequestBuilder
-
authenticationStrengthPolicies
Provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
AuthenticationStrengthPoliciesRequestBuilder
-
authorizationPolicy
Provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
AuthorizationPolicyRequestBuilder
-
claimsMappingPolicies
Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
ClaimsMappingPoliciesRequestBuilder
-
conditionalAccessPolicies
Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
ConditionalAccessPoliciesRequestBuilder
-
crossTenantAccessPolicy
Provides operations to manage the crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
CrossTenantAccessPolicyRequestBuilder
-
defaultAppManagementPolicy
Provides operations to manage the defaultAppManagementPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
DefaultAppManagementPolicyRequestBuilder
-
deviceRegistrationPolicy
Provides operations to manage the deviceRegistrationPolicy property of the microsoft.graph.policyRoot entity.- Returns:
- a
DeviceRegistrationPolicyRequestBuilder
-
featureRolloutPolicies
Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
FeatureRolloutPoliciesRequestBuilder
-
homeRealmDiscoveryPolicies
Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
HomeRealmDiscoveryPoliciesRequestBuilder
-
identitySecurityDefaultsEnforcementPolicy
@Nonnull public IdentitySecurityDefaultsEnforcementPolicyRequestBuilder identitySecurityDefaultsEnforcementPolicy()Provides operations to manage the identitySecurityDefaultsEnforcementPolicy property of the microsoft.graph.policyRoot entity. -
permissionGrantPolicies
Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
PermissionGrantPoliciesRequestBuilder
-
roleManagementPolicies
Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
RoleManagementPoliciesRequestBuilder
-
roleManagementPolicyAssignments
Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity. -
tokenIssuancePolicies
Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
TokenIssuancePoliciesRequestBuilder
-
tokenLifetimePolicies
Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.policyRoot entity.- Returns:
- a
TokenLifetimePoliciesRequestBuilder
-
get
Get policies- Returns:
- a
PolicyRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public PolicyRoot get(@Nullable Consumer<PoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get policies- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PolicyRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update policies- Parameters:
body- The request body- Returns:
- a
PolicyRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public PolicyRoot patch(@Nonnull PolicyRoot body, @Nullable Consumer<PoliciesRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update policies- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PolicyRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get policies- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) Get policies- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull PolicyRoot body) Update policies- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull PolicyRoot body, @Nullable Consumer<PoliciesRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update policies- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
PoliciesRequestBuilder
-