com.amazonaws.services.elasticmapreduce.model

## クラス AddInstanceGroupsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsRequest

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

      public class AddInstanceGroupsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AddInstanceGroups operation`.

  AddInstanceGroups adds an instance group to a running cluster.

  関連項目:
    `AmazonElasticMapReduce.addInstanceGroups(AddInstanceGroupsRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `AddInstanceGroupsRequest()` Default constructor for a new AddInstanceGroupsRequest object.
    `AddInstanceGroupsRequest(java.util.List<InstanceGroupConfig> instanceGroups, java.lang.String jobFlowId)` Constructs a new AddInstanceGroupsRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<InstanceGroupConfig>` | `getInstanceGroups()` Instance Groups to add.
    `java.lang.String` | `getJobFlowId()` Job flow in which to add the instance groups.
    `int` | `hashCode()`
    `void` | `setInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)` Instance Groups to add.
    `void` | `setJobFlowId(java.lang.String jobFlowId)` Job flow in which to add the instance groups.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AddInstanceGroupsRequest` | `withInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)` Instance Groups to add.
    `AddInstanceGroupsRequest` | `withInstanceGroups(InstanceGroupConfig... instanceGroups)` Instance Groups to add.
    `AddInstanceGroupsRequest` | `withJobFlowId(java.lang.String jobFlowId)` Job flow in which to add the instance groups.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AddInstanceGroupsRequest

          public AddInstanceGroupsRequest()

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

    - #### AddInstanceGroupsRequest

          public AddInstanceGroupsRequest(java.util.List<InstanceGroupConfig> instanceGroups,
                                  java.lang.String jobFlowId)

      Constructs a new AddInstanceGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceGroups` - Instance Groups to add.
        `jobFlowId` - Job flow in which to add the instance groups.

  - ### メソッドの詳細

    - #### getInstanceGroups

          public java.util.List<InstanceGroupConfig> getInstanceGroups()

      Instance Groups to add.
      戻り値:
        Instance Groups to add.

    - #### setInstanceGroups

          public void setInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)

      Instance Groups to add.
      パラメータ:
        `instanceGroups` - Instance Groups to add.

    - #### withInstanceGroups

          public AddInstanceGroupsRequest withInstanceGroups(InstanceGroupConfig... instanceGroups)

      Instance Groups to add.

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

      パラメータ:
        `instanceGroups` - Instance Groups to add.

    - #### withInstanceGroups

          public AddInstanceGroupsRequest withInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)

      Instance Groups to add.

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

      パラメータ:
        `instanceGroups` - Instance Groups to add.

    - #### getJobFlowId

          public java.lang.String getJobFlowId()

      Job flow in which to add the instance groups.

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

      戻り値:
        Job flow in which to add the instance groups.

    - #### setJobFlowId

          public void setJobFlowId(java.lang.String jobFlowId)

      Job flow in which to add the instance groups.

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

      パラメータ:
        `jobFlowId` - Job flow in which to add the instance groups.

    - #### withJobFlowId

          public AddInstanceGroupsRequest withJobFlowId(java.lang.String jobFlowId)

      Job flow in which to add the instance groups.

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

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

      パラメータ:
        `jobFlowId` - Job flow in which to add the instance groups.

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