com.amazonaws.services.ec2.model

## クラス StartInstancesRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.StartInstancesRequest

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

      public class StartInstancesRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `StartInstances operation`.

  Starts an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.

  NOTE: Performing this operation on an instance that uses an instance store as its root device returns an error.

  関連項目:
    `AmazonEC2.startInstances(StartInstancesRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAdditionalInfo()` Returns the value of the AdditionalInfo property for this object.
    `java.util.List<java.lang.String>` | `getInstanceIds()` The list of Amazon EC2 instances to start.
    `int` | `hashCode()`
    `void` | `setAdditionalInfo(java.lang.String additionalInfo)` Sets the value of the AdditionalInfo property for this object.
    `void` | `setInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The list of Amazon EC2 instances to start.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `StartInstancesRequest` | `withAdditionalInfo(java.lang.String additionalInfo)` Sets the value of the AdditionalInfo property for this object.
    `StartInstancesRequest` | `withInstanceIds(java.util.Collection<java.lang.String> instanceIds)` The list of Amazon EC2 instances to start.
    `StartInstancesRequest` | `withInstanceIds(java.lang.String... instanceIds)` The list of Amazon EC2 instances to start.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### StartInstancesRequest

          public StartInstancesRequest()

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

    - #### StartInstancesRequest

          public StartInstancesRequest(java.util.List<java.lang.String> instanceIds)

      Constructs a new StartInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceIds` - The list of Amazon EC2 instances to start.

  - ### メソッドの詳細

    - #### getInstanceIds

          public java.util.List<java.lang.String> getInstanceIds()

      The list of Amazon EC2 instances to start.
      戻り値:
        The list of Amazon EC2 instances to start.

    - #### setInstanceIds

          public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)

      The list of Amazon EC2 instances to start.
      パラメータ:
        `instanceIds` - The list of Amazon EC2 instances to start.

    - #### withInstanceIds

          public StartInstancesRequest withInstanceIds(java.lang.String... instanceIds)

      The list of Amazon EC2 instances to start.

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

      パラメータ:
        `instanceIds` - The list of Amazon EC2 instances to start.

    - #### withInstanceIds

          public StartInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)

      The list of Amazon EC2 instances to start.

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

      パラメータ:
        `instanceIds` - The list of Amazon EC2 instances to start.

    - #### getAdditionalInfo

          public java.lang.String getAdditionalInfo()

      Returns the value of the AdditionalInfo property for this object.
      戻り値:
        The value of the AdditionalInfo property for this object.

    - #### setAdditionalInfo

          public void setAdditionalInfo(java.lang.String additionalInfo)

      Sets the value of the AdditionalInfo property for this object.
      パラメータ:
        `additionalInfo` - The new value for the AdditionalInfo property for this object.

    - #### withAdditionalInfo

          public StartInstancesRequest withAdditionalInfo(java.lang.String additionalInfo)

      Sets the value of the AdditionalInfo property for this object.

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

      パラメータ:
        `additionalInfo` - The new value for the AdditionalInfo property for this object.

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