|
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.CreateLayerRequest
public class CreateLayerRequest
Container for the parameters to the CreateLayer operation
.
Creates a layer.
AWSOpsWorks.createLayer(CreateLayerRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateLayerRequest()
|
Method Summary | |
---|---|
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 that to be used for the layer's EC2 instances. |
Recipes |
getCustomRecipes()
A LayerCustomRecipes object that specifies the layer
custom recipes. |
java.util.List<java.lang.String> |
getCustomSecurityGroupIds()
An array containing the layer custom security group IDs. |
java.lang.Boolean |
getEnableAutoHealing()
Whether to disable auto healing for the layer. |
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
packages. |
java.lang.String |
getShortname()
The layer short name, which is used internally by OpsWorks and by Chef recipes. |
java.lang.String |
getStackId()
The layer stack ID. |
java.lang.String |
getType()
The layer type. |
java.util.List<VolumeConfiguration> |
getVolumeConfigurations()
A VolumeConfigurations object that describes the layer
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. |
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 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(java.util.Collection<java.lang.String> customSecurityGroupIds)
An array containing the layer custom security group IDs. |
void |
setEnableAutoHealing(java.lang.Boolean enableAutoHealing)
Whether to disable auto healing for the layer. |
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
packages. |
void |
setShortname(java.lang.String shortname)
The layer short name, which is used internally by OpsWorks and by Chef recipes. |
void |
setStackId(java.lang.String stackId)
The layer stack ID. |
void |
setType(java.lang.String type)
The layer type. |
void |
setVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)
A VolumeConfigurations object that describes the layer
Amazon EBS volumes. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateLayerRequest |
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. |
CreateLayerRequest |
withAutoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP address to the layer. |
CreateLayerRequest |
withCustomInstanceProfileArn(java.lang.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(java.util.Collection<java.lang.String> customSecurityGroupIds)
An array containing the layer custom security group IDs. |
CreateLayerRequest |
withCustomSecurityGroupIds(java.lang.String... customSecurityGroupIds)
An array containing the layer custom security group IDs. |
CreateLayerRequest |
withEnableAutoHealing(java.lang.Boolean enableAutoHealing)
Whether to disable auto healing for the layer. |
CreateLayerRequest |
withName(java.lang.String name)
The layer name, which is used by the console. |
CreateLayerRequest |
withPackages(java.util.Collection<java.lang.String> packages)
An array of Package objects that describe the layer
packages. |
CreateLayerRequest |
withPackages(java.lang.String... packages)
An array of Package objects that describe the layer
packages. |
CreateLayerRequest |
withShortname(java.lang.String shortname)
The layer short name, which is used internally by OpsWorks and by Chef recipes. |
CreateLayerRequest |
withStackId(java.lang.String stackId)
The layer stack ID. |
CreateLayerRequest |
withType(java.lang.String type)
The layer type. |
CreateLayerRequest |
withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)
A VolumeConfigurations object that describes the layer
Amazon EBS volumes. |
CreateLayerRequest |
withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)
A VolumeConfigurations object that describes the layer
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 CreateLayerRequest()
Method Detail |
---|
public java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId
- The layer stack ID.public CreateLayerRequest withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The layer stack ID.
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The layer type. A stack cannot have more than one layer of the same
type.public CreateLayerRequest withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
type
- The layer type. A stack cannot have more than one layer of the same
type.
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The layer name, which is used by the console.public CreateLayerRequest 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 OpsWorks and by Chef
recipes. 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, which are limited to the alphanumeric characters, '-',
'_', and '.'.public CreateLayerRequest 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 OpsWorks and by Chef
recipes. 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, which are limited to the alphanumeric characters, '-',
'_', and '.'.
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 CreateLayerRequest 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 java.lang.String getCustomInstanceProfileArn()
public void setCustomInstanceProfileArn(java.lang.String customInstanceProfileArn)
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.public CreateLayerRequest 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 that to be used for 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 custom security group IDs.public CreateLayerRequest 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 custom security group IDs.
public CreateLayerRequest 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 custom security group IDs.
public java.util.List<java.lang.String> getPackages()
Package
objects that describe the layer
packages.
Package
objects that describe the layer
packages.public void setPackages(java.util.Collection<java.lang.String> packages)
Package
objects that describe the layer
packages.
packages
- An array of Package
objects that describe the layer
packages.public CreateLayerRequest withPackages(java.lang.String... packages)
Package
objects that describe the layer
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
packages.
public CreateLayerRequest withPackages(java.util.Collection<java.lang.String> packages)
Package
objects that describe the layer
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
packages.
public java.util.List<VolumeConfiguration> getVolumeConfigurations()
VolumeConfigurations
object that describes the layer
Amazon EBS volumes.
VolumeConfigurations
object that describes the layer
Amazon EBS volumes.public void setVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)
VolumeConfigurations
object that describes the layer
Amazon EBS volumes.
volumeConfigurations
- A VolumeConfigurations
object that describes the layer
Amazon EBS volumes.public CreateLayerRequest withVolumeConfigurations(VolumeConfiguration... volumeConfigurations)
VolumeConfigurations
object that describes the layer
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
Amazon EBS volumes.
public CreateLayerRequest withVolumeConfigurations(java.util.Collection<VolumeConfiguration> volumeConfigurations)
VolumeConfigurations
object that describes the layer
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
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 CreateLayerRequest 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 CreateLayerRequest 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
custom recipes.
LayerCustomRecipes
object that specifies the layer
custom recipes.public void setCustomRecipes(Recipes customRecipes)
LayerCustomRecipes
object that specifies the layer
custom recipes.
customRecipes
- A LayerCustomRecipes
object that specifies the layer
custom recipes.public CreateLayerRequest withCustomRecipes(Recipes customRecipes)
LayerCustomRecipes
object that specifies the layer
custom recipes.
Returns a reference to this object so that method calls can be chained together.
customRecipes
- A LayerCustomRecipes
object that specifies the layer
custom recipes.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |