Package com.veeva.vault.sdk.api.job
Interface JobCancelRequest.Builder
- Enclosing interface:
- JobCancelRequest
public static interface JobCancelRequest.Builder
Creates a new instance of
JobCancelRequest
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Validates and returns the completedJobCancelRequest
.Required: Sets the ID of the job instance to cancel.
-
Method Details
-
withId
Required: Sets the ID of the job instance to cancel.- Parameters:
jobId
- a String containing thejobInstanceId
of the job instance to cancel. Cannot be null.- Returns:
- this Builder
-
build
JobCancelRequest build()Validates and returns the completedJobCancelRequest
.- Returns:
- the completed JobCancelRequest
-