public static final class EmrModifyInstanceGroupByNameProps.Builder
extends java.lang.Object
EmrModifyInstanceGroupByNameProps
Constructor and Description |
---|
Builder() |
public EmrModifyInstanceGroupByNameProps.Builder clusterId(java.lang.String clusterId)
EmrModifyInstanceGroupByNameProps.getClusterId()
clusterId
- The ClusterId to update. This parameter is required.this
public EmrModifyInstanceGroupByNameProps.Builder instanceGroup(EmrModifyInstanceGroupByName.InstanceGroupModifyConfigProperty instanceGroup)
EmrModifyInstanceGroupByNameProps.getInstanceGroup()
instanceGroup
- The JSON that you want to provide to your ModifyInstanceGroup call as input. This parameter is required.
This uses the same syntax as the ModifyInstanceGroups API.this
public EmrModifyInstanceGroupByNameProps.Builder instanceGroupName(java.lang.String instanceGroupName)
EmrModifyInstanceGroupByNameProps.getInstanceGroupName()
instanceGroupName
- The InstanceGroupName to update. This parameter is required.this
public EmrModifyInstanceGroupByNameProps.Builder comment(java.lang.String comment)
TaskStateBaseProps.getComment()
comment
- An optional description for this state.this
public EmrModifyInstanceGroupByNameProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()
heartbeat
- Timeout for the heartbeat.this
public EmrModifyInstanceGroupByNameProps.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 EmrModifyInstanceGroupByNameProps.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 EmrModifyInstanceGroupByNameProps.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 EmrModifyInstanceGroupByNameProps.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 EmrModifyInstanceGroupByNameProps.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 EmrModifyInstanceGroupByNameProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()
timeout
- Timeout for the state machine.this
public EmrModifyInstanceGroupByNameProps build()
EmrModifyInstanceGroupByNameProps
java.lang.NullPointerException
- if any required attribute was not provided