Class SynchronizationJobItemRequestBuilder

java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.applications.item.synchronization.jobs.item.SynchronizationJobItemRequestBuilder

@Generated("com.microsoft.kiota") public class SynchronizationJobItemRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the jobs property of the microsoft.graph.synchronization entity.
  • Constructor Details

    • SynchronizationJobItemRequestBuilder

      public SynchronizationJobItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SynchronizationJobItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • SynchronizationJobItemRequestBuilder

      public SynchronizationJobItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SynchronizationJobItemRequestBuilder and sets the default values.
      Parameters:
      rawUrl - The raw URL to use for the request builder.
      requestAdapter - The request adapter to use to execute the requests.
  • Method Details

    • bulkUpload

      @Nonnull public BulkUploadRequestBuilder bulkUpload()
      Provides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity.
      Returns:
      a BulkUploadRequestBuilder
    • pause

      @Nonnull public PauseRequestBuilder pause()
      Provides operations to call the pause method.
      Returns:
      a PauseRequestBuilder
    • provisionOnDemand

      @Nonnull public ProvisionOnDemandRequestBuilder provisionOnDemand()
      Provides operations to call the provisionOnDemand method.
      Returns:
      a ProvisionOnDemandRequestBuilder
    • restart

      @Nonnull public RestartRequestBuilder restart()
      Provides operations to call the restart method.
      Returns:
      a RestartRequestBuilder
    • schema

      @Nonnull public SchemaRequestBuilder schema()
      Provides operations to manage the schema property of the microsoft.graph.synchronizationJob entity.
      Returns:
      a SchemaRequestBuilder
    • start

      @Nonnull public StartRequestBuilder start()
      Provides operations to call the start method.
      Returns:
      a StartRequestBuilder
    • validateCredentials

      @Nonnull public ValidateCredentialsRequestBuilder validateCredentials()
      Provides operations to call the validateCredentials method.
      Returns:
      a ValidateCredentialsRequestBuilder
    • delete

      public void delete()
      Delete navigation property jobs for applications
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • delete

      public void delete(@Nullable Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property jobs for applications
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public SynchronizationJob get()
      Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.
      Returns:
      a SynchronizationJob
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public SynchronizationJob get(@Nullable Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a SynchronizationJob
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public SynchronizationJob patch(@Nonnull SynchronizationJob body)
      Update the navigation property jobs in applications
      Parameters:
      body - The request body
      Returns:
      a SynchronizationJob
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • patch

      @Nullable public SynchronizationJob patch(@Nonnull SynchronizationJob body, @Nullable Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property jobs in applications
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a SynchronizationJob
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete navigation property jobs for applications
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property jobs for applications
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()
      Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationJob body)
      Update the navigation property jobs in applications
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationJob body, @Nullable Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the navigation property jobs in applications
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public SynchronizationJobItemRequestBuilder withUrl(@Nonnull String rawUrl)
      Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
      Parameters:
      rawUrl - The raw URL to use for the request builder.
      Returns:
      a SynchronizationJobItemRequestBuilder