Package com.pulumi.aws.emr.inputs
Class ClusterMasterInstanceGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.emr.inputs.ClusterMasterInstanceGroupArgs.Builder
-
- Enclosing class:
- ClusterMasterInstanceGroupArgs
public static final class ClusterMasterInstanceGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterMasterInstanceGroupArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterMasterInstanceGroupArgs defaults)
-
-
Method Detail
-
bidPrice
public ClusterMasterInstanceGroupArgs.Builder bidPrice(@Nullable com.pulumi.core.Output<java.lang.String> bidPrice)
- Parameters:
bidPrice
- Bid price for each EC2 instance in the instance group, expressed in USD. By setting this attribute, the instance group is being declared as a Spot Instance, and will implicitly create a Spot request. Leave this blank to use On-Demand Instances.- Returns:
- builder
-
bidPrice
public ClusterMasterInstanceGroupArgs.Builder bidPrice(java.lang.String bidPrice)
- Parameters:
bidPrice
- Bid price for each EC2 instance in the instance group, expressed in USD. By setting this attribute, the instance group is being declared as a Spot Instance, and will implicitly create a Spot request. Leave this blank to use On-Demand Instances.- Returns:
- builder
-
ebsConfigs
public ClusterMasterInstanceGroupArgs.Builder ebsConfigs(@Nullable com.pulumi.core.Output<java.util.List<ClusterMasterInstanceGroupEbsConfigArgs>> ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
ebsConfigs
public ClusterMasterInstanceGroupArgs.Builder ebsConfigs(java.util.List<ClusterMasterInstanceGroupEbsConfigArgs> ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
ebsConfigs
public ClusterMasterInstanceGroupArgs.Builder ebsConfigs(ClusterMasterInstanceGroupEbsConfigArgs... ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
id
public ClusterMasterInstanceGroupArgs.Builder id(@Nullable com.pulumi.core.Output<java.lang.String> id)
- Parameters:
id
- ID of the cluster.- Returns:
- builder
-
id
public ClusterMasterInstanceGroupArgs.Builder id(java.lang.String id)
- Parameters:
id
- ID of the cluster.- Returns:
- builder
-
instanceCount
public ClusterMasterInstanceGroupArgs.Builder instanceCount(@Nullable com.pulumi.core.Output<java.lang.Integer> instanceCount)
- Parameters:
instanceCount
- Target number of instances for the instance group. Must be 1 or 3. Defaults to 1. Launching with multiple master nodes is only supported in EMR version 5.23.0+, and requires this resource's `core_instance_group` to be configured. Public (Internet accessible) instances must be created in VPC subnets that have map public IP on launch enabled. Termination protection is automatically enabled when launched with multiple master nodes and this provider must have the `termination_protection = false` configuration applied before destroying this resource.- Returns:
- builder
-
instanceCount
public ClusterMasterInstanceGroupArgs.Builder instanceCount(java.lang.Integer instanceCount)
- Parameters:
instanceCount
- Target number of instances for the instance group. Must be 1 or 3. Defaults to 1. Launching with multiple master nodes is only supported in EMR version 5.23.0+, and requires this resource's `core_instance_group` to be configured. Public (Internet accessible) instances must be created in VPC subnets that have map public IP on launch enabled. Termination protection is automatically enabled when launched with multiple master nodes and this provider must have the `termination_protection = false` configuration applied before destroying this resource.- Returns:
- builder
-
instanceType
public ClusterMasterInstanceGroupArgs.Builder instanceType(com.pulumi.core.Output<java.lang.String> instanceType)
- Parameters:
instanceType
- EC2 instance type for all instances in the instance group.- Returns:
- builder
-
instanceType
public ClusterMasterInstanceGroupArgs.Builder instanceType(java.lang.String instanceType)
- Parameters:
instanceType
- EC2 instance type for all instances in the instance group.- Returns:
- builder
-
name
public ClusterMasterInstanceGroupArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Friendly name given to the instance group.- Returns:
- builder
-
name
public ClusterMasterInstanceGroupArgs.Builder name(java.lang.String name)
- Parameters:
name
- Friendly name given to the instance group.- Returns:
- builder
-
build
public ClusterMasterInstanceGroupArgs build()
-
-