Class PrinterRequestBuilder

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

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

    • PrinterRequestBuilder

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

    • buildRequest

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

      @Nonnull public PrinterRequest 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 PrinterRequest instance
    • jobs

      @Nonnull public PrintJobCollectionRequestBuilder jobs()
      Gets a request builder for the PrintJob collection
      Returns:
      the collection request builder
    • jobs

      @Nonnull public PrintJobRequestBuilder jobs(@Nonnull String id)
      Gets a request builder for the PrintJob item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • connectors

      Gets a request builder for the PrintConnector collection
      Returns:
      the collection request builder
    • connectors

      @Nonnull public PrintConnectorWithReferenceRequestBuilder connectors(@Nonnull String id)
      Gets a request builder for the PrintConnector item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • shares

      Gets a request builder for the PrinterShare collection
      Returns:
      the collection request builder
    • shares

      @Nonnull public PrinterShareWithReferenceRequestBuilder shares(@Nonnull String id)
      Gets a request builder for the PrinterShare item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • taskTriggers

      @Nonnull public PrintTaskTriggerCollectionRequestBuilder taskTriggers()
      Gets a request builder for the PrintTaskTrigger collection
      Returns:
      the collection request builder
    • taskTriggers

      @Nonnull public PrintTaskTriggerRequestBuilder taskTriggers(@Nonnull String id)
      Gets a request builder for the PrintTaskTrigger item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • restoreFactoryDefaults

      @Nonnull public PrinterRestoreFactoryDefaultsRequestBuilder restoreFactoryDefaults()
      Gets a builder to execute the method
      Returns:
      the request builder