Java com.amazonaws.services.elasticmapreduce.model JobFlowInstancesConfig fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.elasticmapreduce.model JobFlowInstancesConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.elasticmapreduce.model JobFlowInstancesConfig.

The text is from its open source code.

Constructor

Method

java.util.ListgetInstanceFleets()

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

voidsetAdditionalMasterSecurityGroups(java.util.Collection additionalMasterSecurityGroups)

A list of additional Amazon EC2 security group IDs for the master node.

voidsetAdditionalSlaveSecurityGroups(java.util.Collection additionalSlaveSecurityGroups)

A list of additional Amazon EC2 security group IDs for the core and task nodes.

voidsetEc2KeyName(String ec2KeyName)

The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."

voidsetEc2SubnetId(String ec2SubnetId)

Applies to clusters that use the uniform instance group configuration.

voidsetEc2SubnetIds(java.util.Collection ec2SubnetIds)

Applies to clusters that use the instance fleet configuration.

voidsetEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)

The identifier of the Amazon EC2 security group for the master node.

voidsetEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)

The identifier of the Amazon EC2 security group for the core and task nodes.

voidsetHadoopVersion(String hadoopVersion)

Applies only to Amazon EMR release versions earlier than 4.0.

voidsetInstanceCount(Integer instanceCount)

The number of EC2 instances in the cluster.

voidsetInstanceFleets(java.util.Collection instanceFleets)

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

voidsetInstanceGroups(java.util.Collection instanceGroups)

Configuration for the instance groups in a cluster.

voidsetKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)

Specifies whether the cluster should remain available after completing all steps.

voidsetMasterInstanceType(String masterInstanceType)

The EC2 instance type of the master node.

voidsetPlacement(PlacementType placement)

The Availability Zone in which the cluster runs.

voidsetSlaveInstanceType(String slaveInstanceType)

The EC2 instance type of the core and task nodes.

voidsetTerminationProtected(Boolean 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.

JobFlowInstancesConfigwithEc2KeyName(String ec2KeyName)

The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."