public class SubmitJobRequest extends AbstractModel
Constructor and Description |
---|
SubmitJobRequest() |
SubmitJobRequest(SubmitJobRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientToken()
Get The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests.
|
Job |
getJob()
Get Job information
|
Placement |
getPlacement()
Get Location information of the submitted job.
|
void |
setClientToken(String ClientToken)
Set The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests.
|
void |
setJob(Job Job)
Set Job information
|
void |
setPlacement(Placement Placement)
Set Location information of the submitted job.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SubmitJobRequest()
public SubmitJobRequest(SubmitJobRequest source)
public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- Location information of the submitted job. This parameter allows you to specify information such as the availability zone of the CVM instance with which the job is associated.public Job getJob()
public void setJob(Job Job)
Job
- Job informationpublic String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.Copyright © 2021. All rights reserved.