com.amazonaws.services.opsworks.model

## クラス CloneStackRequest

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

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

      public class CloneStackRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CloneStack operation`.

  Creates a clone of a specified stack. For more information, see Clone a Stack .

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `CloneStackRequest` | `addAttributesEntry(java.lang.String key, java.lang.String value)` A list of stack attributes and values as key/value pairs to be added to the cloned stack.
    `CloneStackRequest` | `clearAttributesEntries()` Removes all the entries added into Attributes.
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.Map<java.lang.String,java.lang.String>` | `getAttributes()` A list of stack attributes and values as key/value pairs to be added to the cloned stack.
    `java.util.List<java.lang.String>` | `getCloneAppIds()` A list of source stack app IDs to be included in the cloned stack.
    `java.lang.Boolean` | `getClonePermissions()` Whether to clone the source stack's permissions.
    `StackConfigurationManager` | `getConfigurationManager()` The configuration manager.
    `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 cloned stack's 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 cloned 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 instances.
    `java.lang.String` | `getHostnameTheme()` The stack's host name theme, with spaces are replaced by underscores.
    `java.lang.String` | `getName()` The cloned stack name.
    `java.lang.String` | `getRegion()` The cloned stack AWS region, such as "us-east-1".
    `java.lang.String` | `getServiceRoleArn()` The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf.
    `java.lang.String` | `getSourceStackId()` The source stack ID.
    `java.lang.Boolean` | `getUseCustomCookbooks()` Whether to use custom cookbooks.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isClonePermissions()` Whether to clone the source stack's permissions.
    `java.lang.Boolean` | `isUseCustomCookbooks()` Whether to use custom cookbooks.
    `void` | `setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` A list of stack attributes and values as key/value pairs to be added to the cloned stack.
    `void` | `setCloneAppIds(java.util.Collection<java.lang.String> cloneAppIds)` A list of source stack app IDs to be included in the cloned stack.
    `void` | `setClonePermissions(java.lang.Boolean clonePermissions)` Whether to clone the source stack's permissions.
    `void` | `setConfigurationManager(StackConfigurationManager configurationManager)` The configuration manager.
    `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 cloned stack's 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 cloned 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 instances.
    `void` | `setHostnameTheme(java.lang.String hostnameTheme)` The stack's host name theme, with spaces are replaced by underscores.
    `void` | `setName(java.lang.String name)` The cloned stack name.
    `void` | `setRegion(java.lang.String region)` The cloned stack AWS region, such as "us-east-1".
    `void` | `setServiceRoleArn(java.lang.String serviceRoleArn)` The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf.
    `void` | `setSourceStackId(java.lang.String sourceStackId)` The source stack ID.
    `void` | `setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)` Whether to use custom cookbooks.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CloneStackRequest` | `withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` A list of stack attributes and values as key/value pairs to be added to the cloned stack.
    `CloneStackRequest` | `withCloneAppIds(java.util.Collection<java.lang.String> cloneAppIds)` A list of source stack app IDs to be included in the cloned stack.
    `CloneStackRequest` | `withCloneAppIds(java.lang.String... cloneAppIds)` A list of source stack app IDs to be included in the cloned stack.
    `CloneStackRequest` | `withClonePermissions(java.lang.Boolean clonePermissions)` Whether to clone the source stack's permissions.
    `CloneStackRequest` | `withConfigurationManager(StackConfigurationManager configurationManager)` The configuration manager.
    `CloneStackRequest` | `withCustomCookbooksSource(Source customCookbooksSource)` Contains the information required to retrieve an app or cookbook from a repository.
    `CloneStackRequest` | `withCustomJson(java.lang.String customJson)` A string that contains user-defined, custom JSON.
    `CloneStackRequest` | `withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)` The cloned stack's Availability Zone.
    `CloneStackRequest` | `withDefaultInstanceProfileArn(java.lang.String defaultInstanceProfileArn)` The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances.
    `CloneStackRequest` | `withDefaultOs(java.lang.String defaultOs)` The cloned stack default operating system, which must be set to one of the following.
    `CloneStackRequest` | `withDefaultRootDeviceType(RootDeviceType defaultRootDeviceType)` The default root device type.
    `CloneStackRequest` | `withDefaultRootDeviceType(java.lang.String defaultRootDeviceType)` The default root device type.
    `CloneStackRequest` | `withDefaultSshKeyName(java.lang.String defaultSshKeyName)` A default SSH key for the stack instances.
    `CloneStackRequest` | `withHostnameTheme(java.lang.String hostnameTheme)` The stack's host name theme, with spaces are replaced by underscores.
    `CloneStackRequest` | `withName(java.lang.String name)` The cloned stack name.
    `CloneStackRequest` | `withRegion(java.lang.String region)` The cloned stack AWS region, such as "us-east-1".
    `CloneStackRequest` | `withServiceRoleArn(java.lang.String serviceRoleArn)` The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf.
    `CloneStackRequest` | `withSourceStackId(java.lang.String sourceStackId)` The source stack ID.
    `CloneStackRequest` | `withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)` Whether to use custom cookbooks.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CloneStackRequest

          public CloneStackRequest()

  - ### メソッドの詳細

    - #### getSourceStackId

          public java.lang.String getSourceStackId()

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

    - #### setSourceStackId

          public void setSourceStackId(java.lang.String sourceStackId)

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

    - #### withSourceStackId

          public CloneStackRequest withSourceStackId(java.lang.String sourceStackId)

      The source stack ID.

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

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

    - #### getName

          public java.lang.String getName()

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

    - #### setName

          public void setName(java.lang.String name)

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

    - #### withName

          public CloneStackRequest withName(java.lang.String name)

      The cloned stack name.

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

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

    - #### getRegion

          public java.lang.String getRegion()

      The cloned stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
      戻り値:
        The cloned 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 cloned stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.
      パラメータ:
        `region` - The cloned stack AWS region, such as "us-east-1". For more information about AWS regions, see Regions and Endpoints.

    - #### withRegion

          public CloneStackRequest withRegion(java.lang.String region)

      The cloned 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 cloned 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()

      A list of stack attributes and values as key/value pairs to be added to the cloned stack.
      戻り値:
        A list of stack attributes and values as key/value pairs to be added to the cloned stack.

    - #### setAttributes

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

      A list of stack attributes and values as key/value pairs to be added to the cloned stack.
      パラメータ:
        `attributes` - A list of stack attributes and values as key/value pairs to be added to the cloned stack.

    - #### withAttributes

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

      A list of stack attributes and values as key/value pairs to be added to the cloned stack.

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

      パラメータ:
        `attributes` - A list of stack attributes and values as key/value pairs to be added to the cloned stack.

    - #### addAttributesEntry

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

      A list of stack attributes and values as key/value pairs to be added to the cloned stack.

      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 CloneStackRequest 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, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.
      戻り値:
        The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

    - #### setServiceRoleArn

          public void setServiceRoleArn(java.lang.String serviceRoleArn)

      The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.
      パラメータ:
        `serviceRoleArn` - The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

    - #### withServiceRoleArn

          public CloneStackRequest withServiceRoleArn(java.lang.String serviceRoleArn)

      The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

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

      パラメータ:
        `serviceRoleArn` - The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.

    - #### 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 CloneStackRequest 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 cloned 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 cloned 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 cloned 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 cloned 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 CloneStackRequest withDefaultOs(java.lang.String defaultOs)

      The cloned 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 cloned 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's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
      - Baked_Goods
      - Clouds
      - European_Cities
      - Fruits
      - Greek_Deities
      - Legendary_Creatures_from_Japan
      - Planets_and_Moons
      - Roman_Deities
      - Scottish_Islands
      - US_Cities
      - Wild_Cats

      To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

      戻り値:
        The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
        - Baked_Goods
        - Clouds
        - European_Cities
        - Fruits
        - Greek_Deities
        - Legendary_Creatures_from_Japan
        - Planets_and_Moons
        - Roman_Deities
        - Scottish_Islands
        - US_Cities
        - Wild_Cats

        To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

    - #### setHostnameTheme

          public void setHostnameTheme(java.lang.String hostnameTheme)

      The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
      - Baked_Goods
      - Clouds
      - European_Cities
      - Fruits
      - Greek_Deities
      - Legendary_Creatures_from_Japan
      - Planets_and_Moons
      - Roman_Deities
      - Scottish_Islands
      - US_Cities
      - Wild_Cats

      To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

      パラメータ:
        `hostnameTheme` - The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
        - Baked_Goods
        - Clouds
        - European_Cities
        - Fruits
        - Greek_Deities
        - Legendary_Creatures_from_Japan
        - Planets_and_Moons
        - Roman_Deities
        - Scottish_Islands
        - US_Cities
        - Wild_Cats

        To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

    - #### withHostnameTheme

          public CloneStackRequest withHostnameTheme(java.lang.String hostnameTheme)

      The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
      - Baked_Goods
      - Clouds
      - European_Cities
      - Fruits
      - Greek_Deities
      - Legendary_Creatures_from_Japan
      - Planets_and_Moons
      - Roman_Deities
      - Scottish_Islands
      - US_Cities
      - Wild_Cats

      To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

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

      パラメータ:
        `hostnameTheme` - The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, `HostnameTheme` is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are:
        - Baked_Goods
        - Clouds
        - European_Cities
        - Fruits
        - Greek_Deities
        - Legendary_Creatures_from_Japan
        - Planets_and_Moons
        - Roman_Deities
        - Scottish_Islands
        - US_Cities
        - Wild_Cats

        To obtain a generated host name, call `GetHostNameSuggestion`, which returns a host name based on the current theme.

    - #### getDefaultAvailabilityZone

          public java.lang.String getDefaultAvailabilityZone()

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

    - #### setDefaultAvailabilityZone

          public void setDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)

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

    - #### withDefaultAvailabilityZone

          public CloneStackRequest withDefaultAvailabilityZone(java.lang.String defaultAvailabilityZone)

      The cloned stack's 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 cloned stack's 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 CloneStackRequest 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. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.
      戻り値:
        The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.

    - #### setConfigurationManager

          public void setConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.
      パラメータ:
        `configurationManager` - The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.

    - #### withConfigurationManager

          public CloneStackRequest withConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.

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

      パラメータ:
        `configurationManager` - The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version, 0.9 or 11.4. The default value is currently 0.9. However, we expect to change the default value to 11.4 in late August 2013.

    - #### isUseCustomCookbooks

          public java.lang.Boolean isUseCustomCookbooks()

      Whether to use custom cookbooks.
      戻り値:
        Whether to use custom cookbooks.

    - #### setUseCustomCookbooks

          public void setUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)

      Whether to use custom cookbooks.
      パラメータ:
        `useCustomCookbooks` - Whether to use custom cookbooks.

    - #### withUseCustomCookbooks

          public CloneStackRequest withUseCustomCookbooks(java.lang.Boolean useCustomCookbooks)

      Whether to use custom cookbooks.

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

      パラメータ:
        `useCustomCookbooks` - Whether to use custom cookbooks.

    - #### getUseCustomCookbooks

          public java.lang.Boolean getUseCustomCookbooks()

      Whether to use custom cookbooks.
      戻り値:
        Whether to use 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 CloneStackRequest 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 instances. You can override this value when you create or update an instance.
      戻り値:
        A default SSH key for the stack 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 instances. You can override this value when you create or update an instance.
      パラメータ:
        `defaultSshKeyName` - A default SSH key for the stack instances. You can override this value when you create or update an instance.

    - #### withDefaultSshKeyName

          public CloneStackRequest withDefaultSshKeyName(java.lang.String defaultSshKeyName)

      A default SSH key for the stack 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 instances. You can override this value when you create or update an instance.

    - #### isClonePermissions

          public java.lang.Boolean isClonePermissions()

      Whether to clone the source stack's permissions.
      戻り値:
        Whether to clone the source stack's permissions.

    - #### setClonePermissions

          public void setClonePermissions(java.lang.Boolean clonePermissions)

      Whether to clone the source stack's permissions.
      パラメータ:
        `clonePermissions` - Whether to clone the source stack's permissions.

    - #### withClonePermissions

          public CloneStackRequest withClonePermissions(java.lang.Boolean clonePermissions)

      Whether to clone the source stack's permissions.

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

      パラメータ:
        `clonePermissions` - Whether to clone the source stack's permissions.

    - #### getClonePermissions

          public java.lang.Boolean getClonePermissions()

      Whether to clone the source stack's permissions.
      戻り値:
        Whether to clone the source stack's permissions.

    - #### getCloneAppIds

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

      A list of source stack app IDs to be included in the cloned stack.
      戻り値:
        A list of source stack app IDs to be included in the cloned stack.

    - #### setCloneAppIds

          public void setCloneAppIds(java.util.Collection<java.lang.String> cloneAppIds)

      A list of source stack app IDs to be included in the cloned stack.
      パラメータ:
        `cloneAppIds` - A list of source stack app IDs to be included in the cloned stack.

    - #### withCloneAppIds

          public CloneStackRequest withCloneAppIds(java.lang.String... cloneAppIds)

      A list of source stack app IDs to be included in the cloned stack.

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

      パラメータ:
        `cloneAppIds` - A list of source stack app IDs to be included in the cloned stack.

    - #### withCloneAppIds

          public CloneStackRequest withCloneAppIds(java.util.Collection<java.lang.String> cloneAppIds)

      A list of source stack app IDs to be included in the cloned stack.

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

      パラメータ:
        `cloneAppIds` - A list of source stack app IDs to be included in the cloned stack.

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