public class UpdateLayerRequest extends AmazonWebServiceRequest implements java.io.Serializable
UpdateLayer operation.
Updates a specified layer.
| コンストラクタと説明 |
|---|
UpdateLayerRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
UpdateLayerRequest |
addAttributesEntry(java.lang.String key,
java.lang.String value)
One or more user-defined key/value pairs to be added to the stack
attributes bag.
|
UpdateLayerRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
One or more user-defined key/value pairs to be added to the stack
attributes bag.
|
java.lang.Boolean |
getAutoAssignElasticIps()
Whether to automatically assign an Elastic
IP address to the layer.
|
java.lang.String |
getCustomInstanceProfileArn()
The ARN of an IAM profile to be used for all of 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.
|
java.lang.Boolean |
getEnableAutoHealing()
Whether to disable auto healing for the layer.
|
java.lang.Boolean |
getInstallUpdatesOnBoot()
Whether to install operating system and package updates when the
instance boots.
|
java.lang.String |
getLayerId()
The layer ID.
|
java.lang.String |
getName()
The layer name, which is used by the console.
|
java.util.List<java.lang.String> |
getPackages()
An array of
Package objects that describe the layer's
packages. |
java.lang.String |
getShortname()
The layer short name, which is used internally by AWS OpsWorksand by
Chef.
|
java.util.List<VolumeConfiguration> |
getVolumeConfigurations()
A
VolumeConfigurations object that describes the layer's
Amazon EBS volumes. |
int |
hashCode() |
java.lang.Boolean |
isAutoAssignElasticIps()
Whether to automatically assign an Elastic
IP address to the layer.
|
java.lang.Boolean |
isEnableAutoHealing()
Whether to disable auto healing for the layer.
|
java.lang.Boolean |
isInstallUpdatesOnBoot()
Whether to install operating system and package updates when the
instance boots.
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
One or more user-defined key/value pairs to be added to the stack
attributes bag.
|
void |
setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic
IP address to the layer.
|
void |
setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)
The ARN of an IAM profile to be used for all of 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 |
setEnableAutoHealing(java.lang.Boolean enableAutoHealing)
Whether to disable auto healing for the layer.
|
void |
setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the
instance boots.
|
void |
setLayerId(java.lang.String layerId)
The layer ID.
|
void |
setName(java.lang.String name)
The layer name, which is used by the console.
|
void |
setPackages(java.util.Collection<java.lang.String> packages)
An array of
Package objects that describe the layer's
packages. |
void |
setShortname(java.lang.String shortname)
The layer short name, which is used internally by AWS OpsWorksand by
Chef.
|
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.
|
UpdateLayerRequest |
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
One or more user-defined key/value pairs to be added to the stack
attributes bag.
|
UpdateLayerRequest |
withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic
IP address to the layer.
|
UpdateLayerRequest |
withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)
The ARN of an IAM profile to be used for all of the layer's EC2
instances.
|
UpdateLayerRequest |
withCustomRecipes(Recipes customRecipes)
A
LayerCustomRecipes object that specifies the layer's
custom recipes. |
UpdateLayerRequest |
withCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)
An array containing the layer's custom security group IDs.
|
UpdateLayerRequest |
withCustomSecurityGroupIds(java.lang.String... customSecurityGroupIds)
An array containing the layer's custom security group IDs.
|
UpdateLayerRequest |
withEnableAutoHealing(java.lang.Boolean enableAutoHealing)
Whether to disable auto healing for the layer.
|
UpdateLayerRequest |
withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the
instance boots.
|
UpdateLayerRequest |
withLayerId(java.lang.String layerId)
The layer ID.
|
UpdateLayerRequest |
withName(java.lang.String name)
The layer name, which is used by the console.
|
UpdateLayerRequest |
withPackages(java.util.Collection<java.lang.String> packages)
An array of
Package objects that describe the layer's
packages. |
UpdateLayerRequest |
withPackages(java.lang.String... packages)
An array of
Package objects that describe the layer's
packages. |
UpdateLayerRequest |
withShortname(java.lang.String shortname)
The layer short name, which is used internally by AWS OpsWorksand by
Chef.
|
UpdateLayerRequest |
withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)
A
VolumeConfigurations object that describes the layer's
Amazon EBS volumes. |
UpdateLayerRequest |
withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)
A
VolumeConfigurations object that describes the layer's
Amazon EBS volumes. |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getLayerId()
public void setLayerId(java.lang.String layerId)
layerId - The layer ID.public UpdateLayerRequest withLayerId(java.lang.String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId - The layer ID.public java.lang.String getName()
public void setName(java.lang.String name)
name - The layer name, which is used by the console.public UpdateLayerRequest withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name - The layer name, which is used by the console.public java.lang.String getShortname()
public void setShortname(java.lang.String shortname)
shortname - The layer short name, which is used internally by AWS OpsWorksand by
Chef. 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
and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/.public UpdateLayerRequest withShortname(java.lang.String shortname)
Returns a reference to this object so that method calls can be chained together.
shortname - The layer short name, which is used internally by AWS OpsWorksand by
Chef. 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
and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/.public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - One or more user-defined key/value pairs to be added to the stack
attributes bag.public UpdateLayerRequest withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes - One or more user-defined key/value pairs to be added to the stack
attributes bag.public UpdateLayerRequest addAttributesEntry(java.lang.String key, java.lang.String value)
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.public UpdateLayerRequest clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getCustomInstanceProfileArn()
public void setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)
customInstanceProfileArn - The ARN of an IAM profile to be used for all of the layer's EC2
instances. For more information about IAM ARNs, see Using
Identifiers.public UpdateLayerRequest withCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)
Returns a reference to this object so that method calls can be chained together.
customInstanceProfileArn - The ARN of an IAM profile to be used for all of the layer's EC2
instances. For more information about IAM ARNs, see Using
Identifiers.public java.util.List<java.lang.String> getCustomSecurityGroupIds()
public void setCustomSecurityGroupIds(java.util.Collection<java.lang.String> customSecurityGroupIds)
customSecurityGroupIds - An array containing the layer's custom security group IDs.public UpdateLayerRequest withCustomSecurityGroupIds(java.lang.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 UpdateLayerRequest withCustomSecurityGroupIds(java.util.Collection<java.lang.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 java.util.List<java.lang.String> getPackages()
Package objects that describe the layer's
packages.Package objects that describe the layer's
packages.public void setPackages(java.util.Collection<java.lang.String> packages)
Package objects that describe the layer's
packages.packages - An array of Package objects that describe the layer's
packages.public UpdateLayerRequest withPackages(java.lang.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 UpdateLayerRequest withPackages(java.util.Collection<java.lang.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 java.util.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(java.util.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 UpdateLayerRequest 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 UpdateLayerRequest withVolumeConfigurations(java.util.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 java.lang.Boolean isEnableAutoHealing()
public void setEnableAutoHealing(java.lang.Boolean enableAutoHealing)
enableAutoHealing - Whether to disable auto healing for the layer.public UpdateLayerRequest withEnableAutoHealing(java.lang.Boolean enableAutoHealing)
Returns a reference to this object so that method calls can be chained together.
enableAutoHealing - Whether to disable auto healing for the layer.public java.lang.Boolean getEnableAutoHealing()
public java.lang.Boolean isAutoAssignElasticIps()
public void setAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
autoAssignElasticIps - Whether to automatically assign an Elastic
IP address to the layer.public UpdateLayerRequest withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
Returns a reference to this object so that method calls can be chained together.
autoAssignElasticIps - Whether to automatically assign an Elastic
IP address to the layer.public java.lang.Boolean getAutoAssignElasticIps()
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 UpdateLayerRequest 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 java.lang.Boolean isInstallUpdatesOnBoot()
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. true, to ensure that
your instances have the latest security updates.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. true, to ensure that
your instances have the latest security updates.public void setInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
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. true, to ensure that
your instances have the latest security updates.installUpdatesOnBoot - Whether to install operating system and package updates when the
instance boots. The default value is true. To control
when updates are installed, set this value to false. You
must then update your instances manually by using
CreateDeployment to run the update_dependencies
stack command or manually running yum (Amazon Linux) or
apt-get (Ubuntu) on the instances. true, to ensure that
your instances have the latest security updates.public UpdateLayerRequest withInstallUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
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. true, to ensure that
your instances have the latest security updates.Returns a reference to this object so that method calls can be chained together.
installUpdatesOnBoot - Whether to install operating system and package updates when the
instance boots. The default value is true. To control
when updates are installed, set this value to false. You
must then update your instances manually by using
CreateDeployment to run the update_dependencies
stack command or manually running yum (Amazon Linux) or
apt-get (Ubuntu) on the instances. true, to ensure that
your instances have the latest security updates.public java.lang.Boolean getInstallUpdatesOnBoot()
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. true, to ensure that
your instances have the latest security updates.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. true, to ensure that
your instances have the latest security updates.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object