public static final class EmrContainersStartJobRunProps.Builder
extends java.lang.Object
EmrContainersStartJobRunProps
Constructor and Description |
---|
Builder() |
public EmrContainersStartJobRunProps.Builder jobDriver(JobDriver jobDriver)
EmrContainersStartJobRunProps.getJobDriver()
jobDriver
- The job driver for the job run. This parameter is required.this
public EmrContainersStartJobRunProps.Builder releaseLabel(ReleaseLabel releaseLabel)
EmrContainersStartJobRunProps.getReleaseLabel()
releaseLabel
- The Amazon EMR release version to use for the job run. This parameter is required.this
public EmrContainersStartJobRunProps.Builder virtualCluster(VirtualClusterInput virtualCluster)
EmrContainersStartJobRunProps.getVirtualCluster()
virtualCluster
- The ID of the virtual cluster where the job will be run. This parameter is required.this
public EmrContainersStartJobRunProps.Builder applicationConfig(java.util.List<? extends ApplicationConfiguration> applicationConfig)
EmrContainersStartJobRunProps.getApplicationConfig()
applicationConfig
- The configurations for the application running in the job run.
Maximum of 100 itemsthis
public EmrContainersStartJobRunProps.Builder executionRole(IRole executionRole)
EmrContainersStartJobRunProps.getExecutionRole()
executionRole
- The execution role for the job run.
If virtualClusterId
is from a JSON input path, an execution role must be provided.
If an execution role is provided, follow the documentation to update the role trust policy.this
public EmrContainersStartJobRunProps.Builder jobName(java.lang.String jobName)
EmrContainersStartJobRunProps.getJobName()
jobName
- The name of the job run.this
public EmrContainersStartJobRunProps.Builder monitoring(Monitoring monitoring)
EmrContainersStartJobRunProps.getMonitoring()
monitoring
- Configuration for monitoring the job run.this
public EmrContainersStartJobRunProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
EmrContainersStartJobRunProps.getTags()
tags
- The tags assigned to job runs.this
public EmrContainersStartJobRunProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public EmrContainersStartJobRunProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public EmrContainersStartJobRunProps.Builder inputPath(java.lang.String inputPath)
TaskStateBaseProps.getInputPath()
inputPath
- JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this
public EmrContainersStartJobRunProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis
public EmrContainersStartJobRunProps.Builder outputPath(java.lang.String outputPath)
TaskStateBaseProps.getOutputPath()
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this
public EmrContainersStartJobRunProps.Builder resultPath(java.lang.String resultPath)
TaskStateBaseProps.getResultPath()
resultPath
- JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this
public EmrContainersStartJobRunProps.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
TaskStateBaseProps.getResultSelector()
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this
public EmrContainersStartJobRunProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public EmrContainersStartJobRunProps build()
EmrContainersStartJobRunProps
java.lang.NullPointerException
- if any required attribute was not provided