Class SegmentRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Segment>
com.microsoft.graph.callrecords.requests.SegmentRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class SegmentRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<Segment>
The class for the Segment Request Builder.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SegmentRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions)
    The request builder for the Segment
  • Method Summary

    Modifier and Type
    Method
    Description
    buildRequest(com.microsoft.graph.options.Option... requestOptions)
    Creates the request
    buildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions)
    Creates the request with specific requestOptions instead of the existing requestOptions

    Methods inherited from class com.microsoft.graph.http.BaseRequestBuilder

    getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SegmentRequestBuilder

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

    • buildRequest

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

      @Nonnull public SegmentRequest 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 SegmentRequest instance