JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class JobFlowInstancesConfig

    • Constructor Detail

      • JobFlowInstancesConfig

        public JobFlowInstancesConfig()
    • Method Detail

      • setMasterInstanceType

        public void setMasterInstanceType(String masterInstanceType)

        The Amazon EC2 instance type of the master node.

        Parameters:
        masterInstanceType - The Amazon EC2 instance type of the master node.
      • getMasterInstanceType

        public String getMasterInstanceType()

        The Amazon EC2 instance type of the master node.

        Returns:
        The Amazon EC2 instance type of the master node.
      • withMasterInstanceType

        public JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)

        The Amazon EC2 instance type of the master node.

        Parameters:
        masterInstanceType - The Amazon EC2 instance type of the master node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSlaveInstanceType

        public void setSlaveInstanceType(String slaveInstanceType)

        The Amazon EC2 instance type of the core and task nodes.

        Parameters:
        slaveInstanceType - The Amazon EC2 instance type of the core and task nodes.
      • getSlaveInstanceType

        public String getSlaveInstanceType()

        The Amazon EC2 instance type of the core and task nodes.

        Returns:
        The Amazon EC2 instance type of the core and task nodes.
      • withSlaveInstanceType

        public JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)

        The Amazon EC2 instance type of the core and task nodes.

        Parameters:
        slaveInstanceType - The Amazon EC2 instance type of the core and task nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceCount

        public void setInstanceCount(Integer instanceCount)

        The number of Amazon EC2 instances in the cluster.

        Parameters:
        instanceCount - The number of Amazon EC2 instances in the cluster.
      • getInstanceCount

        public Integer getInstanceCount()

        The number of Amazon EC2 instances in the cluster.

        Returns:
        The number of Amazon EC2 instances in the cluster.
      • withInstanceCount

        public JobFlowInstancesConfig withInstanceCount(Integer instanceCount)

        The number of Amazon EC2 instances in the cluster.

        Parameters:
        instanceCount - The number of Amazon EC2 instances in the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstanceGroups

        public List<InstanceGroupConfig> getInstanceGroups()

        Configuration for the instance groups in a cluster.

        Returns:
        Configuration for the instance groups in a cluster.
      • setInstanceGroups

        public void setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)

        Configuration for the instance groups in a cluster.

        Parameters:
        instanceGroups - Configuration for the instance groups in a cluster.
      • withInstanceGroups

        public JobFlowInstancesConfig withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)

        Configuration for the instance groups in a cluster.

        Parameters:
        instanceGroups - Configuration for the instance groups in a cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstanceFleets

        public List<InstanceFleetConfig> getInstanceFleets()

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

        Returns:

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

      • setInstanceFleets

        public void setInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

        Parameters:
        instanceFleets -

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

      • withInstanceFleets

        public JobFlowInstancesConfig withInstanceFleets(InstanceFleetConfig... instanceFleets)

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

        Describes the Amazon 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.

        Parameters:
        instanceFleets -

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withInstanceFleets

        public JobFlowInstancesConfig withInstanceFleets(Collection<InstanceFleetConfig> instanceFleets)

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

        Parameters:
        instanceFleets -

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

        Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2KeyName

        public void setEc2KeyName(String ec2KeyName)

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

        Parameters:
        ec2KeyName - The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
      • getEc2KeyName

        public String getEc2KeyName()

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

        Returns:
        The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
      • withEc2KeyName

        public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)

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

        Parameters:
        ec2KeyName - The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlacement

        public void setPlacement(PlacementType placement)

        The Availability Zone in which the cluster runs.

        Parameters:
        placement - The Availability Zone in which the cluster runs.
      • getPlacement

        public PlacementType getPlacement()

        The Availability Zone in which the cluster runs.

        Returns:
        The Availability Zone in which the cluster runs.
      • withPlacement

        public JobFlowInstancesConfig withPlacement(PlacementType placement)

        The Availability Zone in which the cluster runs.

        Parameters:
        placement - The Availability Zone in which the cluster runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKeepJobFlowAliveWhenNoSteps

        public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)

        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

        Parameters:
        keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.
      • getKeepJobFlowAliveWhenNoSteps

        public Boolean getKeepJobFlowAliveWhenNoSteps()

        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

        Returns:
        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.
      • withKeepJobFlowAliveWhenNoSteps

        public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)

        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

        Parameters:
        keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isKeepJobFlowAliveWhenNoSteps

        public Boolean isKeepJobFlowAliveWhenNoSteps()

        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

        Returns:
        Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.
      • setTerminationProtected

        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.

        Parameters:
        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.
      • getTerminationProtected

        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.

        Returns:
        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.
      • withTerminationProtected

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTerminationProtected

        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.

        Returns:
        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.
      • setUnhealthyNodeReplacement

        public void setUnhealthyNodeReplacement(Boolean unhealthyNodeReplacement)

        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.

        Parameters:
        unhealthyNodeReplacement - Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
      • getUnhealthyNodeReplacement

        public Boolean getUnhealthyNodeReplacement()

        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.

        Returns:
        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
      • withUnhealthyNodeReplacement

        public JobFlowInstancesConfig withUnhealthyNodeReplacement(Boolean unhealthyNodeReplacement)

        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.

        Parameters:
        unhealthyNodeReplacement - Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isUnhealthyNodeReplacement

        public Boolean isUnhealthyNodeReplacement()

        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.

        Returns:
        Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
      • setHadoopVersion

        public void setHadoopVersion(String 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.

        Parameters:
        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.
      • getHadoopVersion

        public String getHadoopVersion()

        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.

        Returns:
        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.
      • withHadoopVersion

        public JobFlowInstancesConfig withHadoopVersion(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2SubnetId

        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 and your account supports EC2-Classic, the cluster launches in EC2-Classic.

        Parameters:
        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.
      • getEc2SubnetId

        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 and your account supports EC2-Classic, the cluster launches in EC2-Classic.

        Returns:
        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.
      • withEc2SubnetId

        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 and your account supports EC2-Classic, the cluster launches in EC2-Classic.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEc2SubnetIds

        public List<String> getEc2SubnetIds()

        Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

        Returns:
        Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

      • setEc2SubnetIds

        public void setEc2SubnetIds(Collection<String> ec2SubnetIds)

        Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

        Parameters:
        ec2SubnetIds - Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

      • withEc2SubnetIds

        public JobFlowInstancesConfig withEc2SubnetIds(String... ec2SubnetIds)

        Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 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.

        Parameters:
        ec2SubnetIds - Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEc2SubnetIds

        public JobFlowInstancesConfig withEc2SubnetIds(Collection<String> ec2SubnetIds)

        Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

        Parameters:
        ec2SubnetIds - Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEmrManagedMasterSecurityGroup

        public void setEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)

        The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.

        Parameters:
        emrManagedMasterSecurityGroup - The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.
      • getEmrManagedMasterSecurityGroup

        public String getEmrManagedMasterSecurityGroup()

        The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.

        Returns:
        The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.
      • withEmrManagedMasterSecurityGroup

        public JobFlowInstancesConfig withEmrManagedMasterSecurityGroup(String emrManagedMasterSecurityGroup)

        The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.

        Parameters:
        emrManagedMasterSecurityGroup - The identifier of the Amazon EC2 security group for the master node. If you specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEmrManagedSlaveSecurityGroup

        public void setEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)

        The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.

        Parameters:
        emrManagedSlaveSecurityGroup - The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.
      • getEmrManagedSlaveSecurityGroup

        public String getEmrManagedSlaveSecurityGroup()

        The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.

        Returns:
        The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.
      • withEmrManagedSlaveSecurityGroup

        public JobFlowInstancesConfig withEmrManagedSlaveSecurityGroup(String emrManagedSlaveSecurityGroup)

        The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.

        Parameters:
        emrManagedSlaveSecurityGroup - The identifier of the Amazon EC2 security group for the core and task nodes. If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceAccessSecurityGroup

        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.

        Parameters:
        serviceAccessSecurityGroup - The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
      • getServiceAccessSecurityGroup

        public String getServiceAccessSecurityGroup()

        The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

        Returns:
        The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
      • withServiceAccessSecurityGroup

        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.

        Parameters:
        serviceAccessSecurityGroup - The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAdditionalMasterSecurityGroups

        public List<String> getAdditionalMasterSecurityGroups()

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

        Returns:
        A list of additional Amazon EC2 security group IDs for the master node.
      • setAdditionalMasterSecurityGroups

        public void setAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)

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

        Parameters:
        additionalMasterSecurityGroups - A list of additional Amazon EC2 security group IDs for the master node.
      • withAdditionalMasterSecurityGroups

        public JobFlowInstancesConfig withAdditionalMasterSecurityGroups(Collection<String> additionalMasterSecurityGroups)

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

        Parameters:
        additionalMasterSecurityGroups - A list of additional Amazon EC2 security group IDs for the master node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAdditionalSlaveSecurityGroups

        public List<String> getAdditionalSlaveSecurityGroups()

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

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

        public void setAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)

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

        Parameters:
        additionalSlaveSecurityGroups - A list of additional Amazon EC2 security group IDs for the core and task nodes.
      • withAdditionalSlaveSecurityGroups

        public JobFlowInstancesConfig withAdditionalSlaveSecurityGroups(Collection<String> additionalSlaveSecurityGroups)

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

        Parameters:
        additionalSlaveSecurityGroups - A list of additional Amazon EC2 security group IDs for the core and task nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /