Package com.microsoft.graph.requests
Class PrintJobRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<PrintJob>
com.microsoft.graph.requests.PrintJobRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Print Job Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionPrintJobRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrintJob -
Method Summary
Modifier and TypeMethodDescriptionabort
(PrintJobAbortParameterSet parameters) Gets a builder to execute the methodbuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionscancel()
Gets a builder to execute the methodGets a request builder for the PrintDocument collectionGets a request builder for the PrintDocument itemredirect
(PrintJobRedirectParameterSet parameters) Gets a builder to execute the methodstart()
Gets a builder to execute the methodtasks()
Gets a request builder for the PrintTask collectionGets a request builder for the PrintTask itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
PrintJobRequestBuilder
public PrintJobRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrintJob- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public PrintJobRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the PrintJobRequest instance
-
buildRequest
@Nonnull public PrintJobRequest 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 PrintJobRequest instance
-
documents
Gets a request builder for the PrintDocument collection- Returns:
- the collection request builder
-
documents
Gets a request builder for the PrintDocument item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
tasks
Gets a request builder for the PrintTask collection- Returns:
- the collection request builder
-
tasks
Gets a request builder for the PrintTask item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
cancel
Gets a builder to execute the method- Returns:
- the request builder
-
start
Gets a builder to execute the method- Returns:
- the request builder
-
abort
Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
redirect
@Nonnull public PrintJobRedirectRequestBuilder redirect(@Nonnull PrintJobRedirectParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-