com.amazonaws.services.opsworks.model

## クラス CreateInstanceRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.opsworks.model.CreateInstanceRequest

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

      public class CreateInstanceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateInstance operation`.

  Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer .

  関連項目:
    `AWSOpsWorks.createInstance(CreateInstanceRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateInstanceRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAmiId()` A custom AMI ID to be used to create the instance.
    `java.lang.String` | `getArchitecture()` The instance architecture.
    `java.lang.String` | `getAutoScalingType()` The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
    `java.lang.String` | `getAvailabilityZone()` The instance Availability Zone.
    `java.lang.String` | `getHostname()` The instance host name.
    `java.lang.Boolean` | `getInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `java.lang.String` | `getInstanceType()` The instance type.
    `java.util.List<java.lang.String>` | `getLayerIds()` An array that contains the instance layer IDs.
    `java.lang.String` | `getOs()` The instance operating system, which must be set to one of the following.
    `java.lang.String` | `getRootDeviceType()` The instance root device type.
    `java.lang.String` | `getSshKeyName()` The instance SSH key name.
    `java.lang.String` | `getStackId()` The stack ID.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `void` | `setAmiId(java.lang.String amiId)` A custom AMI ID to be used to create the instance.
    `void` | `setArchitecture(Architecture architecture)` The instance architecture.
    `void` | `setArchitecture(java.lang.String architecture)` The instance architecture.
    `void` | `setAutoScalingType(AutoScalingType autoScalingType)` The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
    `void` | `setAutoScalingType(java.lang.String autoScalingType)` The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` The instance Availability Zone.
    `void` | `setHostname(java.lang.String hostname)` The instance host name.
    `void` | `setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `void` | `setInstanceType(java.lang.String instanceType)` The instance type.
    `void` | `setLayerIds(java.util.Collection<java.lang.String> layerIds)` An array that contains the instance layer IDs.
    `void` | `setOs(java.lang.String os)` The instance operating system, which must be set to one of the following.
    `void` | `setRootDeviceType(RootDeviceType rootDeviceType)` The instance root device type.
    `void` | `setRootDeviceType(java.lang.String rootDeviceType)` The instance root device type.
    `void` | `setSshKeyName(java.lang.String sshKeyName)` The instance SSH key name.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateInstanceRequest` | `withAmiId(java.lang.String amiId)` A custom AMI ID to be used to create the instance.
    `CreateInstanceRequest` | `withArchitecture(Architecture architecture)` The instance architecture.
    `CreateInstanceRequest` | `withArchitecture(java.lang.String architecture)` The instance architecture.
    `CreateInstanceRequest` | `withAutoScalingType(AutoScalingType autoScalingType)` The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
    `CreateInstanceRequest` | `withAutoScalingType(java.lang.String autoScalingType)` The instance auto scaling type, which has three possible values: AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
    `CreateInstanceRequest` | `withAvailabilityZone(java.lang.String availabilityZone)` The instance Availability Zone.
    `CreateInstanceRequest` | `withHostname(java.lang.String hostname)` The instance host name.
    `CreateInstanceRequest` | `withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `CreateInstanceRequest` | `withInstanceType(java.lang.String instanceType)` The instance type.
    `CreateInstanceRequest` | `withLayerIds(java.util.Collection<java.lang.String> layerIds)` An array that contains the instance layer IDs.
    `CreateInstanceRequest` | `withLayerIds(java.lang.String... layerIds)` An array that contains the instance layer IDs.
    `CreateInstanceRequest` | `withOs(java.lang.String os)` The instance operating system, which must be set to one of the following.
    `CreateInstanceRequest` | `withRootDeviceType(RootDeviceType rootDeviceType)` The instance root device type.
    `CreateInstanceRequest` | `withRootDeviceType(java.lang.String rootDeviceType)` The instance root device type.
    `CreateInstanceRequest` | `withSshKeyName(java.lang.String sshKeyName)` The instance SSH key name.
    `CreateInstanceRequest` | `withStackId(java.lang.String stackId)` The stack ID.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateInstanceRequest

          public CreateInstanceRequest()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      The stack ID.
      戻り値:
        The stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      The stack ID.
      パラメータ:
        `stackId` - The stack ID.

    - #### withStackId

          public CreateInstanceRequest withStackId(java.lang.String stackId)

      The stack ID.

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

      パラメータ:
        `stackId` - The stack ID.

    - #### getLayerIds

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

      An array that contains the instance layer IDs.
      戻り値:
        An array that contains the instance layer IDs.

    - #### setLayerIds

          public void setLayerIds(java.util.Collection<java.lang.String> layerIds)

      An array that contains the instance layer IDs.
      パラメータ:
        `layerIds` - An array that contains the instance layer IDs.

    - #### withLayerIds

          public CreateInstanceRequest withLayerIds(java.lang.String... layerIds)

      An array that contains the instance layer IDs.

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

      パラメータ:
        `layerIds` - An array that contains the instance layer IDs.

    - #### withLayerIds

          public CreateInstanceRequest withLayerIds(java.util.Collection<java.lang.String> layerIds)

      An array that contains the instance layer IDs.

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

      パラメータ:
        `layerIds` - An array that contains the instance layer IDs.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.
      戻り値:
        The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.
      パラメータ:
        `instanceType` - The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

    - #### withInstanceType

          public CreateInstanceRequest withInstanceType(java.lang.String instanceType)

      The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

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

      パラメータ:
        `instanceType` - The instance type. AWS OpsWorks supports all instance types except Cluster Compute, Cluster GPU, and High Memory Cluster. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.

    - #### getAutoScalingType

          public java.lang.String getAutoScalingType()

      The instance auto scaling type, which has three possible values:
      - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
      - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
      - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.

      Constraints:
      Allowed Values: load, timer

      戻り値:
        The instance auto scaling type, which has three possible values:
        - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
        - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
        - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
      関連項目:
        `AutoScalingType`

    - #### setAutoScalingType

          public void setAutoScalingType(java.lang.String autoScalingType)

      The instance auto scaling type, which has three possible values:
      - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
      - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
      - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `autoScalingType` - The instance auto scaling type, which has three possible values:
        - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
        - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
        - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
      関連項目:
        `AutoScalingType`

    - #### withAutoScalingType

          public CreateInstanceRequest withAutoScalingType(java.lang.String autoScalingType)

      The instance auto scaling type, which has three possible values:
      - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
      - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
      - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.

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

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `autoScalingType` - The instance auto scaling type, which has three possible values:
        - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
        - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
        - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
      関連項目:
        `AutoScalingType`

    - #### setAutoScalingType

          public void setAutoScalingType(AutoScalingType autoScalingType)

      The instance auto scaling type, which has three possible values:
      - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
      - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
      - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `autoScalingType` - The instance auto scaling type, which has three possible values:
        - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
        - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
        - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
      関連項目:
        `AutoScalingType`

    - #### withAutoScalingType

          public CreateInstanceRequest withAutoScalingType(AutoScalingType autoScalingType)

      The instance auto scaling type, which has three possible values:
      - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
      - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
      - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.

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

      Constraints:
      Allowed Values: load, timer

      パラメータ:
        `autoScalingType` - The instance auto scaling type, which has three possible values:
        - AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
        - TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
        - LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
      関連項目:
        `AutoScalingType`

    - #### getHostname

          public java.lang.String getHostname()

      The instance host name.
      戻り値:
        The instance host name.

    - #### setHostname

          public void setHostname(java.lang.String hostname)

      The instance host name.
      パラメータ:
        `hostname` - The instance host name.

    - #### withHostname

          public CreateInstanceRequest withHostname(java.lang.String hostname)

      The instance host name.

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

      パラメータ:
        `hostname` - The instance host name.

    - #### getOs

          public java.lang.String getOs()

      The instance operating system, which must be set to one of the following.
      - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
      - Custom AMIs: `Custom`

      The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

      戻り値:
        The instance operating system, which must be set to one of the following.
        - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
        - Custom AMIs: `Custom`

        The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

    - #### setOs

          public void setOs(java.lang.String os)

      The instance operating system, which must be set to one of the following.
      - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
      - Custom AMIs: `Custom`

      The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

      パラメータ:
        `os` - The instance operating system, which must be set to one of the following.
        - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
        - Custom AMIs: `Custom`

        The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

    - #### withOs

          public CreateInstanceRequest withOs(java.lang.String os)

      The instance operating system, which must be set to one of the following.
      - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
      - Custom AMIs: `Custom`

      The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

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

      パラメータ:
        `os` - The instance operating system, which must be set to one of the following.
        - Standard operating systems: `Amazon Linux` or `Ubuntu 12.04 LTS`
        - Custom AMIs: `Custom`

        The default option is `Amazon Linux`. If you set this parameter to `Custom`, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. For more information on the standard operating systems, see Operating SystemsFor more information on how to use custom AMIs with OpsWorks, see Using Custom AMIs.

    - #### getAmiId

          public java.lang.String getAmiId()

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances
      戻り値:
        A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### setAmiId

          public void setAmiId(java.lang.String amiId)

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances
      パラメータ:
        `amiId` - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### withAmiId

          public CreateInstanceRequest withAmiId(java.lang.String amiId)

      A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

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

      パラメータ:
        `amiId` - A custom AMI ID to be used to create the instance. The AMI should be based on one of the standard AWS OpsWorks APIs: Amazon Linux or Ubuntu 12.04 LTS. For more information, see Instances

    - #### getSshKeyName

          public java.lang.String getSshKeyName()

      The instance SSH key name.
      戻り値:
        The instance SSH key name.

    - #### setSshKeyName

          public void setSshKeyName(java.lang.String sshKeyName)

      The instance SSH key name.
      パラメータ:
        `sshKeyName` - The instance SSH key name.

    - #### withSshKeyName

          public CreateInstanceRequest withSshKeyName(java.lang.String sshKeyName)

      The instance SSH key name.

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

      パラメータ:
        `sshKeyName` - The instance SSH key name.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      The instance Availability Zone. For more information, see Regions and Endpoints.
      戻り値:
        The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      The instance Availability Zone. For more information, see Regions and Endpoints.
      パラメータ:
        `availabilityZone` - The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### withAvailabilityZone

          public CreateInstanceRequest withAvailabilityZone(java.lang.String availabilityZone)

      The instance Availability Zone. For more information, see Regions and Endpoints.

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

      パラメータ:
        `availabilityZone` - The instance Availability Zone. For more information, see Regions and Endpoints.

    - #### getArchitecture

          public java.lang.String getArchitecture()

      The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

      Constraints:
      Allowed Values: x86_64, i386

      戻り値:
        The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
      関連項目:
        `Architecture`

    - #### setArchitecture

          public void setArchitecture(java.lang.String architecture)

      The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
      関連項目:
        `Architecture`

    - #### withArchitecture

          public CreateInstanceRequest withArchitecture(java.lang.String architecture)

      The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

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

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
      関連項目:
        `Architecture`

    - #### setArchitecture

          public void setArchitecture(Architecture architecture)

      The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
      関連項目:
        `Architecture`

    - #### withArchitecture

          public CreateInstanceRequest withArchitecture(Architecture architecture)

      The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.

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

      Constraints:
      Allowed Values: x86_64, i386

      パラメータ:
        `architecture` - The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
      関連項目:
        `Architecture`

    - #### getRootDeviceType

          public java.lang.String getRootDeviceType()

      The instance root device type. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      戻り値:
        The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### setRootDeviceType

          public void setRootDeviceType(java.lang.String rootDeviceType)

      The instance root device type. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### withRootDeviceType

          public CreateInstanceRequest withRootDeviceType(java.lang.String rootDeviceType)

      The instance root device type. For more information, see Storage for the Root Device.

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

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### setRootDeviceType

          public void setRootDeviceType(RootDeviceType rootDeviceType)

      The instance root device type. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### withRootDeviceType

          public CreateInstanceRequest withRootDeviceType(RootDeviceType rootDeviceType)

      The instance root device type. For more information, see Storage for the Root Device.

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

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `rootDeviceType` - The instance root device type. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### isInstallUpdatesOnBoot

          public java.lang.Boolean isInstallUpdatesOnBoot()

      Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      戻り値:
        Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### setInstallUpdatesOnBoot

          public void setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)

      Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      パラメータ:
        `installUpdatesOnBoot` - Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### withInstallUpdatesOnBoot

          public CreateInstanceRequest withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)

      Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

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

      パラメータ:
        `installUpdatesOnBoot` - Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

    - #### getInstallUpdatesOnBoot

          public java.lang.Boolean getInstallUpdatesOnBoot()

      Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.
      戻り値:
        Whether to install operating system and package updates when the instance boots. The default value is `true`. To control when updates are installed, set this value to `false`. You must then update your instances manually by using CreateDeployment to run the `update_dependencies` stack command or manually running `yum` (Amazon Linux) or `apt-get` (Ubuntu) on the instances. We strongly recommend using the default value of `true`, to ensure that your instances have the latest security updates.

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