com.amazonaws.services.opsworks.model

## クラス Layer

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

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

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

  Describes a layer.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `Layer` | `addAttributesEntry(java.lang.String key, java.lang.String value)` The layer attributes.
    `Layer` | `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 layer attributes.
    `java.lang.Boolean` | `getAutoAssignElasticIps()` Whether the layer has an automatically assigned Elastic IP address.
    `java.lang.String` | `getCreatedAt()` Date when the layer was created.
    `java.lang.String` | `getCustomInstanceProfileArn()` The ARN of the default IAM profile to be used for the layer's EC2 instances.
    `Recipes` | `getCustomRecipes()` A `LayerCustomRecipes` object that specifies the layer's custom recipes.
    `java.util.List<java.lang.String>` | `getCustomSecurityGroupIds()` An array containing the layer's custom security group IDs.
    `Recipes` | `getDefaultRecipes()` AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown.
    `java.util.List<java.lang.String>` | `getDefaultSecurityGroupNames()` An array containing the layer's security group names.
    `java.lang.Boolean` | `getEnableAutoHealing()` Whether auto healing is disabled for the layer.
    `java.lang.Boolean` | `getInstallUpdatesOnBoot()` Whether to install operating system and package updates when the instance boots.
    `java.lang.String` | `getLayerId()` The layer ID.
    `java.lang.String` | `getName()` The layer name.
    `java.util.List<java.lang.String>` | `getPackages()` An array of `Package` objects that describe the layer's packages.
    `java.lang.String` | `getShortname()` The layer short name.
    `java.lang.String` | `getStackId()` The layer stack ID.
    `java.lang.String` | `getType()` The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer Constraints: Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom
    `java.util.List<VolumeConfiguration>` | `getVolumeConfigurations()` A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isAutoAssignElasticIps()` Whether the layer has an automatically assigned Elastic IP address.
    `java.lang.Boolean` | `isEnableAutoHealing()` Whether auto healing is disabled 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)` The layer attributes.
    `void` | `setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)` Whether the layer has an automatically assigned Elastic IP address.
    `void` | `setCreatedAt(java.lang.String createdAt)` Date when the layer was created.
    `void` | `setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)` The ARN of the default IAM profile to be used for the layer's EC2 instances.
    `void` | `setCustomRecipes(Recipes customRecipes)` A `LayerCustomRecipes` object that specifies the layer's custom recipes.
    `void` | `setCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)` An array containing the layer's custom security group IDs.
    `void` | `setDefaultRecipes(Recipes defaultRecipes)` AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown.
    `void` | `setDefaultSecurityGroupNames(java.util.Collection<java.lang.String> defaultSecurityGroupNames)` An array containing the layer's security group names.
    `void` | `setEnableAutoHealing(java.lang.Boolean enableAutoHealing)` Whether auto healing is disabled for the layer.
    `void` | `setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `void` | `setLayerId(java.lang.String layerId)` The layer ID.
    `void` | `setName(java.lang.String name)` The layer name.
    `void` | `setPackages(java.util.Collection<java.lang.String> packages)` An array of `Package` objects that describe the layer's packages.
    `void` | `setShortname(java.lang.String shortname)` The layer short name.
    `void` | `setStackId(java.lang.String stackId)` The layer stack ID.
    `void` | `setType(LayerType type)` The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer Constraints: Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom
    `void` | `setType(java.lang.String type)` The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer Constraints: Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom
    `void` | `setVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)` A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Layer` | `withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)` The layer attributes.
    `Layer` | `withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)` Whether the layer has an automatically assigned Elastic IP address.
    `Layer` | `withCreatedAt(java.lang.String createdAt)` Date when the layer was created.
    `Layer` | `withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)` The ARN of the default IAM profile to be used for the layer's EC2 instances.
    `Layer` | `withCustomRecipes(Recipes customRecipes)` A `LayerCustomRecipes` object that specifies the layer's custom recipes.
    `Layer` | `withCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)` An array containing the layer's custom security group IDs.
    `Layer` | `withCustomSecurityGroupIds(java.lang.String... customSecurityGroupIds)` An array containing the layer's custom security group IDs.
    `Layer` | `withDefaultRecipes(Recipes defaultRecipes)` AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown.
    `Layer` | `withDefaultSecurityGroupNames(java.util.Collection<java.lang.String> defaultSecurityGroupNames)` An array containing the layer's security group names.
    `Layer` | `withDefaultSecurityGroupNames(java.lang.String... defaultSecurityGroupNames)` An array containing the layer's security group names.
    `Layer` | `withEnableAutoHealing(java.lang.Boolean enableAutoHealing)` Whether auto healing is disabled for the layer.
    `Layer` | `withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)` Whether to install operating system and package updates when the instance boots.
    `Layer` | `withLayerId(java.lang.String layerId)` The layer ID.
    `Layer` | `withName(java.lang.String name)` The layer name.
    `Layer` | `withPackages(java.util.Collection<java.lang.String> packages)` An array of `Package` objects that describe the layer's packages.
    `Layer` | `withPackages(java.lang.String... packages)` An array of `Package` objects that describe the layer's packages.
    `Layer` | `withShortname(java.lang.String shortname)` The layer short name.
    `Layer` | `withStackId(java.lang.String stackId)` The layer stack ID.
    `Layer` | `withType(LayerType type)` The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer Returns a reference to this object so that method calls can be chained together.
    `Layer` | `withType(java.lang.String type)` The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer Returns a reference to this object so that method calls can be chained together.
    `Layer` | `withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)` A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes.
    `Layer` | `withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)` A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes.

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

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

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

    - #### Layer

          public Layer()

  - ### メソッドの詳細

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

    - #### getLayerId

          public java.lang.String getLayerId()

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

    - #### setLayerId

          public void setLayerId(java.lang.String layerId)

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

    - #### withLayerId

          public Layer withLayerId(java.lang.String layerId)

      The layer ID.

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

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

    - #### getType

          public java.lang.String getType()

      The layer type, which must be one of the following:
      - Custom
      - GangliaMonitoringMaster
      - HaProxy
      - MemcachedServer
      - MySqlMaster
      - NodeJsAppServer
      - PhpAppServer
      - RailsAppServer
      - WebServer

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

      戻り値:
        The layer type, which must be one of the following:
        - Custom
        - GangliaMonitoringMaster
        - HaProxy
        - MemcachedServer
        - MySqlMaster
        - NodeJsAppServer
        - PhpAppServer
        - RailsAppServer
        - WebServer
      関連項目:
        `LayerType`

    - #### setType

          public void setType(java.lang.String type)

      The layer type, which must be one of the following:
      - Custom
      - GangliaMonitoringMaster
      - HaProxy
      - MemcachedServer
      - MySqlMaster
      - NodeJsAppServer
      - PhpAppServer
      - RailsAppServer
      - WebServer

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

      パラメータ:
        `type` - The layer type, which must be one of the following:
        - Custom
        - GangliaMonitoringMaster
        - HaProxy
        - MemcachedServer
        - MySqlMaster
        - NodeJsAppServer
        - PhpAppServer
        - RailsAppServer
        - WebServer
      関連項目:
        `LayerType`

    - #### withType

          public Layer withType(java.lang.String type)

      The layer type, which must be one of the following:
      - Custom
      - GangliaMonitoringMaster
      - HaProxy
      - MemcachedServer
      - MySqlMaster
      - NodeJsAppServer
      - PhpAppServer
      - RailsAppServer
      - WebServer

      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, which must be one of the following:
        - Custom
        - GangliaMonitoringMaster
        - HaProxy
        - MemcachedServer
        - MySqlMaster
        - NodeJsAppServer
        - PhpAppServer
        - RailsAppServer
        - WebServer
      関連項目:
        `LayerType`

    - #### setType

          public void setType(LayerType type)

      The layer type, which must be one of the following:
      - Custom
      - GangliaMonitoringMaster
      - HaProxy
      - MemcachedServer
      - MySqlMaster
      - NodeJsAppServer
      - PhpAppServer
      - RailsAppServer
      - WebServer

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

      パラメータ:
        `type` - The layer type, which must be one of the following:
        - Custom
        - GangliaMonitoringMaster
        - HaProxy
        - MemcachedServer
        - MySqlMaster
        - NodeJsAppServer
        - PhpAppServer
        - RailsAppServer
        - WebServer
      関連項目:
        `LayerType`

    - #### withType

          public Layer withType(LayerType type)

      The layer type, which must be one of the following:
      - Custom
      - GangliaMonitoringMaster
      - HaProxy
      - MemcachedServer
      - MySqlMaster
      - NodeJsAppServer
      - PhpAppServer
      - RailsAppServer
      - WebServer

      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, which must be one of the following:
        - Custom
        - GangliaMonitoringMaster
        - HaProxy
        - MemcachedServer
        - MySqlMaster
        - NodeJsAppServer
        - PhpAppServer
        - RailsAppServer
        - WebServer
      関連項目:
        `LayerType`

    - #### getName

          public java.lang.String getName()

      The layer name.
      戻り値:
        The layer name.

    - #### setName

          public void setName(java.lang.String name)

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

    - #### withName

          public Layer withName(java.lang.String name)

      The layer name.

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

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

    - #### getShortname

          public java.lang.String getShortname()

      The layer short name.
      戻り値:
        The layer short name.

    - #### setShortname

          public void setShortname(java.lang.String shortname)

      The layer short name.
      パラメータ:
        `shortname` - The layer short name.

    - #### withShortname

          public Layer withShortname(java.lang.String shortname)

      The layer short name.

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

      パラメータ:
        `shortname` - The layer short name.

    - #### getAttributes

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

      The layer attributes.
      戻り値:
        The layer attributes.

    - #### setAttributes

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

      The layer attributes.
      パラメータ:
        `attributes` - The layer attributes.

    - #### withAttributes

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

      The layer attributes.

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

      パラメータ:
        `attributes` - The layer attributes.

    - #### addAttributesEntry

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

      The layer attributes.

      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 Layer 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 the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      戻り値:
        The ARN of the default IAM profile 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 the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
      パラメータ:
        `customInstanceProfileArn` - The ARN of the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    - #### withCustomInstanceProfileArn

          public Layer withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)

      The ARN of the default IAM profile 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 the default IAM profile 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's custom security group IDs.
      戻り値:
        An array containing the layer's custom security group IDs.

    - #### setCustomSecurityGroupIds

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

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

    - #### withCustomSecurityGroupIds

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

      An array containing the layer's custom security group IDs.

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

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

    - #### withCustomSecurityGroupIds

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

      An array containing the layer's custom security group IDs.

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

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

    - #### getDefaultSecurityGroupNames

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

      An array containing the layer's security group names.
      戻り値:
        An array containing the layer's security group names.

    - #### setDefaultSecurityGroupNames

          public void setDefaultSecurityGroupNames(java.util.Collection<java.lang.String> defaultSecurityGroupNames)

      An array containing the layer's security group names.
      パラメータ:
        `defaultSecurityGroupNames` - An array containing the layer's security group names.

    - #### withDefaultSecurityGroupNames

          public Layer withDefaultSecurityGroupNames(java.lang.String... defaultSecurityGroupNames)

      An array containing the layer's security group names.

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

      パラメータ:
        `defaultSecurityGroupNames` - An array containing the layer's security group names.

    - #### withDefaultSecurityGroupNames

          public Layer withDefaultSecurityGroupNames(java.util.Collection<java.lang.String> defaultSecurityGroupNames)

      An array containing the layer's security group names.

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

      パラメータ:
        `defaultSecurityGroupNames` - An array containing the layer's security group names.

    - #### getPackages

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

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

    - #### setPackages

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

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

    - #### withPackages

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

      An array of `Package` objects that describe the layer's 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's packages.

    - #### withPackages

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

      An array of `Package` objects that describe the layer's 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's packages.

    - #### getVolumeConfigurations

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

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

    - #### setVolumeConfigurations

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

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

    - #### withVolumeConfigurations

          public Layer withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)

      A `VolumeConfigurations` object that describes the layer's 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's Amazon EBS volumes.

    - #### withVolumeConfigurations

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

      A `VolumeConfigurations` object that describes the layer's 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's Amazon EBS volumes.

    - #### isEnableAutoHealing

          public java.lang.Boolean isEnableAutoHealing()

      Whether auto healing is disabled for the layer.
      戻り値:
        Whether auto healing is disabled for the layer.

    - #### setEnableAutoHealing

          public void setEnableAutoHealing(java.lang.Boolean enableAutoHealing)

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

    - #### withEnableAutoHealing

          public Layer withEnableAutoHealing(java.lang.Boolean enableAutoHealing)

      Whether auto healing is disabled for the layer.

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

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

    - #### getEnableAutoHealing

          public java.lang.Boolean getEnableAutoHealing()

      Whether auto healing is disabled for the layer.
      戻り値:
        Whether auto healing is disabled for the layer.

    - #### isAutoAssignElasticIps

          public java.lang.Boolean isAutoAssignElasticIps()

      Whether the layer has an automatically assigned Elastic IP address.
      戻り値:
        Whether the layer has an automatically assigned Elastic IP address.

    - #### setAutoAssignElasticIps

          public void setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)

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

    - #### withAutoAssignElasticIps

          public Layer withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)

      Whether the layer has an automatically assigned Elastic IP address.

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

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

    - #### getAutoAssignElasticIps

          public java.lang.Boolean getAutoAssignElasticIps()

      Whether the layer has an automatically assigned Elastic IP address.
      戻り値:
        Whether the layer has an automatically assigned Elastic IP address.

    - #### getDefaultRecipes

          public Recipes getDefaultRecipes()

      AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

      To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

      戻り値:
        AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

        To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

    - #### setDefaultRecipes

          public void setDefaultRecipes(Recipes defaultRecipes)

      AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

      To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

      パラメータ:
        `defaultRecipes` - AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

        To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

    - #### withDefaultRecipes

          public Layer withDefaultRecipes(Recipes defaultRecipes)

      AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

      To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

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

      パラメータ:
        `defaultRecipes` - AWS OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks runs custom event recipes after the standard recipes. `LayerCustomRecipes` specifies the custom recipes for a particular layer to be run in response to each of the five events.

        To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

    - #### getCustomRecipes

          public Recipes getCustomRecipes()

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

    - #### setCustomRecipes

          public void setCustomRecipes(Recipes customRecipes)

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

    - #### withCustomRecipes

          public Layer withCustomRecipes(Recipes customRecipes)

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

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

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

    - #### getCreatedAt

          public java.lang.String getCreatedAt()

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

    - #### setCreatedAt

          public void setCreatedAt(java.lang.String createdAt)

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

    - #### withCreatedAt

          public Layer withCreatedAt(java.lang.String createdAt)

      Date when the layer was created.

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

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

    - #### isInstallUpdatesOnBoot

          public java.lang.Boolean isInstallUpdatesOnBoot()

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set 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`. If this value is set 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`. If this value is set 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`. If this value is set 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 Layer withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)

      Whether to install operating system and package updates when the instance boots. The default value is `true`. If this value is set 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`. If this value is set 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`. If this value is set 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`. If this value is set 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`