@Stability(value=Experimental) public static final class EmrCreateCluster.InstancesConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<EmrCreateCluster.InstancesConfigProperty>
EmrCreateCluster.InstancesConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder additionalMasterSecurityGroups(List<String> additionalMasterSecurityGroups)
additionalMasterSecurityGroups - A list of additional Amazon EC2 security group IDs for the master node.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder additionalSlaveSecurityGroups(List<String> additionalSlaveSecurityGroups)
additionalSlaveSecurityGroups - A list of additional Amazon EC2 security group IDs for the core and task nodes.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder ec2KeyName(String ec2KeyName)
EmrCreateCluster.InstancesConfigProperty.getEc2KeyName()ec2KeyName - The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop.".this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder ec2SubnetId(String ec2SubnetId)
EmrCreateCluster.InstancesConfigProperty.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.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder ec2SubnetIds(List<String> ec2SubnetIds)
EmrCreateCluster.InstancesConfigProperty.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.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder emrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
emrManagedMasterSecurityGroup - The identifier of the Amazon EC2 security group for the master node.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder emrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
emrManagedSlaveSecurityGroup - The identifier of the Amazon EC2 security group for the core and task nodes.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder hadoopVersion(String hadoopVersion)
EmrCreateCluster.InstancesConfigProperty.getHadoopVersion()hadoopVersion - Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder instanceCount(Number instanceCount)
EmrCreateCluster.InstancesConfigProperty.getInstanceCount()instanceCount - The number of EC2 instances in the cluster.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder instanceFleets(List<? extends EmrCreateCluster.InstanceFleetConfigProperty> instanceFleets)
EmrCreateCluster.InstancesConfigProperty.getInstanceFleets()instanceFleets - Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder instanceGroups(List<? extends EmrCreateCluster.InstanceGroupConfigProperty> instanceGroups)
EmrCreateCluster.InstancesConfigProperty.getInstanceGroups()instanceGroups - Configuration for the instance groups in a cluster.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder masterInstanceType(String masterInstanceType)
EmrCreateCluster.InstancesConfigProperty.getMasterInstanceType()masterInstanceType - The EC2 instance type of the master node.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder placement(EmrCreateCluster.PlacementTypeProperty placement)
EmrCreateCluster.InstancesConfigProperty.getPlacement()placement - The Availability Zone in which the cluster runs.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder serviceAccessSecurityGroup(String serviceAccessSecurityGroup)
EmrCreateCluster.InstancesConfigProperty.getServiceAccessSecurityGroup()serviceAccessSecurityGroup - The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder slaveInstanceType(String slaveInstanceType)
EmrCreateCluster.InstancesConfigProperty.getSlaveInstanceType()slaveInstanceType - The EC2 instance type of the core and task nodes.this@Stability(value=Experimental) public EmrCreateCluster.InstancesConfigProperty.Builder terminationProtected(Boolean terminationProtected)
EmrCreateCluster.InstancesConfigProperty.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=Experimental) public EmrCreateCluster.InstancesConfigProperty build()
build in interface software.amazon.jsii.Builder<EmrCreateCluster.InstancesConfigProperty>EmrCreateCluster.InstancesConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.