@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Layer extends Object implements Serializable, Cloneable, StructuredPojo
Describes a layer.
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
Layer |
addAttributesEntry(String key,
String value) |
Layer |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Layer |
clone() |
boolean |
equals(Object obj) |
String |
getArn() |
Map<String,String> |
getAttributes()
The layer 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.
|
CloudWatchLogsConfiguration |
getCloudWatchLogsConfiguration()
The Amazon CloudWatch Logs configuration settings for the layer.
|
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.
|
String |
getCustomJson()
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
|
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() |
List<String> |
getDefaultSecurityGroupNames()
An array containing the layer's security group names.
|
Boolean |
getEnableAutoHealing()
Whether auto healing is disabled for the layer.
|
Boolean |
getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots.
|
String |
getLayerId()
The layer ID.
|
LifecycleEventConfiguration |
getLifecycleEventConfiguration()
A
LifeCycleEventConfiguration object that specifies the Shutdown event configuration. |
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.
|
Boolean |
getUseEbsOptimizedInstances()
Whether the layer uses 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 auto healing is disabled for the layer.
|
Boolean |
isInstallUpdatesOnBoot()
Whether to install operating system and package updates when the instance boots.
|
Boolean |
isUseEbsOptimizedInstances()
Whether the layer uses Amazon EBS-optimized instances.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn) |
void |
setAttributes(Map<String,String> attributes)
The layer 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 |
setCloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
|
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 |
setCustomJson(String customJson)
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
|
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) |
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 |
setInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots.
|
void |
setLayerId(String layerId)
The layer ID.
|
void |
setLifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
A
LifeCycleEventConfiguration object that specifies the Shutdown event configuration. |
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.
|
void |
setType(String type)
The layer type.
|
void |
setUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether the layer uses 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.
|
Layer |
withArn(String arn) |
Layer |
withAttributes(Map<String,String> attributes)
The layer attributes.
|
Layer |
withAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to
the layer's instances.
|
Layer |
withAutoAssignPublicIps(Boolean autoAssignPublicIps)
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's
instances.
|
Layer |
withCloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
|
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 |
withCustomJson(String customJson)
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
|
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) |
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 |
withInstallUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots.
|
Layer |
withLayerId(String layerId)
The layer ID.
|
Layer |
withLifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
A
LifeCycleEventConfiguration object that specifies the Shutdown event configuration. |
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.
|
Layer |
withType(String type)
The layer type.
|
Layer |
withUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether the layer uses Amazon EBS-optimized instances.
|
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. |
public void setArn(String arn)
arn
- public String getArn()
public Layer withArn(String arn)
arn
- public void setStackId(String stackId)
The layer stack ID.
stackId
- The layer stack ID.public String getStackId()
The layer stack ID.
public Layer withStackId(String stackId)
The layer stack ID.
stackId
- The layer stack ID.public void setLayerId(String layerId)
The layer ID.
layerId
- The layer ID.public String getLayerId()
The layer ID.
public Layer withLayerId(String layerId)
The layer ID.
layerId
- The layer ID.public void setType(String type)
The layer type.
type
- The layer type.LayerType
public Layer withType(String type)
The layer type.
type
- The layer type.LayerType
public void setType(LayerType type)
The layer type.
type
- The layer type.LayerType
public Layer withType(LayerType type)
The layer type.
type
- The layer type.LayerType
public void setName(String name)
The layer name.
name
- The layer name.public String getName()
The layer name.
public Layer withName(String name)
The layer name.
name
- The layer name.public void setShortname(String shortname)
The layer short name.
shortname
- The layer short name.public String getShortname()
The layer short name.
public Layer withShortname(String shortname)
The layer short name.
shortname
- The layer short name.public Map<String,String> getAttributes()
The layer attributes.
For the HaproxyStatsPassword
, MysqlRootPassword
, and GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the cluster's
ARN.
For the HaproxyStatsPassword
, MysqlRootPassword
, and
GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the
cluster's ARN.
public void setAttributes(Map<String,String> attributes)
The layer attributes.
For the HaproxyStatsPassword
, MysqlRootPassword
, and GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the cluster's
ARN.
attributes
- The layer attributes.
For the HaproxyStatsPassword
, MysqlRootPassword
, and
GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the
cluster's ARN.
public Layer withAttributes(Map<String,String> attributes)
The layer attributes.
For the HaproxyStatsPassword
, MysqlRootPassword
, and GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the cluster's
ARN.
attributes
- The layer attributes.
For the HaproxyStatsPassword
, MysqlRootPassword
, and
GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the
cluster's ARN.
public Layer clearAttributesEntries()
public void setCloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
cloudWatchLogsConfiguration
- The Amazon CloudWatch Logs configuration settings for the layer.public CloudWatchLogsConfiguration getCloudWatchLogsConfiguration()
The Amazon CloudWatch Logs configuration settings for the layer.
public Layer withCloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
cloudWatchLogsConfiguration
- The Amazon CloudWatch Logs configuration settings for the layer.public void setCustomInstanceProfileArn(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.public 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.
public Layer withCustomInstanceProfileArn(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.public void setCustomJson(String customJson)
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
customJson
- A JSON formatted string containing the layer's custom stack configuration and deployment attributes.public String getCustomJson()
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
public Layer withCustomJson(String customJson)
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
customJson
- A JSON formatted string containing the layer's custom stack configuration and deployment attributes.public List<String> getCustomSecurityGroupIds()
An array containing the layer's custom security group IDs.
public void setCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs.
customSecurityGroupIds
- An array containing the layer's custom security group IDs.public Layer withCustomSecurityGroupIds(String... customSecurityGroupIds)
An array containing the layer's custom security group IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCustomSecurityGroupIds(java.util.Collection)
or
withCustomSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
customSecurityGroupIds
- An array containing the layer's custom security group IDs.public Layer withCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs.
customSecurityGroupIds
- An array containing the layer's custom security group IDs.public List<String> getDefaultSecurityGroupNames()
An array containing the layer's security group names.
public void setDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
An array containing the layer's security group names.
defaultSecurityGroupNames
- An array containing the layer's security group names.public Layer withDefaultSecurityGroupNames(String... defaultSecurityGroupNames)
An array containing the layer's security group names.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultSecurityGroupNames(java.util.Collection)
or
withDefaultSecurityGroupNames(java.util.Collection)
if you want to override the existing values.
defaultSecurityGroupNames
- An array containing the layer's security group names.public Layer withDefaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
An array containing the layer's security group names.
defaultSecurityGroupNames
- An array containing the layer's security group names.public List<String> getPackages()
An array of Package
objects that describe the layer's packages.
Package
objects that describe the layer's packages.public void setPackages(Collection<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.public Layer withPackages(String... packages)
An array of Package
objects that describe the layer's packages.
NOTE: This method appends the values to the existing list (if any). Use
setPackages(java.util.Collection)
or withPackages(java.util.Collection)
if you want to override
the existing values.
packages
- An array of Package
objects that describe the layer's packages.public Layer withPackages(Collection<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.public List<VolumeConfiguration> getVolumeConfigurations()
A 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)
A 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)
A VolumeConfigurations
object that describes the layer's Amazon EBS volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeConfigurations(java.util.Collection)
or withVolumeConfigurations(java.util.Collection)
if you want to override the existing values.
volumeConfigurations
- A VolumeConfigurations
object that describes the layer's Amazon EBS volumes.public Layer withVolumeConfigurations(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.public void setEnableAutoHealing(Boolean enableAutoHealing)
Whether auto healing is disabled for the layer.
enableAutoHealing
- Whether auto healing is disabled for the layer.public Boolean getEnableAutoHealing()
Whether auto healing is disabled for the layer.
public Layer withEnableAutoHealing(Boolean enableAutoHealing)
Whether auto healing is disabled for the layer.
enableAutoHealing
- Whether auto healing is disabled for the layer.public Boolean isEnableAutoHealing()
Whether auto healing is disabled for the layer.
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.
autoAssignElasticIps
- Whether to automatically assign an Elastic IP
address to the layer's instances. For more information, see How to Edit a
Layer.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.
public Layer 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.
autoAssignElasticIps
- Whether to automatically assign an Elastic IP
address to the layer's instances. For more information, see How to Edit a
Layer.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.
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.
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.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.
public Layer 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.
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.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.
public void setDefaultRecipes(Recipes defaultRecipes)
defaultRecipes
- public Recipes getDefaultRecipes()
public Layer withDefaultRecipes(Recipes defaultRecipes)
defaultRecipes
- 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.public Recipes getCustomRecipes()
A LayerCustomRecipes
object that specifies the layer's custom recipes.
LayerCustomRecipes
object that specifies the layer's custom recipes.public Layer withCustomRecipes(Recipes customRecipes)
A LayerCustomRecipes
object that specifies the layer's custom recipes.
customRecipes
- A LayerCustomRecipes
object that specifies the layer's custom recipes.public void setCreatedAt(String createdAt)
Date when the layer was created.
createdAt
- Date when the layer was created.public String getCreatedAt()
Date when the layer was created.
public Layer withCreatedAt(String createdAt)
Date when the layer was created.
createdAt
- Date when the layer was created.public void setInstallUpdatesOnBoot(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.
public 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.
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.
public Layer withInstallUpdatesOnBoot(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.
public 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.
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.
public void setUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether the layer uses Amazon EBS-optimized instances.
useEbsOptimizedInstances
- Whether the layer uses Amazon EBS-optimized instances.public Boolean getUseEbsOptimizedInstances()
Whether the layer uses Amazon EBS-optimized instances.
public Layer withUseEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether the layer uses Amazon EBS-optimized instances.
useEbsOptimizedInstances
- Whether the layer uses Amazon EBS-optimized instances.public Boolean isUseEbsOptimizedInstances()
Whether the layer uses Amazon EBS-optimized instances.
public void setLifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.
lifecycleEventConfiguration
- A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.public LifecycleEventConfiguration getLifecycleEventConfiguration()
A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.
LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.public Layer withLifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.
lifecycleEventConfiguration
- A LifeCycleEventConfiguration
object that specifies the Shutdown event configuration.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.