@Stability(value=Stable) public static final class CfnCluster.JobFlowInstancesConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.JobFlowInstancesConfigProperty>
CfnCluster.JobFlowInstancesConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder additionalMasterSecurityGroups(List<String> additionalMasterSecurityGroups)
additionalMasterSecurityGroups - A list of additional Amazon EC2 security group IDs for the master node.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder additionalSlaveSecurityGroups(List<String> additionalSlaveSecurityGroups)
additionalSlaveSecurityGroups - A list of additional Amazon EC2 security group IDs for the core and task nodes.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder coreInstanceFleet(CfnCluster.InstanceFleetConfigProperty coreInstanceFleet)
CfnCluster.JobFlowInstancesConfigProperty.getCoreInstanceFleet()coreInstanceFleet - Describes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder coreInstanceFleet(IResolvable coreInstanceFleet)
CfnCluster.JobFlowInstancesConfigProperty.getCoreInstanceFleet()coreInstanceFleet - Describes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder coreInstanceGroup(CfnCluster.InstanceGroupConfigProperty coreInstanceGroup)
CfnCluster.JobFlowInstancesConfigProperty.getCoreInstanceGroup()coreInstanceGroup - Describes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder coreInstanceGroup(IResolvable coreInstanceGroup)
CfnCluster.JobFlowInstancesConfigProperty.getCoreInstanceGroup()coreInstanceGroup - Describes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder ec2KeyName(String ec2KeyName)
CfnCluster.JobFlowInstancesConfigProperty.getEc2KeyName()ec2KeyName - The name of the EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop.".this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder ec2SubnetId(String ec2SubnetId)
CfnCluster.JobFlowInstancesConfigProperty.getEc2SubnetId()ec2SubnetId - Applies to clusters that use the uniform instance group configuration.
To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value and your account supports EC2-Classic, the cluster launches in EC2-Classic.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder ec2SubnetIds(List<String> ec2SubnetIds)
CfnCluster.JobFlowInstancesConfigProperty.getEc2SubnetIds()ec2SubnetIds - Applies to clusters that use the instance fleet configuration.
When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder emrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
emrManagedMasterSecurityGroup - The identifier of the Amazon EC2 security group for the master node.
If you specify EmrManagedMasterSecurityGroup , you must also specify EmrManagedSlaveSecurityGroup .this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder emrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
emrManagedSlaveSecurityGroup - The identifier of the Amazon EC2 security group for the core and task nodes.
If you specify EmrManagedSlaveSecurityGroup , you must also specify EmrManagedMasterSecurityGroup .this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder hadoopVersion(String hadoopVersion)
CfnCluster.JobFlowInstancesConfigProperty.getHadoopVersion()hadoopVersion - Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are "0.18" (no longer maintained), "0.20" (no longer maintained), "0.20.205" (no longer maintained), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the `AmiVersion` parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder keepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps.
Defaults to true . For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide .this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder keepJobFlowAliveWhenNoSteps(IResolvable keepJobFlowAliveWhenNoSteps)
keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps.
Defaults to true . For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide .this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder masterInstanceFleet(CfnCluster.InstanceFleetConfigProperty masterInstanceFleet)
CfnCluster.JobFlowInstancesConfigProperty.getMasterInstanceFleet()masterInstanceFleet - Describes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder masterInstanceFleet(IResolvable masterInstanceFleet)
CfnCluster.JobFlowInstancesConfigProperty.getMasterInstanceFleet()masterInstanceFleet - Describes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder masterInstanceGroup(CfnCluster.InstanceGroupConfigProperty masterInstanceGroup)
CfnCluster.JobFlowInstancesConfigProperty.getMasterInstanceGroup()masterInstanceGroup - Describes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder masterInstanceGroup(IResolvable masterInstanceGroup)
CfnCluster.JobFlowInstancesConfigProperty.getMasterInstanceGroup()masterInstanceGroup - Describes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder placement(CfnCluster.PlacementTypeProperty placement)
CfnCluster.JobFlowInstancesConfigProperty.getPlacement()placement - The Availability Zone in which the cluster runs.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder placement(IResolvable placement)
CfnCluster.JobFlowInstancesConfigProperty.getPlacement()placement - The Availability Zone in which the cluster runs.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder serviceAccessSecurityGroup(String serviceAccessSecurityGroup)
serviceAccessSecurityGroup - The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder taskInstanceFleets(IResolvable taskInstanceFleets)
CfnCluster.JobFlowInstancesConfigProperty.getTaskInstanceFleets()taskInstanceFleets - `CfnCluster.JobFlowInstancesConfigProperty.TaskInstanceFleets`.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder taskInstanceFleets(List<? extends Object> taskInstanceFleets)
CfnCluster.JobFlowInstancesConfigProperty.getTaskInstanceFleets()taskInstanceFleets - `CfnCluster.JobFlowInstancesConfigProperty.TaskInstanceFleets`.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder taskInstanceGroups(IResolvable taskInstanceGroups)
CfnCluster.JobFlowInstancesConfigProperty.getTaskInstanceGroups()taskInstanceGroups - `CfnCluster.JobFlowInstancesConfigProperty.TaskInstanceGroups`.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder taskInstanceGroups(List<? extends Object> taskInstanceGroups)
CfnCluster.JobFlowInstancesConfigProperty.getTaskInstanceGroups()taskInstanceGroups - `CfnCluster.JobFlowInstancesConfigProperty.TaskInstanceGroups`.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder terminationProtected(Boolean terminationProtected)
CfnCluster.JobFlowInstancesConfigProperty.getTerminationProtected()terminationProtected - Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty.Builder terminationProtected(IResolvable terminationProtected)
CfnCluster.JobFlowInstancesConfigProperty.getTerminationProtected()terminationProtected - Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.this@Stability(value=Stable) public CfnCluster.JobFlowInstancesConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.JobFlowInstancesConfigProperty>CfnCluster.JobFlowInstancesConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.