Class WindowsProtectionStateRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<WindowsProtectionState>
com.microsoft.graph.requests.WindowsProtectionStateRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class WindowsProtectionStateRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<WindowsProtectionState>
The class for the Windows Protection State Request Builder.
  • Constructor Details

    • WindowsProtectionStateRequestBuilder

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

    • buildRequest

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

      @Nonnull public WindowsProtectionStateRequest 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 WindowsProtectionStateRequest instance
    • detectedMalwareState

      @Nonnull public WindowsDeviceMalwareStateCollectionRequestBuilder detectedMalwareState()
      Gets a request builder for the WindowsDeviceMalwareState collection
      Returns:
      the collection request builder
    • detectedMalwareState

      @Nonnull public WindowsDeviceMalwareStateRequestBuilder detectedMalwareState(@Nonnull String id)
      Gets a request builder for the WindowsDeviceMalwareState item
      Parameters:
      id - the item identifier
      Returns:
      the request builder