Class FileAttachmentRequestBuilder

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

public class FileAttachmentRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<FileAttachment>
The class for the File Attachment Request Builder.
  • Constructor Details

    • FileAttachmentRequestBuilder

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

    • buildRequest

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

      @Nonnull public FileAttachmentRequest 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 FileAttachmentRequest instance
    • content

      @Nonnull public FileAttachmentStreamRequestBuilder content()
      Gets a request builder to get the binary value of the object
      Returns:
      the stream request builder