Package com.microsoft.graph.security
Class SecurityRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.SecurityRequestBuilder
@Generated("com.microsoft.kiota")
public class SecurityRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the security singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet 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
ConstructorsConstructorDescriptionSecurityRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSecurityRequestBuilderand sets the default values.SecurityRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSecurityRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionalerts()Provides operations to manage the alerts property of the microsoft.graph.security entity.alertsV2()Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity.Provides operations to manage the attackSimulation property of the microsoft.graph.security entity.cases()Provides operations to manage the cases property of the microsoft.graph.security entity.Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity.get()Get securityget(Consumer<SecurityRequestBuilder.GetRequestConfiguration> requestConfiguration) Get securityProvides operations to manage the identities property of the microsoft.graph.security entity.Provides operations to manage the incidents property of the microsoft.graph.security entity.labels()Provides operations to manage the labels property of the microsoft.graph.security entity.Provides operations to call the runHuntingQuery method.Update securitypatch(Security body, Consumer<SecurityRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update securityProvides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity.Provides operations to manage the secureScores property of the microsoft.graph.security entity.Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity.Provides operations to manage the threatIntelligence property of the microsoft.graph.security entity.com.microsoft.kiota.RequestInformationGet securitycom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SecurityRequestBuilder.GetRequestConfiguration> requestConfiguration) Get securitycom.microsoft.kiota.RequestInformationUpdate securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Security body, Consumer<SecurityRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update securitytriggers()Provides operations to manage the triggers property of the microsoft.graph.security entity.Provides operations to manage the triggerTypes property of the microsoft.graph.security entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SecurityRequestBuilder
public SecurityRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSecurityRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SecurityRequestBuilder
public SecurityRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSecurityRequestBuilderand 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
-
alerts
Provides operations to manage the alerts property of the microsoft.graph.security entity.- Returns:
- a
AlertsRequestBuilder
-
alertsV2
Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity.- Returns:
- a
AlertsV2RequestBuilder
-
attackSimulation
Provides operations to manage the attackSimulation property of the microsoft.graph.security entity.- Returns:
- a
AttackSimulationRequestBuilder
-
cases
Provides operations to manage the cases property of the microsoft.graph.security entity.- Returns:
- a
CasesRequestBuilder
-
dataSecurityAndGovernance
Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity.- Returns:
- a
DataSecurityAndGovernanceRequestBuilder
-
identities
Provides operations to manage the identities property of the microsoft.graph.security entity.- Returns:
- a
IdentitiesRequestBuilder
-
incidents
Provides operations to manage the incidents property of the microsoft.graph.security entity.- Returns:
- a
IncidentsRequestBuilder
-
labels
Provides operations to manage the labels property of the microsoft.graph.security entity.- Returns:
- a
LabelsRequestBuilder
-
microsoftGraphSecurityRunHuntingQuery
@Nonnull public MicrosoftGraphSecurityRunHuntingQueryRequestBuilder microsoftGraphSecurityRunHuntingQuery()Provides operations to call the runHuntingQuery method. -
secureScoreControlProfiles
Provides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity.- Returns:
- a
SecureScoreControlProfilesRequestBuilder
-
secureScores
Provides operations to manage the secureScores property of the microsoft.graph.security entity.- Returns:
- a
SecureScoresRequestBuilder
-
subjectRightsRequests
Provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity.- Returns:
- a
SubjectRightsRequestsRequestBuilder
-
threatIntelligence
Provides operations to manage the threatIntelligence property of the microsoft.graph.security entity.- Returns:
- a
ThreatIntelligenceRequestBuilder
-
triggers
Provides operations to manage the triggers property of the microsoft.graph.security entity.- Returns:
- a
TriggersRequestBuilder
-
triggerTypes
Provides operations to manage the triggerTypes property of the microsoft.graph.security entity.- Returns:
- a
TriggerTypesRequestBuilder
-
get
Get security- Returns:
- a
Security - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Security get(@Nullable Consumer<SecurityRequestBuilder.GetRequestConfiguration> requestConfiguration) Get security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Security - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update security- Parameters:
body- The request body- Returns:
- a
Security - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Security patch(@Nonnull Security body, @Nullable Consumer<SecurityRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Security - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get security- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SecurityRequestBuilder.GetRequestConfiguration> requestConfiguration) Get 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 Security body) Update security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Security body, @Nullable Consumer<SecurityRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update 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
SecurityRequestBuilder
-