|
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.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.UpdateLayerRequest
public class UpdateLayerRequest
Container for the parameters to the UpdateLayer operation
.
Updates a specified layer.
AWSOpsWorks.updateLayer(UpdateLayerRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateLayerRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Map<String,String> |
getAttributes()
One or more user-defined key/value pairs to be added to the stack attributes bag. |
Boolean |
getAutoAssignElasticIps()
Whether to automatically assign an Elastic IP address to the layer. |
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. |
List<String> |
getCustomSecurityGroupIds()
An array containing the layer's custom security group IDs. |
Boolean |
getEnableAutoHealing()
Whether to disable auto healing for the layer. |
String |
getLayerId()
The layer ID. |
String |
getName()
The layer name, which is used by the console. |
List<String> |
getPackages()
An array of Package objects that describe the layer's
packages. |
String |
getShortname()
The layer short name, which is used internally by OpsWorksand by Chef. |
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. |
Boolean |
isEnableAutoHealing()
Whether to disable auto healing for the layer. |
void |
setAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes bag. |
void |
setAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to the layer. |
void |
setCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
void |
setEnableAutoHealing(Boolean enableAutoHealing)
Whether to disable auto healing for the layer. |
void |
setLayerId(String layerId)
The layer ID. |
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's
packages. |
void |
setShortname(String shortname)
The layer short name, which is used internally by OpsWorksand by Chef. |
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. |
UpdateLayerRequest |
withAttributes(Map<String,String> attributes)
One or more user-defined key/value pairs to be added to the stack attributes bag. |
UpdateLayerRequest |
withAutoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to the layer. |
UpdateLayerRequest |
withCustomInstanceProfileArn(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(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
UpdateLayerRequest |
withCustomSecurityGroupIds(String... customSecurityGroupIds)
An array containing the layer's custom security group IDs. |
UpdateLayerRequest |
withEnableAutoHealing(Boolean enableAutoHealing)
Whether to disable auto healing for the layer. |
UpdateLayerRequest |
withLayerId(String layerId)
The layer ID. |
UpdateLayerRequest |
withName(String name)
The layer name, which is used by the console. |
UpdateLayerRequest |
withPackages(Collection<String> packages)
An array of Package objects that describe the layer's
packages. |
UpdateLayerRequest |
withPackages(String... packages)
An array of Package objects that describe the layer's
packages. |
UpdateLayerRequest |
withShortname(String shortname)
The layer short name, which is used internally by OpsWorksand by Chef. |
UpdateLayerRequest |
withVolumeConfigurations(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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateLayerRequest()
Method Detail |
---|
public String getLayerId()
public void setLayerId(String layerId)
layerId
- The layer ID.public UpdateLayerRequest withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The layer ID.
public String getName()
public void setName(String name)
name
- The layer name, which is used by the console.public UpdateLayerRequest withName(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 String getShortname()
public void setShortname(String shortname)
shortname
- The layer short name, which is used internally by OpsWorksand by Chef.
The shortname 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(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 OpsWorksand by Chef.
The shortname 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 Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- One or more user-defined key/value pairs to be added to the stack
attributes bag.public UpdateLayerRequest withAttributes(Map<String,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 String getCustomInstanceProfileArn()
public void setCustomInstanceProfileArn(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(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 List<String> getCustomSecurityGroupIds()
public void setCustomSecurityGroupIds(Collection<String> customSecurityGroupIds)
customSecurityGroupIds
- An array containing the layer's custom security group IDs.public UpdateLayerRequest 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 UpdateLayerRequest 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> 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 UpdateLayerRequest 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 UpdateLayerRequest 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 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(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 to disable auto healing for the layer.public UpdateLayerRequest withEnableAutoHealing(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 Boolean getEnableAutoHealing()
public Boolean isAutoAssignElasticIps()
public void setAutoAssignElasticIps(Boolean autoAssignElasticIps)
autoAssignElasticIps
- Whether to automatically assign an Elastic
IP address to the layer.public UpdateLayerRequest withAutoAssignElasticIps(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 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 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 |