com.amazonaws.services.opsworks.model

## クラス Stack

- java.lang.Object
- - com.amazonaws.services.opsworks.model.Stack

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

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

  Describes a stack.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `Stack` | `addAttributesEntry(java.lang.String key, java.lang.String value)` The contents of the stack's attributes bag.
    `Stack` | `clearAttributesEntries()` Removes all the entries added into Attributes.
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.Map<java.lang.String,java.lang.String>` | `getAttributes()` The contents of the stack's attributes bag.
    `StackConfigurationManager` | `getConfigurationManager()` The configuration manager.
    `java.lang.String` | `getCreatedAt()` Date when the stack was created.
    `Source` | `getCustomCookbooksSource()` Contains the information required to retrieve an app or cookbook from a repository.
    `java.lang.String` | `getCustomJson()` A string that contains user-defined, custom JSON.
    `java.lang.String` | `getDefaultAvailabilityZone()` The stack's default Availability Zone.
    `java.lang.String` | `getDefaultInstanceProfileArn()` The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances.
    `java.lang.String` | `getDefaultOs()` The stack default operating system, which must be set to one of the following.
    `java.lang.String` | `getDefaultRootDeviceType()` The default root device type.
    `java.lang.String` | `getDefaultSshKeyName()` A default SSH key for the stack's instances.
    `java.lang.String` | `getHostnameTheme()` The stack host name theme, with spaces replaced by underscores.
    `java.lang.String` | `getName()` The stack name.
    `java.lang.String` | `getRegion()` The stack AWS region, such as "us-east-1".
    `java.lang.String` | `getServiceRoleArn()` The stack AWS Identity and Access Management (IAM) role.
    `java.lang.String` | `getStackId()` The stack ID.
    `java.lang.Boolean` | `getUseCustomCookbooks()` Whether the stack uses custom cookbooks.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isUseCustomCookbooks()` Whether the stack uses custom cookbooks.
    `void` | `setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` The contents of the stack's attributes bag.
    `void` | `setConfigurationManager(StackConfigurationManager configurationManager)` The configuration manager.
    `void` | `setCreatedAt(java.lang.String createdAt)` Date when the stack was created.
    `void` | `setCustomCookbooksSource(Source customCookbooksSource)` Contains the information required to retrieve an app or cookbook from a repository.
    `void` | `setCustomJson(java.lang.String customJson)` A string that contains user-defined, custom JSON.
    `void` | `setDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)` The stack's default Availability Zone.
    `void` | `setDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)` The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances.
    `void` | `setDefaultOs(java.lang.String defaultOs)` The stack default operating system, which must be set to one of the following.
    `void` | `setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)` The default root device type.
    `void` | `setDefaultRootDeviceType(java.lang.String defaultRootDeviceType)` The default root device type.
    `void` | `setDefaultSshKeyName(java.lang.String defaultSshKeyName)` A default SSH key for the stack's instances.
    `void` | `setHostnameTheme(java.lang.String hostnameTheme)` The stack host name theme, with spaces replaced by underscores.
    `void` | `setName(java.lang.String name)` The stack name.
    `void` | `setRegion(java.lang.String region)` The stack AWS region, such as "us-east-1".
    `void` | `setServiceRoleArn(java.lang.String serviceRoleArn)` The stack AWS Identity and Access Management (IAM) role.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `void` | `setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)` Whether the stack uses custom cookbooks.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Stack` | `withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` The contents of the stack's attributes bag.
    `Stack` | `withConfigurationManager(StackConfigurationManager configurationManager)` The configuration manager.
    `Stack` | `withCreatedAt(java.lang.String createdAt)` Date when the stack was created.
    `Stack` | `withCustomCookbooksSource(Source customCookbooksSource)` Contains the information required to retrieve an app or cookbook from a repository.
    `Stack` | `withCustomJson(java.lang.String customJson)` A string that contains user-defined, custom JSON.
    `Stack` | `withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)` The stack's default Availability Zone.
    `Stack` | `withDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)` The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances.
    `Stack` | `withDefaultOs(java.lang.String defaultOs)` The stack default operating system, which must be set to one of the following.
    `Stack` | `withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)` The default root device type.
    `Stack` | `withDefaultRootDeviceType(java.lang.String defaultRootDeviceType)` The default root device type.
    `Stack` | `withDefaultSshKeyName(java.lang.String defaultSshKeyName)` A default SSH key for the stack's instances.
    `Stack` | `withHostnameTheme(java.lang.String hostnameTheme)` The stack host name theme, with spaces replaced by underscores.
    `Stack` | `withName(java.lang.String name)` The stack name.
    `Stack` | `withRegion(java.lang.String region)` The stack AWS region, such as "us-east-1".
    `Stack` | `withServiceRoleArn(java.lang.String serviceRoleArn)` The stack AWS Identity and Access Management (IAM) role.
    `Stack` | `withStackId(java.lang.String stackId)` The stack ID.
    `Stack` | `withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)` Whether the stack uses custom cookbooks.

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

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

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

    - #### Stack

          public Stack()

  - ### メソッドの詳細

    - #### 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 Stack 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.

    - #### getName

          public java.lang.String getName()

      The stack name.
      戻り値:
        The stack name.

    - #### setName

          public void setName(java.lang.String name)

      The stack name.
      パラメータ:
        `name` - The stack name.

    - #### withName

          public Stack withName(java.lang.String name)

      The stack name.

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

      パラメータ:
        `name` - The stack name.

    - #### getRegion

          public java.lang.String getRegion()

      The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
      戻り値:
        The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.

    - #### setRegion

          public void setRegion(java.lang.String region)

      The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
      パラメータ:
        `region` - The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.

    - #### withRegion

          public Stack withRegion(java.lang.String region)

      The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.

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

      パラメータ:
        `region` - The stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.

    - #### getAttributes

          public java.util.Map<java.lang.String,java.lang.String> getAttributes()

      The contents of the stack's attributes bag.
      戻り値:
        The contents of the stack's attributes bag.

    - #### setAttributes

          public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)

      The contents of the stack's attributes bag.
      パラメータ:
        `attributes` - The contents of the stack's attributes bag.

    - #### withAttributes

          public Stack withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)

      The contents of the stack's attributes bag.

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

      パラメータ:
        `attributes` - The contents of the stack's attributes bag.

    - #### addAttributesEntry

          public Stack addAttributesEntry(java.lang.String key,
                                 java.lang.String value)

      The contents of the stack's attributes bag.

      The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into Attributes.
        `value` - The corresponding value of the entry to be added into Attributes.

    - #### clearAttributesEntries

          public Stack clearAttributesEntries()

      Removes all the entries added into Attributes.

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

    - #### getServiceRoleArn

          public java.lang.String getServiceRoleArn()

      The stack AWS Identity and Access Management (IAM) role.
      戻り値:
        The stack AWS Identity and Access Management (IAM) role.

    - #### setServiceRoleArn

          public void setServiceRoleArn(java.lang.String serviceRoleArn)

      The stack AWS Identity and Access Management (IAM) role.
      パラメータ:
        `serviceRoleArn` - The stack AWS Identity and Access Management (IAM) role.

    - #### withServiceRoleArn

          public Stack withServiceRoleArn(java.lang.String serviceRoleArn)

      The stack AWS Identity and Access Management (IAM) role.

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

      パラメータ:
        `serviceRoleArn` - The stack AWS Identity and Access Management (IAM) role.

    - #### getDefaultInstanceProfileArn

          public java.lang.String getDefaultInstanceProfileArn()

      The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      戻り値:
        The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### setDefaultInstanceProfileArn

          public void setDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)

      The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      パラメータ:
        `defaultInstanceProfileArn` - The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### withDefaultInstanceProfileArn

          public Stack withDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)

      The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

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

      パラメータ:
        `defaultInstanceProfileArn` - The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### getDefaultOs

          public java.lang.String getDefaultOs()

      The stack default 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 stack default 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.

    - #### setDefaultOs

          public void setDefaultOs(java.lang.String defaultOs)

      The stack default 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.

      パラメータ:
        `defaultOs` - The stack default 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.

    - #### withDefaultOs

          public Stack withDefaultOs(java.lang.String defaultOs)

      The stack default 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.

      パラメータ:
        `defaultOs` - The stack default 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.

    - #### getHostnameTheme

          public java.lang.String getHostnameTheme()

      The stack host name theme, with spaces replaced by underscores.
      戻り値:
        The stack host name theme, with spaces replaced by underscores.

    - #### setHostnameTheme

          public void setHostnameTheme(java.lang.String hostnameTheme)

      The stack host name theme, with spaces replaced by underscores.
      パラメータ:
        `hostnameTheme` - The stack host name theme, with spaces replaced by underscores.

    - #### withHostnameTheme

          public Stack withHostnameTheme(java.lang.String hostnameTheme)

      The stack host name theme, with spaces replaced by underscores.

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

      パラメータ:
        `hostnameTheme` - The stack host name theme, with spaces replaced by underscores.

    - #### getDefaultAvailabilityZone

          public java.lang.String getDefaultAvailabilityZone()

      The stack's default Availability Zone. For more information, see Regions and Endpoints.
      戻り値:
        The stack's default Availability Zone. For more information, see Regions and Endpoints.

    - #### setDefaultAvailabilityZone

          public void setDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)

      The stack's default Availability Zone. For more information, see Regions and Endpoints.
      パラメータ:
        `defaultAvailabilityZone` - The stack's default Availability Zone. For more information, see Regions and Endpoints.

    - #### withDefaultAvailabilityZone

          public Stack withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)

      The stack's default Availability Zone. For more information, see Regions and Endpoints.

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

      パラメータ:
        `defaultAvailabilityZone` - The stack's default Availability Zone. For more information, see Regions and Endpoints.

    - #### getCustomJson

          public java.lang.String getCustomJson()

      A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

      戻り値:
        A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### setCustomJson

          public void setCustomJson(java.lang.String customJson)

      A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

      パラメータ:
        `customJson` - A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### withCustomJson

          public Stack withCustomJson(java.lang.String customJson)

      A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

      For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

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

      パラメータ:
        `customJson` - A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"'.: `"{\"key1\": \"value1\", \"key2\": \"value2\",...}"`

        For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.

    - #### getConfigurationManager

          public StackConfigurationManager getConfigurationManager()

      The configuration manager.
      戻り値:
        The configuration manager.

    - #### setConfigurationManager

          public void setConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager.
      パラメータ:
        `configurationManager` - The configuration manager.

    - #### withConfigurationManager

          public Stack withConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager.

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

      パラメータ:
        `configurationManager` - The configuration manager.

    - #### isUseCustomCookbooks

          public java.lang.Boolean isUseCustomCookbooks()

      Whether the stack uses custom cookbooks.
      戻り値:
        Whether the stack uses custom cookbooks.

    - #### setUseCustomCookbooks

          public void setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)

      Whether the stack uses custom cookbooks.
      パラメータ:
        `useCustomCookbooks` - Whether the stack uses custom cookbooks.

    - #### withUseCustomCookbooks

          public Stack withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)

      Whether the stack uses custom cookbooks.

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

      パラメータ:
        `useCustomCookbooks` - Whether the stack uses custom cookbooks.

    - #### getUseCustomCookbooks

          public java.lang.Boolean getUseCustomCookbooks()

      Whether the stack uses custom cookbooks.
      戻り値:
        Whether the stack uses custom cookbooks.

    - #### getCustomCookbooksSource

          public Source getCustomCookbooksSource()

      Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.
      戻り値:
        Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

    - #### setCustomCookbooksSource

          public void setCustomCookbooksSource(Source customCookbooksSource)

      Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.
      パラメータ:
        `customCookbooksSource` - Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

    - #### withCustomCookbooksSource

          public Stack withCustomCookbooksSource(Source customCookbooksSource)

      Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

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

      パラメータ:
        `customCookbooksSource` - Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

    - #### getDefaultSshKeyName

          public java.lang.String getDefaultSshKeyName()

      A default SSH key for the stack's instances. You can override this value when you create or update an instance.
      戻り値:
        A default SSH key for the stack's instances. You can override this value when you create or update an instance.

    - #### setDefaultSshKeyName

          public void setDefaultSshKeyName(java.lang.String defaultSshKeyName)

      A default SSH key for the stack's instances. You can override this value when you create or update an instance.
      パラメータ:
        `defaultSshKeyName` - A default SSH key for the stack's instances. You can override this value when you create or update an instance.

    - #### withDefaultSshKeyName

          public Stack withDefaultSshKeyName(java.lang.String defaultSshKeyName)

      A default SSH key for the stack's instances. You can override this value when you create or update an instance.

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

      パラメータ:
        `defaultSshKeyName` - A default SSH key for the stack's instances. You can override this value when you create or update an instance.

    - #### getCreatedAt

          public java.lang.String getCreatedAt()

      Date when the stack was created.
      戻り値:
        Date when the stack was created.

    - #### setCreatedAt

          public void setCreatedAt(java.lang.String createdAt)

      Date when the stack was created.
      パラメータ:
        `createdAt` - Date when the stack was created.

    - #### withCreatedAt

          public Stack withCreatedAt(java.lang.String createdAt)

      Date when the stack was created.

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

      パラメータ:
        `createdAt` - Date when the stack was created.

    - #### getDefaultRootDeviceType

          public java.lang.String getDefaultRootDeviceType()

      The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      戻り値:
        The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### setDefaultRootDeviceType

          public void setDefaultRootDeviceType(java.lang.String defaultRootDeviceType)

      The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `defaultRootDeviceType` - The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### withDefaultRootDeviceType

          public Stack withDefaultRootDeviceType(java.lang.String defaultRootDeviceType)

      The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. 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

      パラメータ:
        `defaultRootDeviceType` - The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### setDefaultRootDeviceType

          public void setDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)

      The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

      Constraints:
      Allowed Values: ebs, instance-store

      パラメータ:
        `defaultRootDeviceType` - The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

    - #### withDefaultRootDeviceType

          public Stack withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)

      The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. 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

      パラメータ:
        `defaultRootDeviceType` - The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
      関連項目:
        `RootDeviceType`

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