Class PrinterShareRequestBuilder

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

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

    • PrinterShareRequestBuilder

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

    • buildRequest

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

      @Nonnull public PrinterShareRequest 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 PrinterShareRequest 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
    • allowedGroups

      @Nonnull public GroupCollectionWithReferencesRequestBuilder allowedGroups()
      Gets a request builder for the Group collection
      Returns:
      the collection request builder
    • allowedGroups

      @Nonnull public GroupWithReferenceRequestBuilder allowedGroups(@Nonnull String id)
      Gets a request builder for the Group item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • allowedUsers

      @Nonnull public UserCollectionWithReferencesRequestBuilder allowedUsers()
      Gets a request builder for the User collection
      Returns:
      the collection request builder
    • allowedUsers

      @Nonnull public UserWithReferenceRequestBuilder allowedUsers(@Nonnull String id)
      Gets a request builder for the User item
      Parameters:
      id - the item identifier
      Returns:
      the request builder
    • printer

      @Nonnull public PrinterWithReferenceRequestBuilder printer()
      Gets the request builder for Printer
      Returns:
      the PrinterWithReferenceRequestBuilder instance