com.amazonaws.services.elasticmapreduce.model

## クラス InstanceGroupDetail

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

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

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

  Detailed information about an instance group.

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

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

    コンストラクタ
    コンストラクタと説明
    `InstanceGroupDetail()` Default constructor for a new InstanceGroupDetail object.
    `InstanceGroupDetail(InstanceRoleType instanceRole, java.lang.String instanceType, java.lang.Integer instanceRequestCount, java.lang.Integer instanceRunningCount, InstanceGroupState state, java.util.Date creationDateTime)` Constructs a new InstanceGroupDetail object.
    `InstanceGroupDetail(java.lang.String instanceRole, java.lang.String instanceType, java.lang.Integer instanceRequestCount, java.lang.Integer instanceRunningCount, java.lang.String state, java.util.Date creationDateTime)` Constructs a new InstanceGroupDetail object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBidPrice()` Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
    `java.util.Date` | `getCreationDateTime()` The date/time the instance group was created.
    `java.util.Date` | `getEndDateTime()` The date/time the instance group was terminated.
    `java.lang.String` | `getInstanceGroupId()` Unique identifier for the instance group.
    `java.lang.Integer` | `getInstanceRequestCount()` Target number of instances to run in the instance group.
    `java.lang.String` | `getInstanceRole()` Instance group role in the cluster Constraints: Allowed Values: MASTER, CORE, TASK
    `java.lang.Integer` | `getInstanceRunningCount()` Actual count of running instances.
    `java.lang.String` | `getInstanceType()` Amazon EC2 Instance type.
    `java.lang.String` | `getLastStateChangeReason()` Details regarding the state of 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 for the instance group.
    `java.util.Date` | `getReadyDateTime()` The date/time the instance group was available to the cluster.
    `java.util.Date` | `getStartDateTime()` The date/time the instance group was started.
    `java.lang.String` | `getState()` State of instance group.
    `int` | `hashCode()`
    `void` | `setBidPrice(java.lang.String bidPrice)` Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
    `void` | `setCreationDateTime(java.util.Date creationDateTime)` The date/time the instance group was created.
    `void` | `setEndDateTime(java.util.Date endDateTime)` The date/time the instance group was terminated.
    `void` | `setInstanceGroupId(java.lang.String instanceGroupId)` Unique identifier for the instance group.
    `void` | `setInstanceRequestCount(java.lang.Integer instanceRequestCount)` Target number of instances to run in the instance group.
    `void` | `setInstanceRole(InstanceRoleType instanceRole)` Instance group role in the cluster Constraints: Allowed Values: MASTER, CORE, TASK
    `void` | `setInstanceRole(java.lang.String instanceRole)` Instance group role in the cluster Constraints: Allowed Values: MASTER, CORE, TASK
    `void` | `setInstanceRunningCount(java.lang.Integer instanceRunningCount)` Actual count of running instances.
    `void` | `setInstanceType(java.lang.String instanceType)` Amazon EC2 Instance type.
    `void` | `setLastStateChangeReason(java.lang.String lastStateChangeReason)` Details regarding the state of 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 for the instance group.
    `void` | `setReadyDateTime(java.util.Date readyDateTime)` The date/time the instance group was available to the cluster.
    `void` | `setStartDateTime(java.util.Date startDateTime)` The date/time the instance group was started.
    `void` | `setState(InstanceGroupState state)` State of instance group.
    `void` | `setState(java.lang.String state)` State of instance group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `InstanceGroupDetail` | `withBidPrice(java.lang.String bidPrice)` Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
    `InstanceGroupDetail` | `withCreationDateTime(java.util.Date creationDateTime)` The date/time the instance group was created.
    `InstanceGroupDetail` | `withEndDateTime(java.util.Date endDateTime)` The date/time the instance group was terminated.
    `InstanceGroupDetail` | `withInstanceGroupId(java.lang.String instanceGroupId)` Unique identifier for the instance group.
    `InstanceGroupDetail` | `withInstanceRequestCount(java.lang.Integer instanceRequestCount)` Target number of instances to run in the instance group.
    `InstanceGroupDetail` | `withInstanceRole(InstanceRoleType instanceRole)` Instance group role in the cluster Returns a reference to this object so that method calls can be chained together.
    `InstanceGroupDetail` | `withInstanceRole(java.lang.String instanceRole)` Instance group role in the cluster Returns a reference to this object so that method calls can be chained together.
    `InstanceGroupDetail` | `withInstanceRunningCount(java.lang.Integer instanceRunningCount)` Actual count of running instances.
    `InstanceGroupDetail` | `withInstanceType(java.lang.String instanceType)` Amazon EC2 Instance type.
    `InstanceGroupDetail` | `withLastStateChangeReason(java.lang.String lastStateChangeReason)` Details regarding the state of the instance group.
    `InstanceGroupDetail` | `withMarket(MarketType market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `InstanceGroupDetail` | `withMarket(java.lang.String market)` Market type of the Amazon EC2 instances used to create a cluster node.
    `InstanceGroupDetail` | `withName(java.lang.String name)` Friendly name for the instance group.
    `InstanceGroupDetail` | `withReadyDateTime(java.util.Date readyDateTime)` The date/time the instance group was available to the cluster.
    `InstanceGroupDetail` | `withStartDateTime(java.util.Date startDateTime)` The date/time the instance group was started.
    `InstanceGroupDetail` | `withState(InstanceGroupState state)` State of instance group.
    `InstanceGroupDetail` | `withState(java.lang.String state)` State of instance group.

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

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

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

    - #### InstanceGroupDetail

          public InstanceGroupDetail()

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

    - #### InstanceGroupDetail

          public InstanceGroupDetail(java.lang.String instanceRole,
                             java.lang.String instanceType,
                             java.lang.Integer instanceRequestCount,
                             java.lang.Integer instanceRunningCount,
                             java.lang.String state,
                             java.util.Date creationDateTime)

      Constructs a new InstanceGroupDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceRole` - Instance group role in the cluster
        `instanceType` - Amazon EC2 Instance type.
        `instanceRequestCount` - Target number of instances to run in the instance group.
        `instanceRunningCount` - Actual count of running instances.
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
        `creationDateTime` - The date/time the instance group was created.

    - #### InstanceGroupDetail

          public InstanceGroupDetail(InstanceRoleType instanceRole,
                             java.lang.String instanceType,
                             java.lang.Integer instanceRequestCount,
                             java.lang.Integer instanceRunningCount,
                             InstanceGroupState state,
                             java.util.Date creationDateTime)

      Constructs a new InstanceGroupDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceRole` - Instance group role in the cluster
        `instanceType` - Amazon EC2 Instance type.
        `instanceRequestCount` - Target number of instances to run in the instance group.
        `instanceRunningCount` - Actual count of running instances.
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
        `creationDateTime` - The date/time the instance group was created.

  - ### メソッドの詳細

    - #### getInstanceGroupId

          public java.lang.String getInstanceGroupId()

      Unique identifier for the instance group.

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

      戻り値:
        Unique identifier for the instance group.

    - #### setInstanceGroupId

          public void setInstanceGroupId(java.lang.String instanceGroupId)

      Unique identifier for the instance group.

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

      パラメータ:
        `instanceGroupId` - Unique identifier for the instance group.

    - #### withInstanceGroupId

          public InstanceGroupDetail withInstanceGroupId(java.lang.String instanceGroupId)

      Unique identifier for 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]*

      パラメータ:
        `instanceGroupId` - Unique identifier for the instance group.

    - #### getName

          public java.lang.String getName()

      Friendly name for the instance group.

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

      戻り値:
        Friendly name for the instance group.

    - #### setName

          public void setName(java.lang.String name)

      Friendly name for the instance group.

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

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

    - #### withName

          public InstanceGroupDetail withName(java.lang.String name)

      Friendly name for 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 for 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 InstanceGroupDetail 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 InstanceGroupDetail 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()

      Instance group role in the cluster

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      戻り値:
        Instance group role in the cluster
      関連項目:
        `InstanceRoleType`

    - #### setInstanceRole

          public void setInstanceRole(java.lang.String instanceRole)

      Instance group role in the cluster

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - Instance group role in the cluster
      関連項目:
        `InstanceRoleType`

    - #### withInstanceRole

          public InstanceGroupDetail withInstanceRole(java.lang.String instanceRole)

      Instance group role in the cluster

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

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - Instance group role in the cluster
      関連項目:
        `InstanceRoleType`

    - #### setInstanceRole

          public void setInstanceRole(InstanceRoleType instanceRole)

      Instance group role in the cluster

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - Instance group role in the cluster
      関連項目:
        `InstanceRoleType`

    - #### withInstanceRole

          public InstanceGroupDetail withInstanceRole(InstanceRoleType instanceRole)

      Instance group role in the cluster

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

      Constraints:
      Allowed Values: MASTER, CORE, TASK

      パラメータ:
        `instanceRole` - Instance group role in the cluster
      関連項目:
        `InstanceRoleType`

    - #### getBidPrice

          public java.lang.String getBidPrice()

      Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.

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

      戻り値:
        Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.

    - #### setBidPrice

          public void setBidPrice(java.lang.String bidPrice)

      Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.

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

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

    - #### withBidPrice

          public InstanceGroupDetail withBidPrice(java.lang.String bidPrice)

      Bid price for EC2 Instances 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 EC2 Instances when launching nodes as Spot Instances, expressed in USD.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      Amazon EC2 Instance type.

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

      戻り値:
        Amazon EC2 Instance type.

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      Amazon EC2 Instance type.

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

      パラメータ:
        `instanceType` - Amazon EC2 Instance type.

    - #### withInstanceType

          public InstanceGroupDetail withInstanceType(java.lang.String instanceType)

      Amazon EC2 Instance type.

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

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

      パラメータ:
        `instanceType` - Amazon EC2 Instance type.

    - #### getInstanceRequestCount

          public java.lang.Integer getInstanceRequestCount()

      Target number of instances to run in the instance group.
      戻り値:
        Target number of instances to run in the instance group.

    - #### setInstanceRequestCount

          public void setInstanceRequestCount(java.lang.Integer instanceRequestCount)

      Target number of instances to run in the instance group.
      パラメータ:
        `instanceRequestCount` - Target number of instances to run in the instance group.

    - #### withInstanceRequestCount

          public InstanceGroupDetail withInstanceRequestCount(java.lang.Integer instanceRequestCount)

      Target number of instances to run in the instance group.

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

      パラメータ:
        `instanceRequestCount` - Target number of instances to run in the instance group.

    - #### getInstanceRunningCount

          public java.lang.Integer getInstanceRunningCount()

      Actual count of running instances.
      戻り値:
        Actual count of running instances.

    - #### setInstanceRunningCount

          public void setInstanceRunningCount(java.lang.Integer instanceRunningCount)

      Actual count of running instances.
      パラメータ:
        `instanceRunningCount` - Actual count of running instances.

    - #### withInstanceRunningCount

          public InstanceGroupDetail withInstanceRunningCount(java.lang.Integer instanceRunningCount)

      Actual count of running instances.

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

      パラメータ:
        `instanceRunningCount` - Actual count of running instances.

    - #### getState

          public java.lang.String getState()

      State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

      Constraints:
      Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED

      戻り値:
        State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
      関連項目:
        `InstanceGroupState`

    - #### setState

          public void setState(java.lang.String state)

      State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

      Constraints:
      Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED

      パラメータ:
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
      関連項目:
        `InstanceGroupState`

    - #### withState

          public InstanceGroupDetail withState(java.lang.String state)

      State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

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

      Constraints:
      Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED

      パラメータ:
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
      関連項目:
        `InstanceGroupState`

    - #### setState

          public void setState(InstanceGroupState state)

      State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

      Constraints:
      Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED

      パラメータ:
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
      関連項目:
        `InstanceGroupState`

    - #### withState

          public InstanceGroupDetail withState(InstanceGroupState state)

      State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

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

      Constraints:
      Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED

      パラメータ:
        `state` - State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
      関連項目:
        `InstanceGroupState`

    - #### getLastStateChangeReason

          public java.lang.String getLastStateChangeReason()

      Details regarding the state of the instance group.

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

      戻り値:
        Details regarding the state of the instance group.

    - #### setLastStateChangeReason

          public void setLastStateChangeReason(java.lang.String lastStateChangeReason)

      Details regarding the state of the instance group.

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

      パラメータ:
        `lastStateChangeReason` - Details regarding the state of the instance group.

    - #### withLastStateChangeReason

          public InstanceGroupDetail withLastStateChangeReason(java.lang.String lastStateChangeReason)

      Details regarding the state of the instance group.

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

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

      パラメータ:
        `lastStateChangeReason` - Details regarding the state of the instance group.

    - #### getCreationDateTime

          public java.util.Date getCreationDateTime()

      The date/time the instance group was created.
      戻り値:
        The date/time the instance group was created.

    - #### setCreationDateTime

          public void setCreationDateTime(java.util.Date creationDateTime)

      The date/time the instance group was created.
      パラメータ:
        `creationDateTime` - The date/time the instance group was created.

    - #### withCreationDateTime

          public InstanceGroupDetail withCreationDateTime(java.util.Date creationDateTime)

      The date/time the instance group was created.

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

      パラメータ:
        `creationDateTime` - The date/time the instance group was created.

    - #### getStartDateTime

          public java.util.Date getStartDateTime()

      The date/time the instance group was started.
      戻り値:
        The date/time the instance group was started.

    - #### setStartDateTime

          public void setStartDateTime(java.util.Date startDateTime)

      The date/time the instance group was started.
      パラメータ:
        `startDateTime` - The date/time the instance group was started.

    - #### withStartDateTime

          public InstanceGroupDetail withStartDateTime(java.util.Date startDateTime)

      The date/time the instance group was started.

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

      パラメータ:
        `startDateTime` - The date/time the instance group was started.

    - #### getReadyDateTime

          public java.util.Date getReadyDateTime()

      The date/time the instance group was available to the cluster.
      戻り値:
        The date/time the instance group was available to the cluster.

    - #### setReadyDateTime

          public void setReadyDateTime(java.util.Date readyDateTime)

      The date/time the instance group was available to the cluster.
      パラメータ:
        `readyDateTime` - The date/time the instance group was available to the cluster.

    - #### withReadyDateTime

          public InstanceGroupDetail withReadyDateTime(java.util.Date readyDateTime)

      The date/time the instance group was available to the cluster.

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

      パラメータ:
        `readyDateTime` - The date/time the instance group was available to the cluster.

    - #### getEndDateTime

          public java.util.Date getEndDateTime()

      The date/time the instance group was terminated.
      戻り値:
        The date/time the instance group was terminated.

    - #### setEndDateTime

          public void setEndDateTime(java.util.Date endDateTime)

      The date/time the instance group was terminated.
      パラメータ:
        `endDateTime` - The date/time the instance group was terminated.

    - #### withEndDateTime

          public InstanceGroupDetail withEndDateTime(java.util.Date endDateTime)

      The date/time the instance group was terminated.

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

      パラメータ:
        `endDateTime` - The date/time the instance group was terminated.

    - #### 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`