@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobFlowInstancesConfig extends Object implements Serializable, Cloneable, StructuredPojo
A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets, which is the recommended configuration. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.
Constructor and Description |
---|
JobFlowInstancesConfig() |
Modifier and Type | Method and Description |
---|---|
JobFlowInstancesConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalMasterSecurityGroups()
A list of additional Amazon EC2 security group IDs for the master node.
|
List<String> |
getAdditionalSlaveSecurityGroups()
A list of additional Amazon EC2 security group IDs for the slave nodes.
|
String |
getEc2KeyName()
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
|
String |
getEc2SubnetId()
Applies to clusters that use the uniform instance group configuration.
|
List<String> |
getEc2SubnetIds()
Applies to clusters that use the instance fleet configuration.
|
String |
getEmrManagedMasterSecurityGroup()
The identifier of the Amazon EC2 security group for the master node.
|
String |
getEmrManagedSlaveSecurityGroup()
The identifier of the Amazon EC2 security group for the slave nodes.
|
String |
getHadoopVersion()
The Hadoop version for the cluster.
|
Integer |
getInstanceCount()
The number of EC2 instances in the cluster.
|
List<InstanceFleetConfig> |
getInstanceFleets()
|
List<InstanceGroupConfig> |
getInstanceGroups()
Configuration for the instance groups in a cluster.
|
Boolean |
getKeepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
|
String |
getMasterInstanceType()
The EC2 instance type of the master node.
|
PlacementType |
getPlacement()
The Availability Zone in which the cluster runs.
|
String |
getServiceAccessSecurityGroup()
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private
subnets.
|
String |
getSlaveInstanceType()
The EC2 instance type of the slave nodes.
|
Boolean |
getTerminationProtected()
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.
|
int |
hashCode() |
Boolean |
isKeepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
|
Boolean |
isTerminationProtected()
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
|
void |
setAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
|
void |
setEc2KeyName(String ec2KeyName)
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
|
void |
setEc2SubnetId(String ec2SubnetId)
Applies to clusters that use the uniform instance group configuration.
|
void |
setEc2SubnetIds(Collection<String> ec2SubnetIds)
Applies to clusters that use the instance fleet configuration.
|
void |
setEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
|
void |
setEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the slave nodes.
|
void |
setHadoopVersion(String hadoopVersion)
The Hadoop version for the cluster.
|
void |
setInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster.
|
void |
setInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)
|
void |
setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Configuration for the instance groups in a cluster.
|
void |
setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the cluster should remain available after completing all steps.
|
void |
setMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.
|
void |
setPlacement(PlacementType placement)
The Availability Zone in which the cluster runs.
|
void |
setServiceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private
subnets.
|
void |
setSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.
|
void |
setTerminationProtected(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobFlowInstancesConfig |
withAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
|
JobFlowInstancesConfig |
withAdditionalMasterSecurityGroups(String... additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
|
JobFlowInstancesConfig |
withAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
|
JobFlowInstancesConfig |
withAdditionalSlaveSecurityGroups(String... additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
|
JobFlowInstancesConfig |
withEc2KeyName(String ec2KeyName)
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
|
JobFlowInstancesConfig |
withEc2SubnetId(String ec2SubnetId)
Applies to clusters that use the uniform instance group configuration.
|
JobFlowInstancesConfig |
withEc2SubnetIds(Collection<String> ec2SubnetIds)
Applies to clusters that use the instance fleet configuration.
|
JobFlowInstancesConfig |
withEc2SubnetIds(String... ec2SubnetIds)
Applies to clusters that use the instance fleet configuration.
|
JobFlowInstancesConfig |
withEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
|
JobFlowInstancesConfig |
withEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the slave nodes.
|
JobFlowInstancesConfig |
withHadoopVersion(String hadoopVersion)
The Hadoop version for the cluster.
|
JobFlowInstancesConfig |
withInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster.
|
JobFlowInstancesConfig |
withInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)
|
JobFlowInstancesConfig |
withInstanceFleets(InstanceFleetConfig... instanceFleets)
|
JobFlowInstancesConfig |
withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Configuration for the instance groups in a cluster.
|
JobFlowInstancesConfig |
withInstanceGroups(InstanceGroupConfig... instanceGroups)
Configuration for the instance groups in a cluster.
|
JobFlowInstancesConfig |
withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the cluster should remain available after completing all steps.
|
JobFlowInstancesConfig |
withMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.
|
JobFlowInstancesConfig |
withPlacement(PlacementType placement)
The Availability Zone in which the cluster runs.
|
JobFlowInstancesConfig |
withServiceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private
subnets.
|
JobFlowInstancesConfig |
withSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.
|
JobFlowInstancesConfig |
withTerminationProtected(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.
|
public void setMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.
masterInstanceType
- The EC2 instance type of the master node.public String getMasterInstanceType()
The EC2 instance type of the master node.
public JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.
masterInstanceType
- The EC2 instance type of the master node.public void setSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.
slaveInstanceType
- The EC2 instance type of the slave nodes.public String getSlaveInstanceType()
The EC2 instance type of the slave nodes.
public JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.
slaveInstanceType
- The EC2 instance type of the slave nodes.public void setInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster.
instanceCount
- The number of EC2 instances in the cluster.public Integer getInstanceCount()
The number of EC2 instances in the cluster.
public JobFlowInstancesConfig withInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster.
instanceCount
- The number of EC2 instances in the cluster.public List<InstanceGroupConfig> getInstanceGroups()
Configuration for the instance groups in a cluster.
public void setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Configuration for the instance groups in a cluster.
instanceGroups
- Configuration for the instance groups in a cluster.public JobFlowInstancesConfig withInstanceGroups(InstanceGroupConfig... instanceGroups)
Configuration for the instance groups in a cluster.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceGroups(java.util.Collection)
or withInstanceGroups(java.util.Collection)
if you want
to override the existing values.
instanceGroups
- Configuration for the instance groups in a cluster.public JobFlowInstancesConfig withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Configuration for the instance groups in a cluster.
instanceGroups
- Configuration for the instance groups in a cluster.public List<InstanceFleetConfig> getInstanceFleets()
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
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.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
public void setInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
instanceFleets
- The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
public JobFlowInstancesConfig withInstanceFleets(InstanceFleetConfig... instanceFleets)
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceFleets(java.util.Collection)
or withInstanceFleets(java.util.Collection)
if you want
to override the existing values.
instanceFleets
- The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
public JobFlowInstancesConfig withInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
instanceFleets
- The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
public void setEc2KeyName(String ec2KeyName)
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
ec2KeyName
- The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."public String getEc2KeyName()
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
ec2KeyName
- The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."public void setPlacement(PlacementType placement)
The Availability Zone in which the cluster runs.
placement
- The Availability Zone in which the cluster runs.public PlacementType getPlacement()
The Availability Zone in which the cluster runs.
public JobFlowInstancesConfig withPlacement(PlacementType placement)
The Availability Zone in which the cluster runs.
placement
- The Availability Zone in which the cluster runs.public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the cluster should remain available after completing all steps.
keepJobFlowAliveWhenNoSteps
- Specifies whether the cluster should remain available after completing all steps.public Boolean getKeepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the cluster should remain available after completing all steps.
keepJobFlowAliveWhenNoSteps
- Specifies whether the cluster should remain available after completing all steps.public Boolean isKeepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
public void setTerminationProtected(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.
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.public Boolean getTerminationProtected()
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.
public JobFlowInstancesConfig withTerminationProtected(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.
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.public Boolean isTerminationProtected()
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.
public void setHadoopVersion(String hadoopVersion)
The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.
hadoopVersion
- The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205"
(deprecated), "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.public String getHadoopVersion()
The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.
public JobFlowInstancesConfig withHadoopVersion(String hadoopVersion)
The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.
hadoopVersion
- The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205"
(deprecated), "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.public void setEc2SubnetId(String 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, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
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, the cluster launches in the normal
Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2
Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
public String getEc2SubnetId()
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, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
public JobFlowInstancesConfig withEc2SubnetId(String 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, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
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, the cluster launches in the normal
Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2
Classic networks in the region where the cluster launches.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.
public List<String> getEc2SubnetIds()
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.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
public void setEc2SubnetIds(Collection<String> 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.
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.
public JobFlowInstancesConfig withEc2SubnetIds(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setEc2SubnetIds(java.util.Collection)
or withEc2SubnetIds(java.util.Collection)
if you want to
override the existing values.
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.
public JobFlowInstancesConfig withEc2SubnetIds(Collection<String> 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.
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.
public void setEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
emrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.public String getEmrManagedMasterSecurityGroup()
The identifier of the Amazon EC2 security group for the master node.
public JobFlowInstancesConfig withEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)
The identifier of the Amazon EC2 security group for the master node.
emrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.public void setEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the slave nodes.
emrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the slave nodes.public String getEmrManagedSlaveSecurityGroup()
The identifier of the Amazon EC2 security group for the slave nodes.
public JobFlowInstancesConfig withEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)
The identifier of the Amazon EC2 security group for the slave nodes.
emrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the slave nodes.public void setServiceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
serviceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC
private subnets.public String getServiceAccessSecurityGroup()
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
public JobFlowInstancesConfig withServiceAccessSecurityGroup(String serviceAccessSecurityGroup)
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
serviceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC
private subnets.public List<String> getAdditionalMasterSecurityGroups()
A list of additional Amazon EC2 security group IDs for the master node.
public void setAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.public JobFlowInstancesConfig withAdditionalMasterSecurityGroups(String... additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalMasterSecurityGroups(java.util.Collection)
or
withAdditionalMasterSecurityGroups(java.util.Collection)
if you want to override the existing values.
additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.public JobFlowInstancesConfig withAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)
A list of additional Amazon EC2 security group IDs for the master node.
additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.public List<String> getAdditionalSlaveSecurityGroups()
A list of additional Amazon EC2 security group IDs for the slave nodes.
public void setAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the slave nodes.public JobFlowInstancesConfig withAdditionalSlaveSecurityGroups(String... additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalSlaveSecurityGroups(java.util.Collection)
or
withAdditionalSlaveSecurityGroups(java.util.Collection)
if you want to override the existing values.
additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the slave nodes.public JobFlowInstancesConfig withAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)
A list of additional Amazon EC2 security group IDs for the slave nodes.
additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the slave nodes.public String toString()
toString
in class Object
Object.toString()
public JobFlowInstancesConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.