Class DataSecurityAndGovernanceRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.datasecurityandgovernance.DataSecurityAndGovernanceRequestBuilder
@Generated("com.microsoft.kiota")
public class DataSecurityAndGovernanceRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet dataSecurityAndGovernance from securityclassConfiguration 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
ConstructorsConstructorDescriptionDataSecurityAndGovernanceRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDataSecurityAndGovernanceRequestBuilderand sets the default values.DataSecurityAndGovernanceRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDataSecurityAndGovernanceRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property dataSecurityAndGovernance for securityvoiddelete(Consumer<DataSecurityAndGovernanceRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property dataSecurityAndGovernance for securityget()Get dataSecurityAndGovernance from securityget(Consumer<DataSecurityAndGovernanceRequestBuilder.GetRequestConfiguration> requestConfiguration) Get dataSecurityAndGovernance from securityUpdate the navigation property dataSecurityAndGovernance in securitypatch(TenantDataSecurityAndGovernance body, Consumer<DataSecurityAndGovernanceRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property dataSecurityAndGovernance in securityProvides operations to call the processContentAsync method.Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity.Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.com.microsoft.kiota.RequestInformationDelete navigation property dataSecurityAndGovernance for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<DataSecurityAndGovernanceRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property dataSecurityAndGovernance for securitycom.microsoft.kiota.RequestInformationGet dataSecurityAndGovernance from securitycom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<DataSecurityAndGovernanceRequestBuilder.GetRequestConfiguration> requestConfiguration) Get dataSecurityAndGovernance from securitycom.microsoft.kiota.RequestInformationUpdate the navigation property dataSecurityAndGovernance in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(TenantDataSecurityAndGovernance body, Consumer<DataSecurityAndGovernanceRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property dataSecurityAndGovernance in securityReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
DataSecurityAndGovernanceRequestBuilder
public DataSecurityAndGovernanceRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDataSecurityAndGovernanceRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
DataSecurityAndGovernanceRequestBuilder
public DataSecurityAndGovernanceRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newDataSecurityAndGovernanceRequestBuilderand 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
-
processContentAsync
Provides operations to call the processContentAsync method.- Returns:
- a
ProcessContentAsyncRequestBuilder
-
protectionScopes
Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity.- Returns:
- a
ProtectionScopesRequestBuilder
-
sensitivityLabels
Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.- Returns:
- a
SensitivityLabelsRequestBuilder
-
delete
public void delete()Delete navigation property dataSecurityAndGovernance for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property dataSecurityAndGovernance for security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Get dataSecurityAndGovernance from security- Returns:
- a
TenantDataSecurityAndGovernance - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public TenantDataSecurityAndGovernance get(@Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.GetRequestConfiguration> requestConfiguration) Get dataSecurityAndGovernance from security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TenantDataSecurityAndGovernance - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public TenantDataSecurityAndGovernance patch(@Nonnull TenantDataSecurityAndGovernance body) Update the navigation property dataSecurityAndGovernance in security- Parameters:
body- The request body- Returns:
- a
TenantDataSecurityAndGovernance - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public TenantDataSecurityAndGovernance patch(@Nonnull TenantDataSecurityAndGovernance body, @Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property dataSecurityAndGovernance in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TenantDataSecurityAndGovernance - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property dataSecurityAndGovernance for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property dataSecurityAndGovernance for security- 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()Get dataSecurityAndGovernance from security- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.GetRequestConfiguration> requestConfiguration) Get dataSecurityAndGovernance from security- 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 TenantDataSecurityAndGovernance body) Update the navigation property dataSecurityAndGovernance in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull TenantDataSecurityAndGovernance body, @Nullable Consumer<DataSecurityAndGovernanceRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property dataSecurityAndGovernance in security- 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
DataSecurityAndGovernanceRequestBuilder
-