Class IdentityProtectionRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identityprotection.IdentityProtectionRequestBuilder
@Generated("com.microsoft.kiota")
public class IdentityProtectionRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the identityProtectionRoot singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet identityProtectionclassConfiguration 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
ConstructorsConstructorDescriptionIdentityProtectionRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityProtectionRequestBuilderand sets the default values.IdentityProtectionRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityProtectionRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Get identityProtectionget(Consumer<IdentityProtectionRequestBuilder.GetRequestConfiguration> requestConfiguration) Get identityProtectionpatch(IdentityProtectionRoot body) Update identityProtectionpatch(IdentityProtectionRoot body, Consumer<IdentityProtectionRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update identityProtectionProvides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity.Provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity.Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity.Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity.com.microsoft.kiota.RequestInformationGet identityProtectioncom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<IdentityProtectionRequestBuilder.GetRequestConfiguration> requestConfiguration) Get identityProtectioncom.microsoft.kiota.RequestInformationUpdate identityProtectioncom.microsoft.kiota.RequestInformationtoPatchRequestInformation(IdentityProtectionRoot body, Consumer<IdentityProtectionRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update identityProtectionReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
IdentityProtectionRequestBuilder
public IdentityProtectionRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityProtectionRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
IdentityProtectionRequestBuilder
public IdentityProtectionRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newIdentityProtectionRequestBuilderand 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
-
riskDetections
Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity.- Returns:
- a
RiskDetectionsRequestBuilder
-
riskyServicePrincipals
Provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity.- Returns:
- a
RiskyServicePrincipalsRequestBuilder
-
riskyUsers
Provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity.- Returns:
- a
RiskyUsersRequestBuilder
-
servicePrincipalRiskDetections
Provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity.- Returns:
- a
ServicePrincipalRiskDetectionsRequestBuilder
-
get
Get identityProtection- Returns:
- a
IdentityProtectionRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public IdentityProtectionRoot get(@Nullable Consumer<IdentityProtectionRequestBuilder.GetRequestConfiguration> requestConfiguration) Get identityProtection- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
IdentityProtectionRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update identityProtection- Parameters:
body- The request body- Returns:
- a
IdentityProtectionRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public IdentityProtectionRoot patch(@Nonnull IdentityProtectionRoot body, @Nullable Consumer<IdentityProtectionRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update identityProtection- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
IdentityProtectionRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get identityProtection- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<IdentityProtectionRequestBuilder.GetRequestConfiguration> requestConfiguration) Get identityProtection- 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 IdentityProtectionRoot body) Update identityProtection- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull IdentityProtectionRoot body, @Nullable Consumer<IdentityProtectionRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update identityProtection- 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
IdentityProtectionRequestBuilder
-