Class ServicePrincipalAddKeyRequestBuilder

java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<T>
com.microsoft.graph.http.BaseActionRequestBuilder<KeyCredential>
com.microsoft.graph.requests.ServicePrincipalAddKeyRequestBuilder
All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder

public class ServicePrincipalAddKeyRequestBuilder extends com.microsoft.graph.http.BaseActionRequestBuilder<KeyCredential>
The class for the Service Principal Add Key Request Builder.
  • Constructor Details

    • ServicePrincipalAddKeyRequestBuilder

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

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

    • buildRequest

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

      @Nonnull public ServicePrincipalAddKeyRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions)
      Creates the ServicePrincipalAddKeyRequest with specific requestOptions instead of the existing requestOptions
      Parameters:
      requestOptions - the options for the request
      Returns:
      the ServicePrincipalAddKeyRequest instance