Class IncidentRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Incident>
com.microsoft.graph.security.requests.IncidentRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class IncidentRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Incident>
The class for the Incident Request Builder.
  • Constructor Details

    • IncidentRequestBuilder

      public IncidentRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request builder for the Incident
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • buildRequest

      @Nonnull public IncidentRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions)
      Creates the request
      Parameters:
      requestOptions - the options for this request
      Returns:
      the IncidentRequest instance
    • buildRequest

      @Nonnull public IncidentRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions)
      Creates the request with specific requestOptions instead of the existing requestOptions
      Parameters:
      requestOptions - the options for this request
      Returns:
      the IncidentRequest instance
    • alerts

      Gets a request builder for the Alert collection
      Returns:
      the collection request builder
    • alerts

      @Nonnull public AlertWithReferenceRequestBuilder alerts(@Nonnull String id)
      Gets a request builder for the Alert item
      Parameters:
      id - the item identifier
      Returns:
      the request builder