CopyableBuilder<InstanceGroupConfig.Builder,InstanceGroupConfig>
, SdkBuilder<InstanceGroupConfig.Builder,InstanceGroupConfig>
public static interface InstanceGroupConfig.Builder extends CopyableBuilder<InstanceGroupConfig.Builder,InstanceGroupConfig>
Modifier and Type | Method | Description |
---|---|---|
InstanceGroupConfig.Builder |
autoScalingPolicy(AutoScalingPolicy autoScalingPolicy) |
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
|
InstanceGroupConfig.Builder |
bidPrice(String bidPrice) |
Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in
USD.
|
InstanceGroupConfig.Builder |
configurations(Collection<Configuration> configurations) |
|
InstanceGroupConfig.Builder |
configurations(Configuration... configurations) |
|
InstanceGroupConfig.Builder |
ebsConfiguration(EbsConfiguration ebsConfiguration) |
EBS configurations that will be attached to each EC2 instance in the instance group.
|
InstanceGroupConfig.Builder |
instanceCount(Integer instanceCount) |
Target number of instances for the instance group.
|
InstanceGroupConfig.Builder |
instanceRole(String instanceRole) |
The role of the instance group in the cluster.
|
InstanceGroupConfig.Builder |
instanceRole(InstanceRoleType instanceRole) |
The role of the instance group in the cluster.
|
InstanceGroupConfig.Builder |
instanceType(String instanceType) |
The EC2 instance type for all instances in the instance group.
|
InstanceGroupConfig.Builder |
market(String market) |
Market type of the EC2 instances used to create a cluster node.
|
InstanceGroupConfig.Builder |
market(MarketType market) |
Market type of the EC2 instances used to create a cluster node.
|
InstanceGroupConfig.Builder |
name(String name) |
Friendly name given to the instance group.
|
copy
apply, build
InstanceGroupConfig.Builder name(String name)
Friendly name given to the instance group.
name
- Friendly name given to the instance group.InstanceGroupConfig.Builder market(String market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
InstanceGroupConfig.Builder market(MarketType market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
InstanceGroupConfig.Builder instanceRole(String instanceRole)
The role of the instance group in the cluster.
instanceRole
- The role of the instance group in the cluster.InstanceRoleType
InstanceGroupConfig.Builder instanceRole(InstanceRoleType instanceRole)
The role of the instance group in the cluster.
instanceRole
- The role of the instance group in the cluster.InstanceRoleType
InstanceGroupConfig.Builder bidPrice(String bidPrice)
Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
bidPrice
- Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances,
expressed in USD.InstanceGroupConfig.Builder instanceType(String instanceType)
The EC2 instance type for all instances in the instance group.
instanceType
- The EC2 instance type for all instances in the instance group.InstanceGroupConfig.Builder instanceCount(Integer instanceCount)
Target number of instances for the instance group.
instanceCount
- Target number of instances for the instance group.InstanceGroupConfig.Builder configurations(Collection<Configuration> configurations)
Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
configurations
- Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
InstanceGroupConfig.Builder configurations(Configuration... configurations)
Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
NOTE: This method appends the values to the existing list (if any). Use
#setConfigurations(java.util.Collection)
or #withConfigurations(java.util.Collection)
if you
want to override the existing values.
configurations
- Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
InstanceGroupConfig.Builder ebsConfiguration(EbsConfiguration ebsConfiguration)
EBS configurations that will be attached to each EC2 instance in the instance group.
ebsConfiguration
- EBS configurations that will be attached to each EC2 instance in the instance group.InstanceGroupConfig.Builder autoScalingPolicy(AutoScalingPolicy autoScalingPolicy)
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
autoScalingPolicy
- An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
The automatic scaling policy defines how an instance group dynamically adds and terminates EC2
instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.