Class AuthenticationStrengthPolicyItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.policies.authenticationstrengthpolicies.item.AuthenticationStrengthPolicyItemRequestBuilder
@Generated("com.microsoft.kiota")
public class AuthenticationStrengthPolicyItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of an authenticationStrengthPolicy object.classConfiguration 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
ConstructorsConstructorDescriptionAuthenticationStrengthPolicyItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationStrengthPolicyItemRequestBuilderand sets the default values.AuthenticationStrengthPolicyItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationStrengthPolicyItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity.voiddelete()Delete a custom authenticationStrengthPolicy object.voiddelete(Consumer<AuthenticationStrengthPolicyItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a custom authenticationStrengthPolicy object.get()Read the properties and relationships of an authenticationStrengthPolicy object.get(Consumer<AuthenticationStrengthPolicyItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an authenticationStrengthPolicy object.Update the properties of an authenticationStrengthPolicy object.patch(AuthenticationStrengthPolicy body, Consumer<AuthenticationStrengthPolicyItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationDelete a custom authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<AuthenticationStrengthPolicyItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a custom authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationRead the properties and relationships of an authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<AuthenticationStrengthPolicyItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationUpdate the properties of an authenticationStrengthPolicy object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(AuthenticationStrengthPolicy body, Consumer<AuthenticationStrengthPolicyItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an authenticationStrengthPolicy object.Provides operations to call the updateAllowedCombinations method.usage()Provides operations to call the usage method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
AuthenticationStrengthPolicyItemRequestBuilder
public AuthenticationStrengthPolicyItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationStrengthPolicyItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
AuthenticationStrengthPolicyItemRequestBuilder
public AuthenticationStrengthPolicyItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newAuthenticationStrengthPolicyItemRequestBuilderand 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
-
combinationConfigurations
Provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity.- Returns:
- a
CombinationConfigurationsRequestBuilder
-
updateAllowedCombinations
Provides operations to call the updateAllowedCombinations method.- Returns:
- a
UpdateAllowedCombinationsRequestBuilder
-
usage
Provides operations to call the usage method.- Returns:
- a
UsageRequestBuilder
-
delete
public void delete()Delete a custom authenticationStrengthPolicy object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a custom authenticationStrengthPolicy object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Read the properties and relationships of an authenticationStrengthPolicy object.- Returns:
- a
AuthenticationStrengthPolicy - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public AuthenticationStrengthPolicy get(@Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an authenticationStrengthPolicy object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuthenticationStrengthPolicy - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.- Parameters:
body- The request body- Returns:
- a
AuthenticationStrengthPolicy - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public AuthenticationStrengthPolicy patch(@Nonnull AuthenticationStrengthPolicy body, @Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
AuthenticationStrengthPolicy - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a custom authenticationStrengthPolicy object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a custom authenticationStrengthPolicy object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read the properties and relationships of an authenticationStrengthPolicy object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an authenticationStrengthPolicy object.- 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 AuthenticationStrengthPolicy body) Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull AuthenticationStrengthPolicy body, @Nullable Consumer<AuthenticationStrengthPolicyItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action.- 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
AuthenticationStrengthPolicyItemRequestBuilder
-