Class DeviceAndAppManagementRoleDefinitionRequestBuilder

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

public class DeviceAndAppManagementRoleDefinitionRequestBuilder extends com.microsoft.graph.http.BaseRequestBuilder<DeviceAndAppManagementRoleDefinition>
The class for the Device And App Management Role Definition Request Builder.
  • Constructor Details

    • DeviceAndAppManagementRoleDefinitionRequestBuilder

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

    • buildRequest

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

      @Nonnull public DeviceAndAppManagementRoleDefinitionRequest 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 DeviceAndAppManagementRoleDefinitionRequest instance
    • roleAssignments

      @Nonnull public RoleAssignmentCollectionRequestBuilder roleAssignments()
      Gets a request builder for the RoleAssignment collection
      Returns:
      the collection request builder
    • roleAssignments

      @Nonnull public RoleAssignmentRequestBuilder roleAssignments(@Nonnull String id)
      Gets a request builder for the RoleAssignment item
      Parameters:
      id - the item identifier
      Returns:
      the request builder