@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartJobRunRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartJobRunRequest() |
Modifier and Type | Method and Description |
---|---|
StartJobRunRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StartJobRunRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
StartJobRunRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application on which to run the job.
|
String |
getClientToken()
The client idempotency token of the job run to start.
|
ConfigurationOverrides |
getConfigurationOverrides()
The configuration overrides for the job run.
|
String |
getExecutionRoleArn()
The execution role ARN for the job run.
|
Long |
getExecutionTimeoutMinutes()
The maximum duration for the job run to run.
|
JobDriver |
getJobDriver()
The job driver for the job run.
|
String |
getMode()
The mode of the job run when it starts.
|
String |
getName()
The optional job run name.
|
RetryPolicy |
getRetryPolicy()
The retry policy when job run starts.
|
Map<String,String> |
getTags()
The tags assigned to the job run.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application on which to run the job.
|
void |
setClientToken(String clientToken)
The client idempotency token of the job run to start.
|
void |
setConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration overrides for the job run.
|
void |
setExecutionRoleArn(String executionRoleArn)
The execution role ARN for the job run.
|
void |
setExecutionTimeoutMinutes(Long executionTimeoutMinutes)
The maximum duration for the job run to run.
|
void |
setJobDriver(JobDriver jobDriver)
The job driver for the job run.
|
void |
setMode(String mode)
The mode of the job run when it starts.
|
void |
setName(String name)
The optional job run name.
|
void |
setRetryPolicy(RetryPolicy retryPolicy)
The retry policy when job run starts.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the job run.
|
String |
toString()
Returns a string representation of this object.
|
StartJobRunRequest |
withApplicationId(String applicationId)
The ID of the application on which to run the job.
|
StartJobRunRequest |
withClientToken(String clientToken)
The client idempotency token of the job run to start.
|
StartJobRunRequest |
withConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration overrides for the job run.
|
StartJobRunRequest |
withExecutionRoleArn(String executionRoleArn)
The execution role ARN for the job run.
|
StartJobRunRequest |
withExecutionTimeoutMinutes(Long executionTimeoutMinutes)
The maximum duration for the job run to run.
|
StartJobRunRequest |
withJobDriver(JobDriver jobDriver)
The job driver for the job run.
|
StartJobRunRequest |
withMode(JobRunMode mode)
The mode of the job run when it starts.
|
StartJobRunRequest |
withMode(String mode)
The mode of the job run when it starts.
|
StartJobRunRequest |
withName(String name)
The optional job run name.
|
StartJobRunRequest |
withRetryPolicy(RetryPolicy retryPolicy)
The retry policy when job run starts.
|
StartJobRunRequest |
withTags(Map<String,String> tags)
The tags assigned to the job run.
|
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 setApplicationId(String applicationId)
The ID of the application on which to run the job.
applicationId
- The ID of the application on which to run the job.public String getApplicationId()
The ID of the application on which to run the job.
public StartJobRunRequest withApplicationId(String applicationId)
The ID of the application on which to run the job.
applicationId
- The ID of the application on which to run the job.public void setClientToken(String clientToken)
The client idempotency token of the job run to start. Its value must be unique for each request.
clientToken
- The client idempotency token of the job run to start. Its value must be unique for each request.public String getClientToken()
The client idempotency token of the job run to start. Its value must be unique for each request.
public StartJobRunRequest withClientToken(String clientToken)
The client idempotency token of the job run to start. Its value must be unique for each request.
clientToken
- The client idempotency token of the job run to start. Its value must be unique for each request.public void setExecutionRoleArn(String executionRoleArn)
The execution role ARN for the job run.
executionRoleArn
- The execution role ARN for the job run.public String getExecutionRoleArn()
The execution role ARN for the job run.
public StartJobRunRequest withExecutionRoleArn(String executionRoleArn)
The execution role ARN for the job run.
executionRoleArn
- The execution role ARN for the job run.public void setJobDriver(JobDriver jobDriver)
The job driver for the job run.
jobDriver
- The job driver for the job run.public JobDriver getJobDriver()
The job driver for the job run.
public StartJobRunRequest withJobDriver(JobDriver jobDriver)
The job driver for the job run.
jobDriver
- The job driver for the job run.public void setConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration overrides for the job run.
configurationOverrides
- The configuration overrides for the job run.public ConfigurationOverrides getConfigurationOverrides()
The configuration overrides for the job run.
public StartJobRunRequest withConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration overrides for the job run.
configurationOverrides
- The configuration overrides for the job run.public Map<String,String> getTags()
The tags assigned to the job run.
public void setTags(Map<String,String> tags)
The tags assigned to the job run.
tags
- The tags assigned to the job run.public StartJobRunRequest withTags(Map<String,String> tags)
The tags assigned to the job run.
tags
- The tags assigned to the job run.public StartJobRunRequest addTagsEntry(String key, String value)
public StartJobRunRequest clearTagsEntries()
public void setExecutionTimeoutMinutes(Long executionTimeoutMinutes)
The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
executionTimeoutMinutes
- The maximum duration for the job run to run. If the job run runs beyond this duration, it will be
automatically cancelled.public Long getExecutionTimeoutMinutes()
The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
public StartJobRunRequest withExecutionTimeoutMinutes(Long executionTimeoutMinutes)
The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
executionTimeoutMinutes
- The maximum duration for the job run to run. If the job run runs beyond this duration, it will be
automatically cancelled.public void setName(String name)
The optional job run name. This doesn't have to be unique.
name
- The optional job run name. This doesn't have to be unique.public String getName()
The optional job run name. This doesn't have to be unique.
public StartJobRunRequest withName(String name)
The optional job run name. This doesn't have to be unique.
name
- The optional job run name. This doesn't have to be unique.public void setMode(String mode)
The mode of the job run when it starts.
mode
- The mode of the job run when it starts.JobRunMode
public String getMode()
The mode of the job run when it starts.
JobRunMode
public StartJobRunRequest withMode(String mode)
The mode of the job run when it starts.
mode
- The mode of the job run when it starts.JobRunMode
public StartJobRunRequest withMode(JobRunMode mode)
The mode of the job run when it starts.
mode
- The mode of the job run when it starts.JobRunMode
public void setRetryPolicy(RetryPolicy retryPolicy)
The retry policy when job run starts.
retryPolicy
- The retry policy when job run starts.public RetryPolicy getRetryPolicy()
The retry policy when job run starts.
public StartJobRunRequest withRetryPolicy(RetryPolicy retryPolicy)
The retry policy when job run starts.
retryPolicy
- The retry policy when job run starts.public String toString()
toString
in class Object
Object.toString()
public StartJobRunRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()