com.amazonaws.services.elasticmapreduce.model

## クラス InstanceGroupConfig

- java.lang.Object
- - com.amazonaws.services.elasticmapreduce.model.InstanceGroupConfig

- すべての実装されたインタフェース:
    java.io.Serializable

      public class InstanceGroupConfig
      extends java.lang.Object
      implements java.io.Serializable

  Configuration defining a new instance group.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `InstanceGroupConfig()` Default constructor for a new InstanceGroupConfig object.
    `InstanceGroupConfig(InstanceRoleType instanceRole, java.lang.String instanceType, java.lang.Integer instanceCount)` Constructs a new InstanceGroupConfig object.
    `InstanceGroupConfig(java.lang.String instanceRole, java.lang.String instanceType, java.lang.Integer instanceCount)` Constructs a new InstanceGroupConfig object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBidPrice()` Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
    `java.lang.Integer` | `getInstanceCount()` Target number of instances for the instance group.
    `java.lang.String` | `getInstanceRole()` The role of the instance group in the cluster.
    `java.lang.String` | `getInstanceType()` The Amazon EC2 instance type for all instances in the instance group.
    `java.lang.String` | `getMarket()` Market type of the Amazon EC2 instances used to create a cluster node.
    `java.lang.String` | `getName()` Friendly name given to the instance group.
    `int` | `hashCode()`
    `void` | `setBidPrice(java.lang.String bidPrice)` Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
    `void` | `setInstanceCount(java.lang.Integer instanceCount)` Target number of instances for the instance group.
    `void` | `setInstanceRole(InstanceRoleType instanceRole)` The role of the instance group in the cluster.
    `void` | `setInstanceRole(java.lang.String instanceRole)` The role of the instance group in the cluster.
    `void` | `setInstanceType(java.lang.String instanceType)` The Amazon EC2 instance type for all instances in the instance group.
    `void` | `setMarket(MarketType market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `void` | `setMarket(java.lang.String market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `void` | `setName(java.lang.String name)` Friendly name given to the instance group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceGroupConfig` | `withBidPrice(java.lang.String bidPrice)` Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
    `InstanceGroupConfig` | `withInstanceCount(java.lang.Integer instanceCount)` Target number of instances for the instance group.
    `InstanceGroupConfig` | `withInstanceRole(InstanceRoleType instanceRole)` The role of the instance group in the cluster.
    `InstanceGroupConfig` | `withInstanceRole(java.lang.String instanceRole)` The role of the instance group in the cluster.
    `InstanceGroupConfig` | `withInstanceType(java.lang.String instanceType)` The Amazon EC2 instance type for all instances in the instance group.
    `InstanceGroupConfig` | `withMarket(MarketType market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `InstanceGroupConfig` | `withMarket(java.lang.String market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `InstanceGroupConfig` | `withName(java.lang.String name)` Friendly name given to the instance group.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### InstanceGroupConfig

          public InstanceGroupConfig()

      Default constructor for a new InstanceGroupConfig object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### InstanceGroupConfig

          public InstanceGroupConfig(java.lang.String instanceRole,
                             java.lang.String instanceType,
                             java.lang.Integer instanceCount)

      Constructs a new InstanceGroupConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
        `instanceType` - The Amazon EC2 instance type for all instances in the instance group.
        `instanceCount` - Target number of instances for the instance group.

    - #### InstanceGroupConfig

          public InstanceGroupConfig(InstanceRoleType instanceRole,
                             java.lang.String instanceType,
                             java.lang.Integer instanceCount)

      Constructs a new InstanceGroupConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
        `instanceType` - The Amazon EC2 instance type for all instances in the instance group.
        `instanceCount` - Target number of instances for the instance group.

  - ### メソッドの詳細

    - #### getName

          public java.lang.String getName()

      Friendly name given to the instance group.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Friendly name given to the instance group.

    - #### setName

          public void setName(java.lang.String name)

      Friendly name given to the instance group.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `name` - Friendly name given to the instance group.

    - #### withName

          public InstanceGroupConfig withName(java.lang.String name)

      Friendly name given to the instance group.

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

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `name` - Friendly name given to the instance group.

    - #### getMarket

          public java.lang.String getMarket()

      Market type of the Amazon EC2 instances used to create a cluster node.

      Constraints:
      Allowed Values: ON_DEMAND, SPOT

      戻り値:
        Market type of the Amazon EC2 instances used to create a cluster node.
      関連項目:
        `MarketType`

    - #### setMarket

          public void setMarket(java.lang.String market)

      Market type of the Amazon EC2 instances used to create a cluster node.

      Constraints:
      Allowed Values: ON_DEMAND, SPOT

      パラメータ:
        `market` - Market type of the Amazon EC2 instances used to create a cluster node.
      関連項目:
        `MarketType`

    - #### withMarket

          public InstanceGroupConfig withMarket(java.lang.String market)

      Market type of the Amazon EC2 instances used to create a cluster node.

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

      Constraints:
      Allowed Values: ON_DEMAND, SPOT

      パラメータ:
        `market` - Market type of the Amazon EC2 instances used to create a cluster node.
      関連項目:
        `MarketType`

    - #### setMarket

          public void setMarket(MarketType market)

      Market type of the Amazon EC2 instances used to create a cluster node.

      Constraints:
      Allowed Values: ON_DEMAND, SPOT

      パラメータ:
        `market` - Market type of the Amazon EC2 instances used to create a cluster node.
      関連項目:
        `MarketType`

    - #### withMarket

          public InstanceGroupConfig withMarket(MarketType market)

      Market type of the Amazon EC2 instances used to create a cluster node.

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

      Constraints:
      Allowed Values: ON_DEMAND, SPOT

      パラメータ:
        `market` - Market type of the Amazon EC2 instances used to create a cluster node.
      関連項目:
        `MarketType`

    - #### getInstanceRole

          public java.lang.String getInstanceRole()

      The role of the instance group in the cluster.

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      戻り値:
        The role of the instance group in the cluster.
      関連項目:
        `InstanceRoleType`

    - #### setInstanceRole

          public void setInstanceRole(java.lang.String instanceRole)

      The role of the instance group in the cluster.

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
      関連項目:
        `InstanceRoleType`

    - #### withInstanceRole

          public InstanceGroupConfig withInstanceRole(java.lang.String instanceRole)

      The role of the instance group in the cluster.

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

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
      関連項目:
        `InstanceRoleType`

    - #### setInstanceRole

          public void setInstanceRole(InstanceRoleType instanceRole)

      The role of the instance group in the cluster.

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
      関連項目:
        `InstanceRoleType`

    - #### withInstanceRole

          public InstanceGroupConfig withInstanceRole(InstanceRoleType instanceRole)

      The role of the instance group in the cluster.

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

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - The role of the instance group in the cluster.
      関連項目:
        `InstanceRoleType`

    - #### getBidPrice

          public java.lang.String getBidPrice()

      Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

    - #### setBidPrice

          public void setBidPrice(java.lang.String bidPrice)

      Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `bidPrice` - Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

    - #### withBidPrice

          public InstanceGroupConfig withBidPrice(java.lang.String bidPrice)

      Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

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

      Constraints:
      Length: 0 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `bidPrice` - Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      The Amazon EC2 instance type for all instances in the instance group.

      Constraints:
      Length: 1 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The Amazon EC2 instance type for all instances in the instance group.

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      The Amazon EC2 instance type for all instances in the instance group.

      Constraints:
      Length: 1 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `instanceType` - The Amazon EC2 instance type for all instances in the instance group.

    - #### withInstanceType

          public InstanceGroupConfig withInstanceType(java.lang.String instanceType)

      The Amazon EC2 instance type for all instances in the instance group.

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

      Constraints:
      Length: 1 - 256
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `instanceType` - The Amazon EC2 instance type for all instances in the instance group.

    - #### getInstanceCount

          public java.lang.Integer getInstanceCount()

      Target number of instances for the instance group.
      戻り値:
        Target number of instances for the instance group.

    - #### setInstanceCount

          public void setInstanceCount(java.lang.Integer instanceCount)

      Target number of instances for the instance group.
      パラメータ:
        `instanceCount` - Target number of instances for the instance group.

    - #### withInstanceCount

          public InstanceGroupConfig withInstanceCount(java.lang.Integer instanceCount)

      Target number of instances for the instance group.

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

      パラメータ:
        `instanceCount` - Target number of instances for the instance group.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`