|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.Layer
public class Layer
Describes a layer.
Constructor Summary | |
---|---|
Layer()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Map<String,String> |
getAttributes()
The layer attributes. |
Boolean |
getAutoAssignElasticIps()
Whether the layer has an automatically assigned Elastic IP address. |
String |
getCreatedAt()
Date when the layer was created. |
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. |
List<String> |
getCustomSecurityGroupIds()
An array containing the layer's custom security group IDs. |
Recipes |
getDefaultRecipes()
OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. |
List<String> |
getDefaultSecurityGroupNames()
An array containing the layer's security group names. |
Boolean |
getEnableAutoHealing()
Whether auto healing is disabled for the layer. |
String |
getLayerId()
The layer ID. |
String |
getName()
The layer name. |
List<String> |
getPackages()
An array of Package objects that describe the layer's
packages. |
String |
getShortname()
The layer short name. |
String |
getStackId()
The layer stack ID. |
String |
getType()
The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer |
List<VolumeConfiguration> |
getVolumeConfigurations()
A VolumeConfigurations object that describes the layer's
Amazon EBS volumes. |
int |
hashCode()
|
Boolean |
isAutoAssignElasticIps()
Whether the layer has an automatically assigned Elastic IP address. |
Boolean |
isEnableAutoHealing()
Whether auto healing is disabled for the layer. |
void |
setAttributes(Map<String,String> attributes)
The layer attributes. |
void |
setAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether the layer has an automatically assigned Elastic IP address. |
void |
setCreatedAt(String createdAt)
Date when the layer was created. |
void |
setCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
void |
setDefaultRecipes(Recipes defaultRecipes)
OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. |
void |
setDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
An array containing the layer's security group names. |
void |
setEnableAutoHealing(Boolean enableAutoHealing)
Whether auto healing is disabled for the layer. |
void |
setLayerId(String layerId)
The layer ID. |
void |
setName(String name)
The layer name. |
void |
setPackages(Collection<String> packages)
An array of Package objects that describe the layer's
packages. |
void |
setShortname(String shortname)
The layer short name. |
void |
setStackId(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 |
void |
setType(String type)
The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer |
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. |
Layer |
withAttributes(Map<String,String> attributes)
The layer attributes. |
Layer |
withAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether the layer has an automatically assigned Elastic IP address. |
Layer |
withCreatedAt(String createdAt)
Date when the layer was created. |
Layer |
withCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
Layer |
withCustomSecurityGroupIds(String... customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
Layer |
withDefaultRecipes(Recipes defaultRecipes)
OpsWorks supports five lifecycle events, setup, configuration, deploy, undeploy, and shutdown. |
Layer |
withDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
An array containing the layer's security group names. |
Layer |
withDefaultSecurityGroupNames(String... defaultSecurityGroupNames)
An array containing the layer's security group names. |
Layer |
withEnableAutoHealing(Boolean enableAutoHealing)
Whether auto healing is disabled for the layer. |
Layer |
withLayerId(String layerId)
The layer ID. |
Layer |
withName(String name)
The layer name. |
Layer |
withPackages(Collection<String> packages)
An array of Package objects that describe the layer's
packages. |
Layer |
withPackages(String... packages)
An array of Package objects that describe the layer's
packages. |
Layer |
withShortname(String shortname)
The layer short name. |
Layer |
withStackId(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 |
Layer |
withType(String type)
The layer type, which must be one of the following: Custom GangliaMonitoringMaster HaProxy MemcachedServer MySqlMaster NodeJsAppServer PhpAppServer RailsAppServer WebServer |
Layer |
withVolumeConfigurations(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Layer()
Method Detail |
---|
public String getStackId()
public void setStackId(String stackId)
stackId
- The layer stack ID.public Layer withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The layer stack ID.
public String getLayerId()
public void setLayerId(String layerId)
layerId
- The layer ID.public Layer withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The layer ID.
public String getType()
Constraints:
Allowed Values: lb, web, php-app, rails-app, nodejs-app, memcached, db-master, monitoring-master, custom
LayerType
public void setType(String type)
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: LayerType
public Layer withType(String type)
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: LayerType
public void setType(LayerType type)
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: LayerType
public Layer withType(LayerType type)
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: LayerType
public String getName()
public void setName(String name)
name
- The layer name.public Layer withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The layer name.
public String getShortname()
public void setShortname(String shortname)
shortname
- The layer short name.public Layer withShortname(String shortname)
Returns a reference to this object so that method calls can be chained together.
shortname
- The layer short name.
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- The layer attributes.public Layer withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- The layer attributes.
public String getCustomInstanceProfileArn()
public void setCustomInstanceProfileArn(String customInstanceProfileArn)
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.public Layer withCustomInstanceProfileArn(String customInstanceProfileArn)
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.
public List<String> getCustomSecurityGroupIds()
public void setCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
customSecurityGroupIds
- An array containing the layer's custom security group IDs.public Layer withCustomSecurityGroupIds(String... customSecurityGroupIds)
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.
public Layer withCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
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.
public List<String> getDefaultSecurityGroupNames()
public void setDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
defaultSecurityGroupNames
- An array containing the layer's security group names.public Layer withDefaultSecurityGroupNames(String... defaultSecurityGroupNames)
Returns a reference to this object so that method calls can be chained together.
defaultSecurityGroupNames
- An array containing the layer's security group names.
public Layer withDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
Returns a reference to this object so that method calls can be chained together.
defaultSecurityGroupNames
- An array containing the layer's security group names.
public List<String> getPackages()
Package
objects that describe the layer's
packages.
Package
objects that describe the layer's
packages.public void setPackages(Collection<String> packages)
Package
objects that describe the layer's
packages.
packages
- An array of Package
objects that describe the layer's
packages.public Layer withPackages(String... packages)
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.
public Layer withPackages(Collection<String> packages)
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.
public List<VolumeConfiguration> getVolumeConfigurations()
VolumeConfigurations
object that describes the layer's
Amazon EBS volumes.
VolumeConfigurations
object that describes the layer's
Amazon EBS volumes.public void setVolumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
VolumeConfigurations
object that describes the layer's
Amazon EBS volumes.
volumeConfigurations
- A VolumeConfigurations
object that describes the layer's
Amazon EBS volumes.public Layer withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)
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.
public Layer withVolumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
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.
public Boolean isEnableAutoHealing()
public void setEnableAutoHealing(Boolean enableAutoHealing)
enableAutoHealing
- Whether auto healing is disabled for the layer.public Layer withEnableAutoHealing(Boolean enableAutoHealing)
Returns a reference to this object so that method calls can be chained together.
enableAutoHealing
- Whether auto healing is disabled for the layer.
public Boolean getEnableAutoHealing()
public Boolean isAutoAssignElasticIps()
public void setAutoAssignElasticIps(Boolean autoAssignElasticIps)
autoAssignElasticIps
- Whether the layer has an automatically assigned Elastic
IP address.public Layer withAutoAssignElasticIps(Boolean autoAssignElasticIps)
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.
public Boolean getAutoAssignElasticIps()
public Recipes getDefaultRecipes()
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.
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.
public void setDefaultRecipes(Recipes defaultRecipes)
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
- OpsWorks supports five lifecycle events, setup,
configuration, deploy, undeploy, and
shutdown. For each layer, OpsWorks runs a set of standard
recipes for each event. In addition, you can provide custom recipes
for any or all layers and events. 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.
public Layer withDefaultRecipes(Recipes defaultRecipes)
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
- OpsWorks supports five lifecycle events, setup,
configuration, deploy, undeploy, and
shutdown. For each layer, OpsWorks runs a set of standard
recipes for each event. In addition, you can provide custom recipes
for any or all layers and events. 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.
public Recipes getCustomRecipes()
LayerCustomRecipes
object that specifies the layer's
custom recipes.
LayerCustomRecipes
object that specifies the layer's
custom recipes.public void setCustomRecipes(Recipes customRecipes)
LayerCustomRecipes
object that specifies the layer's
custom recipes.
customRecipes
- A LayerCustomRecipes
object that specifies the layer's
custom recipes.public Layer withCustomRecipes(Recipes customRecipes)
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.
public String getCreatedAt()
public void setCreatedAt(String createdAt)
createdAt
- Date when the layer was created.public Layer withCreatedAt(String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- Date when the layer was created.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |