Class SynchronizationRequestBuilder

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

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

    • SynchronizationRequestBuilder

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

      public SynchronizationRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new SynchronizationRequestBuilder 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

    • acquireAccessToken

      @Nonnull public AcquireAccessTokenRequestBuilder acquireAccessToken()
      Provides operations to call the acquireAccessToken method.
      Returns:
      a AcquireAccessTokenRequestBuilder
    • jobs

      @Nonnull public JobsRequestBuilder jobs()
      Provides operations to manage the jobs property of the microsoft.graph.synchronization entity.
      Returns:
      a JobsRequestBuilder
    • secrets

      @Nonnull public SecretsRequestBuilder secrets()
      The secrets property
      Returns:
      a SecretsRequestBuilder
    • templates

      @Nonnull public TemplatesRequestBuilder templates()
      Provides operations to manage the templates property of the microsoft.graph.synchronization entity.
      Returns:
      a TemplatesRequestBuilder
    • delete

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

      public void delete(@Nullable Consumer<SynchronizationRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property synchronization 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 Synchronization get()
      Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
      Returns:
      a Synchronization
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • get

      @Nullable public Synchronization get(@Nullable Consumer<SynchronizationRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Synchronization
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
    • put

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

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

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

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SynchronizationRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete navigation property synchronization 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()
      Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SynchronizationRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • toPutRequestInformation

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

      @Nonnull public com.microsoft.kiota.RequestInformation toPutRequestInformation(@Nonnull Synchronization body, @Nullable Consumer<SynchronizationRequestBuilder.PutRequestConfiguration> requestConfiguration)
      Update the navigation property synchronization 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 SynchronizationRequestBuilder 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 SynchronizationRequestBuilder