com.amazonaws.services.opsworks.model

## クラス CreateLayerRequest

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

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

      public class CreateLayerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateLayer operation`.

  Creates a layer. For more information, see How to Create a Layer .

  NOTE:You should use CreateLayer for non-custom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each non-custom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `CreateLayerRequest` | `addAttributesEntry(java.lang.String key, java.lang.String value)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `CreateLayerRequest` | `clearAttributesEntries()` Removes all the entries added into Attributes.
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.Map<java.lang.String,java.lang.String>` | `getAttributes()` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `java.lang.Boolean` | `getAutoAssignElasticIps()` Whether to automatically assign an Elastic IP address to the layer.
    `java.lang.String` | `getCustomInstanceProfileArn()` The ARN of an IAM profile that to be used for the layer's EC2 instances.
    `Recipes` | `getCustomRecipes()` A `LayerCustomRecipes` object that specifies the layer custom recipes.
    `java.util.List<java.lang.String>` | `getCustomSecurityGroupIds()` An array containing the layer custom security group IDs.
    `java.lang.Boolean` | `getEnableAutoHealing()` Whether to disable auto healing for the layer.
    `java.lang.Boolean` | `getInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `java.lang.String` | `getName()` The layer name, which is used by the console.
    `java.util.List<java.lang.String>` | `getPackages()` An array of `Package` objects that describe the layer packages.
    `java.lang.String` | `getShortname()` The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
    `java.lang.String` | `getStackId()` The layer stack ID.
    `java.lang.String` | `getType()` The layer type.
    `java.util.List<VolumeConfiguration>` | `getVolumeConfigurations()` A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isAutoAssignElasticIps()` Whether to automatically assign an Elastic IP address to the layer.
    `java.lang.Boolean` | `isEnableAutoHealing()` Whether to disable auto healing for the layer.
    `java.lang.Boolean` | `isInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `void` | `setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `void` | `setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)` Whether to automatically assign an Elastic IP address to the layer.
    `void` | `setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)` The ARN of an IAM profile that to be used for the layer's EC2 instances.
    `void` | `setCustomRecipes(Recipes customRecipes)` A `LayerCustomRecipes` object that specifies the layer custom recipes.
    `void` | `setCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)` An array containing the layer custom security group IDs.
    `void` | `setEnableAutoHealing(java.lang.Boolean enableAutoHealing)` Whether to disable auto healing for the layer.
    `void` | `setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `void` | `setName(java.lang.String name)` The layer name, which is used by the console.
    `void` | `setPackages(java.util.Collection<java.lang.String> packages)` An array of `Package` objects that describe the layer packages.
    `void` | `setShortname(java.lang.String shortname)` The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
    `void` | `setStackId(java.lang.String stackId)` The layer stack ID.
    `void` | `setType(LayerType type)` The layer type.
    `void` | `setType(java.lang.String type)` The layer type.
    `void` | `setVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)` A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateLayerRequest` | `withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` One or more user-defined key/value pairs to be added to the stack attributes bag.
    `CreateLayerRequest` | `withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)` Whether to automatically assign an Elastic IP address to the layer.
    `CreateLayerRequest` | `withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)` The ARN of an IAM profile that to be used for the layer's EC2 instances.
    `CreateLayerRequest` | `withCustomRecipes(Recipes customRecipes)` A `LayerCustomRecipes` object that specifies the layer custom recipes.
    `CreateLayerRequest` | `withCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)` An array containing the layer custom security group IDs.
    `CreateLayerRequest` | `withCustomSecurityGroupIds(java.lang.String... customSecurityGroupIds)` An array containing the layer custom security group IDs.
    `CreateLayerRequest` | `withEnableAutoHealing(java.lang.Boolean enableAutoHealing)` Whether to disable auto healing for the layer.
    `CreateLayerRequest` | `withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `CreateLayerRequest` | `withName(java.lang.String name)` The layer name, which is used by the console.
    `CreateLayerRequest` | `withPackages(java.util.Collection<java.lang.String> packages)` An array of `Package` objects that describe the layer packages.
    `CreateLayerRequest` | `withPackages(java.lang.String... packages)` An array of `Package` objects that describe the layer packages.
    `CreateLayerRequest` | `withShortname(java.lang.String shortname)` The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
    `CreateLayerRequest` | `withStackId(java.lang.String stackId)` The layer stack ID.
    `CreateLayerRequest` | `withType(LayerType type)` The layer type.
    `CreateLayerRequest` | `withType(java.lang.String type)` The layer type.
    `CreateLayerRequest` | `withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)` A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.
    `CreateLayerRequest` | `withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)` A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateLayerRequest

          public CreateLayerRequest()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

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

    - #### setStackId

          public void setStackId(java.lang.String stackId)

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

    - #### withStackId

          public CreateLayerRequest withStackId(java.lang.String stackId)

      The layer stack ID.

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

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

    - #### getType

          public java.lang.String getType()

      The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
      - lb: An HAProxy layer
      - web: A Static Web Server layer
      - rails-app: A Rails App Server layer
      - php-app: A PHP App Server layer
      - nodejs-app: A Node.js App Server layer
      - memcached: A Memcached layer
      - db-master: A MySQL layer
      - monitoring-master: A Ganglia layer
      - custom: A custom layer

      Constraints:
      Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom

      戻り値:
        The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
        - lb: An HAProxy layer
        - web: A Static Web Server layer
        - rails-app: A Rails App Server layer
        - php-app: A PHP App Server layer
        - nodejs-app: A Node.js App Server layer
        - memcached: A Memcached layer
        - db-master: A MySQL layer
        - monitoring-master: A Ganglia layer
        - custom: A custom layer
      関連項目:
        `LayerType`

    - #### setType

          public void setType(java.lang.String type)

      The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
      - lb: An HAProxy layer
      - web: A Static Web Server layer
      - rails-app: A Rails App Server layer
      - php-app: A PHP App Server layer
      - nodejs-app: A Node.js App Server layer
      - memcached: A Memcached layer
      - db-master: A MySQL layer
      - monitoring-master: A Ganglia layer
      - custom: A custom layer

      Constraints:
      Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom

      パラメータ:
        `type` - The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
        - lb: An HAProxy layer
        - web: A Static Web Server layer
        - rails-app: A Rails App Server layer
        - php-app: A PHP App Server layer
        - nodejs-app: A Node.js App Server layer
        - memcached: A Memcached layer
        - db-master: A MySQL layer
        - monitoring-master: A Ganglia layer
        - custom: A custom layer
      関連項目:
        `LayerType`

    - #### withType

          public CreateLayerRequest withType(java.lang.String type)

      The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
      - lb: An HAProxy layer
      - web: A Static Web Server layer
      - rails-app: A Rails App Server layer
      - php-app: A PHP App Server layer
      - nodejs-app: A Node.js App Server layer
      - memcached: A Memcached layer
      - db-master: A MySQL layer
      - monitoring-master: A Ganglia layer
      - custom: A custom layer

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

      Constraints:
      Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom

      パラメータ:
        `type` - The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
        - lb: An HAProxy layer
        - web: A Static Web Server layer
        - rails-app: A Rails App Server layer
        - php-app: A PHP App Server layer
        - nodejs-app: A Node.js App Server layer
        - memcached: A Memcached layer
        - db-master: A MySQL layer
        - monitoring-master: A Ganglia layer
        - custom: A custom layer
      関連項目:
        `LayerType`

    - #### setType

          public void setType(LayerType type)

      The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
      - lb: An HAProxy layer
      - web: A Static Web Server layer
      - rails-app: A Rails App Server layer
      - php-app: A PHP App Server layer
      - nodejs-app: A Node.js App Server layer
      - memcached: A Memcached layer
      - db-master: A MySQL layer
      - monitoring-master: A Ganglia layer
      - custom: A custom layer

      Constraints:
      Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom

      パラメータ:
        `type` - The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
        - lb: An HAProxy layer
        - web: A Static Web Server layer
        - rails-app: A Rails App Server layer
        - php-app: A PHP App Server layer
        - nodejs-app: A Node.js App Server layer
        - memcached: A Memcached layer
        - db-master: A MySQL layer
        - monitoring-master: A Ganglia layer
        - custom: A custom layer
      関連項目:
        `LayerType`

    - #### withType

          public CreateLayerRequest withType(LayerType type)

      The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
      - lb: An HAProxy layer
      - web: A Static Web Server layer
      - rails-app: A Rails App Server layer
      - php-app: A PHP App Server layer
      - nodejs-app: A Node.js App Server layer
      - memcached: A Memcached layer
      - db-master: A MySQL layer
      - monitoring-master: A Ganglia layer
      - custom: A custom layer

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

      Constraints:
      Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom

      パラメータ:
        `type` - The layer type. A stack cannot have more than one layer of the same type. This parameter must be set to one of the following:
        - lb: An HAProxy layer
        - web: A Static Web Server layer
        - rails-app: A Rails App Server layer
        - php-app: A PHP App Server layer
        - nodejs-app: A Node.js App Server layer
        - memcached: A Memcached layer
        - db-master: A MySQL layer
        - monitoring-master: A Ganglia layer
        - custom: A custom layer
      関連項目:
        `LayerType`

    - #### getName

          public java.lang.String getName()

      The layer name, which is used by the console.
      戻り値:
        The layer name, which is used by the console.

    - #### setName

          public void setName(java.lang.String name)

      The layer name, which is used by the console.
      パラメータ:
        `name` - The layer name, which is used by the console.

    - #### withName

          public CreateLayerRequest withName(java.lang.String name)

      The layer name, which is used by the console.

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

      パラメータ:
        `name` - The layer name, which is used by the console.

    - #### getShortname

          public java.lang.String getShortname()

      The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.
      戻り値:
        The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.

    - #### setShortname

          public void setShortname(java.lang.String shortname)

      The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.
      パラメータ:
        `shortname` - The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.

    - #### withShortname

          public CreateLayerRequest withShortname(java.lang.String shortname)

      The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.

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

      パラメータ:
        `shortname` - The layer short name, which is used internally by AWS OpsWorks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'.

    - #### getAttributes

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

      One or more user-defined key/value pairs to be added to the stack attributes bag.
      戻り値:
        One or more user-defined key/value pairs to be added to the stack attributes bag.

    - #### setAttributes

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

      One or more user-defined key/value pairs to be added to the stack attributes bag.
      パラメータ:
        `attributes` - One or more user-defined key/value pairs to be added to the stack attributes bag.

    - #### withAttributes

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

      One or more user-defined key/value pairs to be added to the stack attributes bag.

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

      パラメータ:
        `attributes` - One or more user-defined key/value pairs to be added to the stack attributes bag.

    - #### addAttributesEntry

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

      One or more user-defined key/value pairs to be added to the stack 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 CreateLayerRequest clearAttributesEntries()

      Removes all the entries added into Attributes.

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

    - #### getCustomInstanceProfileArn

          public java.lang.String getCustomInstanceProfileArn()

      The ARN of an IAM profile that to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      戻り値:
        The ARN of an IAM profile that to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### setCustomInstanceProfileArn

          public void setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)

      The ARN of an IAM profile that to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      パラメータ:
        `customInstanceProfileArn` - The ARN of an IAM profile that to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### withCustomInstanceProfileArn

          public CreateLayerRequest withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)

      The ARN of an IAM profile that to be used for the layer'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.

      パラメータ:
        `customInstanceProfileArn` - The ARN of an IAM profile that to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### getCustomSecurityGroupIds

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

      An array containing the layer custom security group IDs.
      戻り値:
        An array containing the layer custom security group IDs.

    - #### setCustomSecurityGroupIds

          public void setCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)

      An array containing the layer custom security group IDs.
      パラメータ:
        `customSecurityGroupIds` - An array containing the layer custom security group IDs.

    - #### withCustomSecurityGroupIds

          public CreateLayerRequest withCustomSecurityGroupIds(java.lang.String... customSecurityGroupIds)

      An array containing the layer custom security group IDs.

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

      パラメータ:
        `customSecurityGroupIds` - An array containing the layer custom security group IDs.

    - #### withCustomSecurityGroupIds

          public CreateLayerRequest withCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)

      An array containing the layer custom security group IDs.

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

      パラメータ:
        `customSecurityGroupIds` - An array containing the layer custom security group IDs.

    - #### getPackages

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

      An array of `Package` objects that describe the layer packages.
      戻り値:
        An array of `Package` objects that describe the layer packages.

    - #### setPackages

          public void setPackages(java.util.Collection<java.lang.String> packages)

      An array of `Package` objects that describe the layer packages.
      パラメータ:
        `packages` - An array of `Package` objects that describe the layer packages.

    - #### withPackages

          public CreateLayerRequest withPackages(java.lang.String... packages)

      An array of `Package` objects that describe the layer packages.

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

      パラメータ:
        `packages` - An array of `Package` objects that describe the layer packages.

    - #### withPackages

          public CreateLayerRequest withPackages(java.util.Collection<java.lang.String> packages)

      An array of `Package` objects that describe the layer packages.

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

      パラメータ:
        `packages` - An array of `Package` objects that describe the layer packages.

    - #### getVolumeConfigurations

          public java.util.List<VolumeConfiguration> getVolumeConfigurations()

      A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.
      戻り値:
        A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

    - #### setVolumeConfigurations

          public void setVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)

      A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.
      パラメータ:
        `volumeConfigurations` - A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

    - #### withVolumeConfigurations

          public CreateLayerRequest withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)

      A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

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

      パラメータ:
        `volumeConfigurations` - A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

    - #### withVolumeConfigurations

          public CreateLayerRequest withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)

      A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

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

      パラメータ:
        `volumeConfigurations` - A `VolumeConfigurations` object that describes the layer Amazon EBS volumes.

    - #### isEnableAutoHealing

          public java.lang.Boolean isEnableAutoHealing()

      Whether to disable auto healing for the layer.
      戻り値:
        Whether to disable auto healing for the layer.

    - #### setEnableAutoHealing

          public void setEnableAutoHealing(java.lang.Boolean enableAutoHealing)

      Whether to disable auto healing for the layer.
      パラメータ:
        `enableAutoHealing` - Whether to disable auto healing for the layer.

    - #### withEnableAutoHealing

          public CreateLayerRequest withEnableAutoHealing(java.lang.Boolean enableAutoHealing)

      Whether to disable auto healing for the layer.

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

      パラメータ:
        `enableAutoHealing` - Whether to disable auto healing for the layer.

    - #### getEnableAutoHealing

          public java.lang.Boolean getEnableAutoHealing()

      Whether to disable auto healing for the layer.
      戻り値:
        Whether to disable auto healing for the layer.

    - #### isAutoAssignElasticIps

          public java.lang.Boolean isAutoAssignElasticIps()

      Whether to automatically assign an Elastic IP address to the layer.
      戻り値:
        Whether to automatically assign an Elastic IP address to the layer.

    - #### setAutoAssignElasticIps

          public void setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)

      Whether to automatically assign an Elastic IP address to the layer.
      パラメータ:
        `autoAssignElasticIps` - Whether to automatically assign an Elastic IP address to the layer.

    - #### withAutoAssignElasticIps

          public CreateLayerRequest withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)

      Whether to automatically assign an Elastic IP address to the layer.

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

      パラメータ:
        `autoAssignElasticIps` - Whether to automatically assign an Elastic IP address to the layer.

    - #### getAutoAssignElasticIps

          public java.lang.Boolean getAutoAssignElasticIps()

      Whether to automatically assign an Elastic IP address to the layer.
      戻り値:
        Whether to automatically assign an Elastic IP address to the layer.

    - #### getCustomRecipes

          public Recipes getCustomRecipes()

      A `LayerCustomRecipes` object that specifies the layer custom recipes.
      戻り値:
        A `LayerCustomRecipes` object that specifies the layer custom recipes.

    - #### setCustomRecipes

          public void setCustomRecipes(Recipes customRecipes)

      A `LayerCustomRecipes` object that specifies the layer custom recipes.
      パラメータ:
        `customRecipes` - A `LayerCustomRecipes` object that specifies the layer custom recipes.

    - #### withCustomRecipes

          public CreateLayerRequest withCustomRecipes(Recipes customRecipes)

      A `LayerCustomRecipes` object that specifies the layer custom recipes.

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

      パラメータ:
        `customRecipes` - A `LayerCustomRecipes` object that specifies the layer custom recipes.

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