Class PresenceRequestBuilder

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

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

    • PresenceRequestBuilder

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

    • buildRequest

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

      @Nonnull public PresenceRequest 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 PresenceRequest instance
    • clearPresence

      @Nonnull public PresenceClearPresenceRequestBuilder clearPresence(@Nonnull PresenceClearPresenceParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • clearUserPreferredPresence

      @Nonnull public PresenceClearUserPreferredPresenceRequestBuilder clearUserPreferredPresence()
      Gets a builder to execute the method
      Returns:
      the request builder
    • setPresence

      @Nonnull public PresenceSetPresenceRequestBuilder setPresence(@Nonnull PresenceSetPresenceParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder
    • setUserPreferredPresence

      @Nonnull public PresenceSetUserPreferredPresenceRequestBuilder setUserPreferredPresence(@Nonnull PresenceSetUserPreferredPresenceParameterSet parameters)
      Gets a builder to execute the method
      Parameters:
      parameters - the parameters for the service method
      Returns:
      the request builder