public class AdminAlterJobsRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminAlterJobs.
 Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AdminAlterJobsRequest.ActionA set of string constants for the  AdminAlterJobsRequestparameteraction. | 
| static class  | AdminAlterJobsRequest.OptionsA set of string constants for the  AdminAlterJobsRequestparameteroptions. | 
| Constructor and Description | 
|---|
| AdminAlterJobsRequest()Constructs an AdminAlterJobsRequest object with default parameters. | 
| AdminAlterJobsRequest(List<Long> jobIds,
                     String action,
                     Map<String,String> options)Constructs an AdminAlterJobsRequest object with the specified
 parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| Object | get(int index)This method supports the Avro framework and is not intended to be called
 directly by the user. | 
| String | getAction()Action to be performed on the jobs specified by job_ids. | 
| static org.apache.avro.Schema | getClassSchema()This method supports the Avro framework and is not intended to be called
 directly by the user. | 
| List<Long> | getJobIds()Jobs to be modified. | 
| Map<String,String> | getOptions()Optional parameters. | 
| org.apache.avro.Schema | getSchema()This method supports the Avro framework and is not intended to be called
 directly by the user. | 
| int | hashCode() | 
| void | put(int index,
   Object value)This method supports the Avro framework and is not intended to be called
 directly by the user. | 
| AdminAlterJobsRequest | setAction(String action)Action to be performed on the jobs specified by job_ids. | 
| AdminAlterJobsRequest | setJobIds(List<Long> jobIds)Jobs to be modified. | 
| AdminAlterJobsRequest | setOptions(Map<String,String> options)Optional parameters. | 
| String | toString() | 
public AdminAlterJobsRequest()
public static org.apache.avro.Schema getClassSchema()
public AdminAlterJobsRequest setJobIds(List<Long> jobIds)
jobIds - The new value for jobIds.this to mimic the builder pattern.public String getAction()
action.public AdminAlterJobsRequest setAction(String action)
action - The new value for action.this to mimic the builder pattern.public Map<String,String> getOptions()
JOB_TAG: Job tag returned in call to
         create the job
 Map.options.public AdminAlterJobsRequest setOptions(Map<String,String> options)
JOB_TAG: Job tag returned in call to
         create the job
 Map.options - The new value for options.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
                Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2025. All rights reserved.