@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
addParametersEntry(String key,
JobParameter value)
Add a single Parameters entry
|
CreateJobRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
CreateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Attachments |
getAttachments()
The attachments for the job.
|
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getFarmId()
The farm ID of the farm to connect to the job.
|
Integer |
getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as
FAILED . |
Integer |
getMaxRetriesPerTask()
The maximum number of retries for a job.
|
Map<String,JobParameter> |
getParameters()
The parameters for the job.
|
Integer |
getPriority()
The priority of the job on a scale of 1 to 100.
|
String |
getQueueId()
The ID of the queue that the job is submitted to.
|
String |
getStorageProfileId()
The storage profile ID for the storage profile to connect to the job.
|
String |
getTargetTaskRunStatus()
The initial status of the job's tasks when they are created.
|
String |
getTemplate()
The job template to use for this job.
|
String |
getTemplateType()
The file type for the job template.
|
int |
hashCode() |
void |
setAttachments(Attachments attachments)
The attachments for the job.
|
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setFarmId(String farmId)
The farm ID of the farm to connect to the job.
|
void |
setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
void |
setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
|
void |
setParameters(Map<String,JobParameter> parameters)
The parameters for the job.
|
void |
setPriority(Integer priority)
The priority of the job on a scale of 1 to 100.
|
void |
setQueueId(String queueId)
The ID of the queue that the job is submitted to.
|
void |
setStorageProfileId(String storageProfileId)
The storage profile ID for the storage profile to connect to the job.
|
void |
setTargetTaskRunStatus(String targetTaskRunStatus)
The initial status of the job's tasks when they are created.
|
void |
setTemplate(String template)
The job template to use for this job.
|
void |
setTemplateType(String templateType)
The file type for the job template.
|
String |
toString()
Returns a string representation of this object.
|
CreateJobRequest |
withAttachments(Attachments attachments)
The attachments for the job.
|
CreateJobRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateJobRequest |
withFarmId(String farmId)
The farm ID of the farm to connect to the job.
|
CreateJobRequest |
withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
CreateJobRequest |
withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
|
CreateJobRequest |
withParameters(Map<String,JobParameter> parameters)
The parameters for the job.
|
CreateJobRequest |
withPriority(Integer priority)
The priority of the job on a scale of 1 to 100.
|
CreateJobRequest |
withQueueId(String queueId)
The ID of the queue that the job is submitted to.
|
CreateJobRequest |
withStorageProfileId(String storageProfileId)
The storage profile ID for the storage profile to connect to the job.
|
CreateJobRequest |
withTargetTaskRunStatus(CreateJobTargetTaskRunStatus targetTaskRunStatus)
The initial status of the job's tasks when they are created.
|
CreateJobRequest |
withTargetTaskRunStatus(String targetTaskRunStatus)
The initial status of the job's tasks when they are created.
|
CreateJobRequest |
withTemplate(String template)
The job template to use for this job.
|
CreateJobRequest |
withTemplateType(JobTemplateType templateType)
The file type for the job template.
|
CreateJobRequest |
withTemplateType(String templateType)
The file type for the job template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAttachments(Attachments attachments)
The attachments for the job. Attach files required for the job to run to a render job.
attachments
- The attachments for the job. Attach files required for the job to run to a render job.public Attachments getAttachments()
The attachments for the job. Attach files required for the job to run to a render job.
public CreateJobRequest withAttachments(Attachments attachments)
The attachments for the job. Attach files required for the job to run to a render job.
attachments
- The attachments for the job. Attach files required for the job to run to a render job.public void setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public String getClientToken()
The unique token which the server uses to recognize retries of the same request.
public CreateJobRequest withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public void setFarmId(String farmId)
The farm ID of the farm to connect to the job.
farmId
- The farm ID of the farm to connect to the job.public String getFarmId()
The farm ID of the farm to connect to the job.
public CreateJobRequest withFarmId(String farmId)
The farm ID of the farm to connect to the job.
farmId
- The farm ID of the farm to connect to the job.public void setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public Integer getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as FAILED
.
FAILED
.public CreateJobRequest withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public void setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
maxRetriesPerTask
- The maximum number of retries for a job.public Integer getMaxRetriesPerTask()
The maximum number of retries for a job.
public CreateJobRequest withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
maxRetriesPerTask
- The maximum number of retries for a job.public Map<String,JobParameter> getParameters()
The parameters for the job.
public void setParameters(Map<String,JobParameter> parameters)
The parameters for the job.
parameters
- The parameters for the job.public CreateJobRequest withParameters(Map<String,JobParameter> parameters)
The parameters for the job.
parameters
- The parameters for the job.public CreateJobRequest addParametersEntry(String key, JobParameter value)
public CreateJobRequest clearParametersEntries()
public void setPriority(Integer priority)
The priority of the job on a scale of 1 to 100. The highest priority is 1.
priority
- The priority of the job on a scale of 1 to 100. The highest priority is 1.public Integer getPriority()
The priority of the job on a scale of 1 to 100. The highest priority is 1.
public CreateJobRequest withPriority(Integer priority)
The priority of the job on a scale of 1 to 100. The highest priority is 1.
priority
- The priority of the job on a scale of 1 to 100. The highest priority is 1.public void setQueueId(String queueId)
The ID of the queue that the job is submitted to.
queueId
- The ID of the queue that the job is submitted to.public String getQueueId()
The ID of the queue that the job is submitted to.
public CreateJobRequest withQueueId(String queueId)
The ID of the queue that the job is submitted to.
queueId
- The ID of the queue that the job is submitted to.public void setStorageProfileId(String storageProfileId)
The storage profile ID for the storage profile to connect to the job.
storageProfileId
- The storage profile ID for the storage profile to connect to the job.public String getStorageProfileId()
The storage profile ID for the storage profile to connect to the job.
public CreateJobRequest withStorageProfileId(String storageProfileId)
The storage profile ID for the storage profile to connect to the job.
storageProfileId
- The storage profile ID for the storage profile to connect to the job.public void setTargetTaskRunStatus(String targetTaskRunStatus)
The initial status of the job's tasks when they are created. Tasks that are created with a SUSPENDED
status will not run until you update their status.
targetTaskRunStatus
- The initial status of the job's tasks when they are created. Tasks that are created with a
SUSPENDED
status will not run until you update their status.CreateJobTargetTaskRunStatus
public String getTargetTaskRunStatus()
The initial status of the job's tasks when they are created. Tasks that are created with a SUSPENDED
status will not run until you update their status.
SUSPENDED
status will not run until you update their status.CreateJobTargetTaskRunStatus
public CreateJobRequest withTargetTaskRunStatus(String targetTaskRunStatus)
The initial status of the job's tasks when they are created. Tasks that are created with a SUSPENDED
status will not run until you update their status.
targetTaskRunStatus
- The initial status of the job's tasks when they are created. Tasks that are created with a
SUSPENDED
status will not run until you update their status.CreateJobTargetTaskRunStatus
public CreateJobRequest withTargetTaskRunStatus(CreateJobTargetTaskRunStatus targetTaskRunStatus)
The initial status of the job's tasks when they are created. Tasks that are created with a SUSPENDED
status will not run until you update their status.
targetTaskRunStatus
- The initial status of the job's tasks when they are created. Tasks that are created with a
SUSPENDED
status will not run until you update their status.CreateJobTargetTaskRunStatus
public void setTemplate(String template)
The job template to use for this job.
template
- The job template to use for this job.public String getTemplate()
The job template to use for this job.
public CreateJobRequest withTemplate(String template)
The job template to use for this job.
template
- The job template to use for this job.public void setTemplateType(String templateType)
The file type for the job template.
templateType
- The file type for the job template.JobTemplateType
public String getTemplateType()
The file type for the job template.
JobTemplateType
public CreateJobRequest withTemplateType(String templateType)
The file type for the job template.
templateType
- The file type for the job template.JobTemplateType
public CreateJobRequest withTemplateType(JobTemplateType templateType)
The file type for the job template.
templateType
- The file type for the job template.JobTemplateType
public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()