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 JobFlowInstancesDetail

    • Constructor Detail

      • JobFlowInstancesDetail

        public JobFlowInstancesDetail()
        Default constructor for JobFlowInstancesDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • JobFlowInstancesDetail

        public JobFlowInstancesDetail(String masterInstanceType,
         String slaveInstanceType,
         Integer instanceCount)
        Constructs a new JobFlowInstancesDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        masterInstanceType - The Amazon EC2 master node instance type.
        slaveInstanceType - The Amazon EC2 core and task node instance type.
        instanceCount - The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.
    • Method Detail

      • setMasterInstanceType

        public void setMasterInstanceType(String masterInstanceType)

        The Amazon EC2 master node instance type.

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

        public String getMasterInstanceType()

        The Amazon EC2 master node instance type.

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

        public JobFlowInstancesDetail withMasterInstanceType(String masterInstanceType)

        The Amazon EC2 master node instance type.

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

        public void setMasterPublicDnsName(String masterPublicDnsName)

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Parameters:
        masterPublicDnsName - The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
      • getMasterPublicDnsName

        public String getMasterPublicDnsName()

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Returns:
        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
      • withMasterPublicDnsName

        public JobFlowInstancesDetail withMasterPublicDnsName(String masterPublicDnsName)

        The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

        Parameters:
        masterPublicDnsName - The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMasterInstanceId

        public void setMasterInstanceId(String masterInstanceId)

        The Amazon EC2 instance identifier of the master node.

        Parameters:
        masterInstanceId - The Amazon EC2 instance identifier of the master node.
      • getMasterInstanceId

        public String getMasterInstanceId()

        The Amazon EC2 instance identifier of the master node.

        Returns:
        The Amazon EC2 instance identifier of the master node.
      • withMasterInstanceId

        public JobFlowInstancesDetail withMasterInstanceId(String masterInstanceId)

        The Amazon EC2 instance identifier of the master node.

        Parameters:
        masterInstanceId - The Amazon EC2 instance identifier 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 core and task node instance type.

        Parameters:
        slaveInstanceType - The Amazon EC2 core and task node instance type.
      • getSlaveInstanceType

        public String getSlaveInstanceType()

        The Amazon EC2 core and task node instance type.

        Returns:
        The Amazon EC2 core and task node instance type.
      • withSlaveInstanceType

        public JobFlowInstancesDetail withSlaveInstanceType(String slaveInstanceType)

        The Amazon EC2 core and task node instance type.

        Parameters:
        slaveInstanceType - The Amazon EC2 core and task node instance type.
        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. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.

        Parameters:
        instanceCount - The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.
      • getInstanceCount

        public Integer getInstanceCount()

        The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.

        Returns:
        The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.
      • withInstanceCount

        public JobFlowInstancesDetail withInstanceCount(Integer instanceCount)

        The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.

        Parameters:
        instanceCount - The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstanceGroups

        public List<InstanceGroupDetail> getInstanceGroups()

        Details about the instance groups in a cluster.

        Returns:
        Details about the instance groups in a cluster.
      • setInstanceGroups

        public void setInstanceGroups(Collection<InstanceGroupDetail> instanceGroups)

        Details about the instance groups in a cluster.

        Parameters:
        instanceGroups - Details about the instance groups in a cluster.
      • withInstanceGroups

        public JobFlowInstancesDetail withInstanceGroups(Collection<InstanceGroupDetail> instanceGroups)

        Details about the instance groups in a cluster.

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

        public void setNormalizedInstanceHours(Integer normalizedInstanceHours)

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.

        Parameters:
        normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.
      • getNormalizedInstanceHours

        public Integer getNormalizedInstanceHours()

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.

        Returns:
        An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.
      • withNormalizedInstanceHours

        public JobFlowInstancesDetail withNormalizedInstanceHours(Integer normalizedInstanceHours)

        An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.

        Parameters:
        normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2KeyName

        public void setEc2KeyName(String ec2KeyName)

        The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.

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

        public String getEc2KeyName()

        The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.

        Returns:
        The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.
      • withEc2KeyName

        public JobFlowInstancesDetail withEc2KeyName(String ec2KeyName)

        The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.

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

        public void setEc2SubnetId(String ec2SubnetId)

        For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.

        Parameters:
        ec2SubnetId - For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
      • getEc2SubnetId

        public String getEc2SubnetId()

        For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.

        Returns:
        For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
      • withEc2SubnetId

        public JobFlowInstancesDetail withEc2SubnetId(String ec2SubnetId)

        For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.

        Parameters:
        ec2SubnetId - For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlacement

        public void setPlacement(PlacementType placement)

        The Amazon EC2 Availability Zone for the cluster.

        Parameters:
        placement - The Amazon EC2 Availability Zone for the cluster.
      • getPlacement

        public PlacementType getPlacement()

        The Amazon EC2 Availability Zone for the cluster.

        Returns:
        The Amazon EC2 Availability Zone for the cluster.
      • withPlacement

        public JobFlowInstancesDetail withPlacement(PlacementType placement)

        The Amazon EC2 Availability Zone for the cluster.

        Parameters:
        placement - The Amazon EC2 Availability Zone for the cluster.
        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.

        Parameters:
        keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps.
      • getKeepJobFlowAliveWhenNoSteps

        public Boolean getKeepJobFlowAliveWhenNoSteps()

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

        Returns:
        Specifies whether the cluster should remain available after completing all steps.
      • withKeepJobFlowAliveWhenNoSteps

        public JobFlowInstancesDetail withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)

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

        Parameters:
        keepJobFlowAliveWhenNoSteps - Specifies whether the cluster should remain available after completing all steps.
        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.

        Returns:
        Specifies whether the cluster should remain available after completing all steps.
      • setTerminationProtected

        public void setTerminationProtected(Boolean terminationProtected)

        Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

        Parameters:
        terminationProtected - Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.
      • getTerminationProtected

        public Boolean getTerminationProtected()

        Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

        Returns:
        Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.
      • withTerminationProtected

        public JobFlowInstancesDetail withTerminationProtected(Boolean terminationProtected)

        Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

        Parameters:
        terminationProtected - Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, 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 the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

        Returns:
        Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, 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 JobFlowInstancesDetail 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)

        The Hadoop version for the cluster.

        Parameters:
        hadoopVersion - The Hadoop version for the cluster.
      • getHadoopVersion

        public String getHadoopVersion()

        The Hadoop version for the cluster.

        Returns:
        The Hadoop version for the cluster.
      • withHadoopVersion

        public JobFlowInstancesDetail withHadoopVersion(String hadoopVersion)

        The Hadoop version for the cluster.

        Parameters:
        hadoopVersion - The Hadoop version for the cluster.
        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 によって変換されたページ (->オリジナル) /