com.amazonaws.services.opsworks.model
Class CreateLayerRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.CreateLayerRequest
All Implemented Interfaces:
Serializable

public class CreateLayerRequest
extends AmazonWebServiceRequest
implements 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 noncustom 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 noncustom 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.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

See Also:
AWSOpsWorks.createLayer(CreateLayerRequest), Serialized Form

Constructor Summary
CreateLayerRequest()
           
 
Method Summary
 CreateLayerRequest addAttributesEntry(String key, String value)
          One or more user-defined key/value pairs to be added to the stack attributes.
 CreateLayerRequest clearAttributesEntries()
          Removes all the entries added into Attributes.
 boolean equals(Object obj)
           
 Map<String,String> getAttributes()
          One or more user-defined key/value pairs to be added to the stack attributes.
 Boolean getAutoAssignElasticIps()
          Whether to automatically assign an Elastic IP address to the layer's instances.
 Boolean getAutoAssignPublicIps()
          For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances.
 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.
 List<String> getCustomSecurityGroupIds()
          An array containing the layer custom security group IDs.
 Boolean getEnableAutoHealing()
          Whether to disable auto healing for the layer.
 Boolean getInstallUpdatesOnBoot()
          Whether to install operating system and package updates when the instance boots.
 String getName()
          The layer name, which is used by the console.
 List<String> getPackages()
          An array of Package objects that describe the layer packages.
 String getShortname()
          The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
 String getStackId()
          The layer stack ID.
 String getType()
          The layer type.
 Boolean getUseEbsOptimizedInstances()
          Whether to use Amazon EBS-optimized instances.
 List<VolumeConfiguration> getVolumeConfigurations()
          A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 int hashCode()
           
 Boolean isAutoAssignElasticIps()
          Whether to automatically assign an Elastic IP address to the layer's instances.
 Boolean isAutoAssignPublicIps()
          For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances.
 Boolean isEnableAutoHealing()
          Whether to disable auto healing for the layer.
 Boolean isInstallUpdatesOnBoot()
          Whether to install operating system and package updates when the instance boots.
 Boolean isUseEbsOptimizedInstances()
          Whether to use Amazon EBS-optimized instances.
 void setAttributes(Map<String,String> attributes)
          One or more user-defined key/value pairs to be added to the stack attributes.
 void setAutoAssignElasticIps(Boolean autoAssignElasticIps)
          Whether to automatically assign an Elastic IP address to the layer's instances.
 void setAutoAssignPublicIps(Boolean autoAssignPublicIps)
          For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances.
 void setCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
          An array containing the layer custom security group IDs.
 void setEnableAutoHealing(Boolean enableAutoHealing)
          Whether to disable auto healing for the layer.
 void setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
          Whether to install operating system and package updates when the instance boots.
 void setName(String name)
          The layer name, which is used by the console.
 void setPackages(Collection<String> packages)
          An array of Package objects that describe the layer packages.
 void setShortname(String shortname)
          The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
 void setStackId(String stackId)
          The layer stack ID.
 void setType(LayerType type)
          The layer type.
 void setType(String type)
          The layer type.
 void setUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
          Whether to use Amazon EBS-optimized instances.
 void setVolumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
          A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateLayerRequest withAttributes(Map<String,String> attributes)
          One or more user-defined key/value pairs to be added to the stack attributes.
 CreateLayerRequest withAutoAssignElasticIps(Boolean autoAssignElasticIps)
          Whether to automatically assign an Elastic IP address to the layer's instances.
 CreateLayerRequest withAutoAssignPublicIps(Boolean autoAssignPublicIps)
          For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances.
 CreateLayerRequest withCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
          An array containing the layer custom security group IDs.
 CreateLayerRequest withCustomSecurityGroupIds(String... customSecurityGroupIds)
          An array containing the layer custom security group IDs.
 CreateLayerRequest withEnableAutoHealing(Boolean enableAutoHealing)
          Whether to disable auto healing for the layer.
 CreateLayerRequest withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
          Whether to install operating system and package updates when the instance boots.
 CreateLayerRequest withName(String name)
          The layer name, which is used by the console.
 CreateLayerRequest withPackages(Collection<String> packages)
          An array of Package objects that describe the layer packages.
 CreateLayerRequest withPackages(String... packages)
          An array of Package objects that describe the layer packages.
 CreateLayerRequest withShortname(String shortname)
          The layer short name, which is used internally by AWS OpsWorks and by Chef recipes.
 CreateLayerRequest withStackId(String stackId)
          The layer stack ID.
 CreateLayerRequest withType(LayerType type)
          The layer type.
 CreateLayerRequest withType(String type)
          The layer type.
 CreateLayerRequest withUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
          Whether to use Amazon EBS-optimized instances.
 CreateLayerRequest withVolumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
          A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 CreateLayerRequest withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)
          A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateLayerRequest

public CreateLayerRequest()
Method Detail

getStackId

public String getStackId()
The layer stack ID.

Returns:
The layer stack ID.

setStackId

public void setStackId(String stackId)
The layer stack ID.

Parameters:
stackId - The layer stack ID.

withStackId

public CreateLayerRequest withStackId(String stackId)
The layer stack ID.

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

Parameters:
stackId - The layer stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:

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

Returns:
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:
  • custom: A custom layer
  • db-master: A MySQL layer
  • java-app: A Java App Server layer
  • rails-app: A Rails App Server layer
  • lb: An HAProxy layer
  • memcached: A Memcached layer
  • monitoring-master: A Ganglia layer
  • nodejs-app: A Node.js App Server layer
  • php-app: A PHP App Server layer
  • web: A Static Web Server layer
See Also:
LayerType

setType

public void setType(String type)
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:

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

Parameters:
type - The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:
  • custom: A custom layer
  • db-master: A MySQL layer
  • java-app: A Java App Server layer
  • rails-app: A Rails App Server layer
  • lb: An HAProxy layer
  • memcached: A Memcached layer
  • monitoring-master: A Ganglia layer
  • nodejs-app: A Node.js App Server layer
  • php-app: A PHP App Server layer
  • web: A Static Web Server layer
See Also:
LayerType

withType

public CreateLayerRequest withType(String type)
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:

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

Parameters:
type - The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:
  • custom: A custom layer
  • db-master: A MySQL layer
  • java-app: A Java App Server layer
  • rails-app: A Rails App Server layer
  • lb: An HAProxy layer
  • memcached: A Memcached layer
  • monitoring-master: A Ganglia layer
  • nodejs-app: A Node.js App Server layer
  • php-app: A PHP App Server layer
  • web: A Static Web Server layer
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
LayerType

setType

public void setType(LayerType type)
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:

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

Parameters:
type - The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:
  • custom: A custom layer
  • db-master: A MySQL layer
  • java-app: A Java App Server layer
  • rails-app: A Rails App Server layer
  • lb: An HAProxy layer
  • memcached: A Memcached layer
  • monitoring-master: A Ganglia layer
  • nodejs-app: A Node.js App Server layer
  • php-app: A PHP App Server layer
  • web: A Static Web Server layer
See Also:
LayerType

withType

public CreateLayerRequest withType(LayerType type)
The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:

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

Parameters:
type - The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. This parameter must be set to one of the following:
  • custom: A custom layer
  • db-master: A MySQL layer
  • java-app: A Java App Server layer
  • rails-app: A Rails App Server layer
  • lb: An HAProxy layer
  • memcached: A Memcached layer
  • monitoring-master: A Ganglia layer
  • nodejs-app: A Node.js App Server layer
  • php-app: A PHP App Server layer
  • web: A Static Web Server layer
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
LayerType

getName

public String getName()
The layer name, which is used by the console.

Returns:
The layer name, which is used by the console.

setName

public void setName(String name)
The layer name, which is used by the console.

Parameters:
name - The layer name, which is used by the console.

withName

public CreateLayerRequest withName(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.

Parameters:
name - The layer name, which is used by the console.
Returns:
A reference to this updated object so that method calls can be chained together.

getShortname

public 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 '.'.

Returns:
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(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 '.'.

Parameters:
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(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.

Parameters:
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 updated object so that method calls can be chained together.

getAttributes

public Map<String,String> getAttributes()
One or more user-defined key/value pairs to be added to the stack attributes.

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

setAttributes

public void setAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.

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

withAttributes

public CreateLayerRequest withAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes.

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

Parameters:
attributes - One or more user-defined key/value pairs to be added to the stack attributes.
Returns:
A reference to this updated object so that method calls can be chained together.

addAttributesEntry

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

Parameters:
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 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.

Returns:
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(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.

Parameters:
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(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.

Parameters:
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 updated object so that method calls can be chained together.

getCustomSecurityGroupIds

public List<String> getCustomSecurityGroupIds()
An array containing the layer custom security group IDs.

Returns:
An array containing the layer custom security group IDs.

setCustomSecurityGroupIds

public void setCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
An array containing the layer custom security group IDs.

Parameters:
customSecurityGroupIds - An array containing the layer custom security group IDs.

withCustomSecurityGroupIds

public CreateLayerRequest withCustomSecurityGroupIds(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.

Parameters:
customSecurityGroupIds - An array containing the layer custom security group IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withCustomSecurityGroupIds

public CreateLayerRequest withCustomSecurityGroupIds(Collection<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.

Parameters:
customSecurityGroupIds - An array containing the layer custom security group IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getPackages

public List<String> getPackages()
An array of Package objects that describe the layer packages.

Returns:
An array of Package objects that describe the layer packages.

setPackages

public void setPackages(Collection<String> packages)
An array of Package objects that describe the layer packages.

Parameters:
packages - An array of Package objects that describe the layer packages.

withPackages

public CreateLayerRequest withPackages(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.

Parameters:
packages - An array of Package objects that describe the layer packages.
Returns:
A reference to this updated object so that method calls can be chained together.

withPackages

public CreateLayerRequest withPackages(Collection<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.

Parameters:
packages - An array of Package objects that describe the layer packages.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeConfigurations

public List<VolumeConfiguration> getVolumeConfigurations()
A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Returns:
A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

setVolumeConfigurations

public void setVolumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

Parameters:
volumeConfigurations - A VolumeConfigurations object that describes the layer's Amazon EBS volumes.

withVolumeConfigurations

public CreateLayerRequest 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.

Parameters:
volumeConfigurations - A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumeConfigurations

public CreateLayerRequest withVolumeConfigurations(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.

Parameters:
volumeConfigurations - A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
Returns:
A reference to this updated object so that method calls can be chained together.

isEnableAutoHealing

public Boolean isEnableAutoHealing()
Whether to disable auto healing for the layer.

Returns:
Whether to disable auto healing for the layer.

setEnableAutoHealing

public void setEnableAutoHealing(Boolean enableAutoHealing)
Whether to disable auto healing for the layer.

Parameters:
enableAutoHealing - Whether to disable auto healing for the layer.

withEnableAutoHealing

public CreateLayerRequest withEnableAutoHealing(Boolean enableAutoHealing)
Whether to disable auto healing for the layer.

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

Parameters:
enableAutoHealing - Whether to disable auto healing for the layer.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnableAutoHealing

public Boolean getEnableAutoHealing()
Whether to disable auto healing for the layer.

Returns:
Whether to disable auto healing for the layer.

isAutoAssignElasticIps

public Boolean isAutoAssignElasticIps()
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Returns:
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

setAutoAssignElasticIps

public void setAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Parameters:
autoAssignElasticIps - Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

withAutoAssignElasticIps

public CreateLayerRequest withAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

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

Parameters:
autoAssignElasticIps - Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoAssignElasticIps

public Boolean getAutoAssignElasticIps()
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

Returns:
Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.

isAutoAssignPublicIps

public Boolean isAutoAssignPublicIps()
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

Returns:
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

setAutoAssignPublicIps

public void setAutoAssignPublicIps(Boolean autoAssignPublicIps)
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

Parameters:
autoAssignPublicIps - For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

withAutoAssignPublicIps

public CreateLayerRequest withAutoAssignPublicIps(Boolean autoAssignPublicIps)
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

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

Parameters:
autoAssignPublicIps - For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoAssignPublicIps

public Boolean getAutoAssignPublicIps()
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

Returns:
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.

getCustomRecipes

public Recipes getCustomRecipes()
A LayerCustomRecipes object that specifies the layer custom recipes.

Returns:
A LayerCustomRecipes object that specifies the layer custom recipes.

setCustomRecipes

public void setCustomRecipes(Recipes customRecipes)
A LayerCustomRecipes object that specifies the layer custom recipes.

Parameters:
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.

Parameters:
customRecipes - A LayerCustomRecipes object that specifies the layer custom recipes.
Returns:
A reference to this updated object so that method calls can be chained together.

isInstallUpdatesOnBoot

public 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.

Returns:
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(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.

Parameters:
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(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.

Parameters:
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 updated object so that method calls can be chained together.

getInstallUpdatesOnBoot

public 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.

Returns:
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.


isUseEbsOptimizedInstances

public Boolean isUseEbsOptimizedInstances()
Whether to use Amazon EBS-optimized instances.

Returns:
Whether to use Amazon EBS-optimized instances.

setUseEbsOptimizedInstances

public void setUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether to use Amazon EBS-optimized instances.

Parameters:
useEbsOptimizedInstances - Whether to use Amazon EBS-optimized instances.

withUseEbsOptimizedInstances

public CreateLayerRequest withUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether to use Amazon EBS-optimized instances.

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

Parameters:
useEbsOptimizedInstances - Whether to use Amazon EBS-optimized instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getUseEbsOptimizedInstances

public Boolean getUseEbsOptimizedInstances()
Whether to use Amazon EBS-optimized instances.

Returns:
Whether to use Amazon EBS-optimized instances.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.