@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTemplateData extends Object implements Serializable, Cloneable, StructuredPojo
The values of StartJobRun API requests used in job runs started using the job template.
Constructor and Description |
---|
JobTemplateData() |
Modifier and Type | Method and Description |
---|---|
JobTemplateData |
addJobTagsEntry(String key,
String value)
Add a single JobTags entry
|
JobTemplateData |
addParameterConfigurationEntry(String key,
TemplateParameterConfiguration value)
Add a single ParameterConfiguration entry
|
JobTemplateData |
clearJobTagsEntries()
Removes all the entries added into JobTags.
|
JobTemplateData |
clearParameterConfigurationEntries()
Removes all the entries added into ParameterConfiguration.
|
JobTemplateData |
clone() |
boolean |
equals(Object obj) |
ParametricConfigurationOverrides |
getConfigurationOverrides()
The configuration settings that are used to override defaults configuration.
|
String |
getExecutionRoleArn()
The execution role ARN of the job run.
|
JobDriver |
getJobDriver() |
Map<String,String> |
getJobTags()
The tags assigned to jobs started using the job template.
|
Map<String,TemplateParameterConfiguration> |
getParameterConfiguration()
The configuration of parameters existing in the job template.
|
String |
getReleaseLabel()
The release version of Amazon EMR.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides)
The configuration settings that are used to override defaults configuration.
|
void |
setExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
|
void |
setJobDriver(JobDriver jobDriver) |
void |
setJobTags(Map<String,String> jobTags)
The tags assigned to jobs started using the job template.
|
void |
setParameterConfiguration(Map<String,TemplateParameterConfiguration> parameterConfiguration)
The configuration of parameters existing in the job template.
|
void |
setReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
|
String |
toString()
Returns a string representation of this object.
|
JobTemplateData |
withConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides)
The configuration settings that are used to override defaults configuration.
|
JobTemplateData |
withExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
|
JobTemplateData |
withJobDriver(JobDriver jobDriver) |
JobTemplateData |
withJobTags(Map<String,String> jobTags)
The tags assigned to jobs started using the job template.
|
JobTemplateData |
withParameterConfiguration(Map<String,TemplateParameterConfiguration> parameterConfiguration)
The configuration of parameters existing in the job template.
|
JobTemplateData |
withReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
|
public void setExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
executionRoleArn
- The execution role ARN of the job run.public String getExecutionRoleArn()
The execution role ARN of the job run.
public JobTemplateData withExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
executionRoleArn
- The execution role ARN of the job run.public void setReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
releaseLabel
- The release version of Amazon EMR.public String getReleaseLabel()
The release version of Amazon EMR.
public JobTemplateData withReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
releaseLabel
- The release version of Amazon EMR.public void setConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides)
The configuration settings that are used to override defaults configuration.
configurationOverrides
- The configuration settings that are used to override defaults configuration.public ParametricConfigurationOverrides getConfigurationOverrides()
The configuration settings that are used to override defaults configuration.
public JobTemplateData withConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides)
The configuration settings that are used to override defaults configuration.
configurationOverrides
- The configuration settings that are used to override defaults configuration.public void setJobDriver(JobDriver jobDriver)
jobDriver
- public JobDriver getJobDriver()
public JobTemplateData withJobDriver(JobDriver jobDriver)
jobDriver
- public Map<String,TemplateParameterConfiguration> getParameterConfiguration()
The configuration of parameters existing in the job template.
public void setParameterConfiguration(Map<String,TemplateParameterConfiguration> parameterConfiguration)
The configuration of parameters existing in the job template.
parameterConfiguration
- The configuration of parameters existing in the job template.public JobTemplateData withParameterConfiguration(Map<String,TemplateParameterConfiguration> parameterConfiguration)
The configuration of parameters existing in the job template.
parameterConfiguration
- The configuration of parameters existing in the job template.public JobTemplateData addParameterConfigurationEntry(String key, TemplateParameterConfiguration value)
public JobTemplateData clearParameterConfigurationEntries()
public Map<String,String> getJobTags()
The tags assigned to jobs started using the job template.
public void setJobTags(Map<String,String> jobTags)
The tags assigned to jobs started using the job template.
jobTags
- The tags assigned to jobs started using the job template.public JobTemplateData withJobTags(Map<String,String> jobTags)
The tags assigned to jobs started using the job template.
jobTags
- The tags assigned to jobs started using the job template.public JobTemplateData addJobTagsEntry(String key, String value)
public JobTemplateData clearJobTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public JobTemplateData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.