Class SynchronizationJobItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.serviceprincipals.item.synchronization.jobs.item.SynchronizationJobItemRequestBuilder
@Generated("com.microsoft.kiota")
public class SynchronizationJobItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the jobs property of the microsoft.graph.synchronization entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the existing synchronization job and its properties.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionSynchronizationJobItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationJobItemRequestBuilderand sets the default values.SynchronizationJobItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationJobItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity.voiddelete()Stop the synchronization job, and permanently delete all the state associated with it.voiddelete(Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Stop the synchronization job, and permanently delete all the state associated with it.get()Retrieve the existing synchronization job and its properties.get(Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the existing synchronization job and its properties.patch(SynchronizationJob body) Update the navigation property jobs in servicePrincipalspatch(SynchronizationJob body, Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property jobs in servicePrincipalspause()Provides operations to call the pause method.Provides operations to call the provisionOnDemand method.restart()Provides operations to call the restart method.schema()Provides operations to manage the schema property of the microsoft.graph.synchronizationJob entity.start()Provides operations to call the start method.com.microsoft.kiota.RequestInformationStop the synchronization job, and permanently delete all the state associated with it.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Stop the synchronization job, and permanently delete all the state associated with it.com.microsoft.kiota.RequestInformationRetrieve the existing synchronization job and its properties.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the existing synchronization job and its properties.com.microsoft.kiota.RequestInformationUpdate the navigation property jobs in servicePrincipalscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(SynchronizationJob body, Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property jobs in servicePrincipalsProvides operations to call the validateCredentials method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SynchronizationJobItemRequestBuilder
public SynchronizationJobItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationJobItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SynchronizationJobItemRequestBuilder
public SynchronizationJobItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSynchronizationJobItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
bulkUpload
Provides operations to manage the bulkUpload property of the microsoft.graph.synchronizationJob entity.- Returns:
- a
BulkUploadRequestBuilder
-
pause
Provides operations to call the pause method.- Returns:
- a
PauseRequestBuilder
-
provisionOnDemand
Provides operations to call the provisionOnDemand method.- Returns:
- a
ProvisionOnDemandRequestBuilder
-
restart
Provides operations to call the restart method.- Returns:
- a
RestartRequestBuilder
-
schema
Provides operations to manage the schema property of the microsoft.graph.synchronizationJob entity.- Returns:
- a
SchemaRequestBuilder
-
start
Provides operations to call the start method.- Returns:
- a
StartRequestBuilder
-
validateCredentials
Provides operations to call the validateCredentials method.- Returns:
- a
ValidateCredentialsRequestBuilder
-
delete
public void delete()Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Retrieve the existing synchronization job and its properties.- Returns:
- a
SynchronizationJob - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public SynchronizationJob get(@Nullable Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the existing synchronization job and its properties.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SynchronizationJob - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property jobs in servicePrincipals- Parameters:
body- The request body- Returns:
- a
SynchronizationJob - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public SynchronizationJob patch(@Nonnull SynchronizationJob body, @Nullable Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property jobs in servicePrincipals- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SynchronizationJob - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<SynchronizationJobItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve the existing synchronization job and its properties.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SynchronizationJobItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the existing synchronization job and its properties.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationJob body) Update the navigation property jobs in servicePrincipals- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull SynchronizationJob body, @Nullable Consumer<SynchronizationJobItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property jobs in servicePrincipals- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
SynchronizationJobItemRequestBuilder
-