|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.CreateLaunchConfigurationRequest
public class CreateLaunchConfigurationRequest
Constructor Summary | |
---|---|
CreateLaunchConfigurationRequest()
|
Method Summary | |
---|---|
List<BlockDeviceMapping> |
getBlockDeviceMappings()
Specifies how block devices are exposed to the instance. |
String |
getImageId()
Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. |
String |
getInstanceType()
The instance type of the EC2 instance. |
String |
getKernelId()
The ID of the kernel associated with the EC2 AMI. |
String |
getKeyName()
The name of the EC2 key pair. |
String |
getLaunchConfigurationName()
The name of the launch configuration to create. |
String |
getRamdiskId()
The ID of the RAM disk associated with the EC2 AMI. |
List<String> |
getSecurityGroups()
A list of names of the security groups with which to associate EC2 instances. |
String |
getUserData()
The user data available to the launched EC2 instances. |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
void |
setImageId(String imageId)
Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. |
void |
setInstanceType(String instanceType)
The instance type of the EC2 instance. |
void |
setKernelId(String kernelId)
The ID of the kernel associated with the EC2 AMI. |
void |
setKeyName(String keyName)
The name of the EC2 key pair. |
void |
setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to create. |
void |
setRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the EC2 AMI. |
void |
setSecurityGroups(Collection<String> securityGroups)
A list of names of the security groups with which to associate EC2 instances. |
void |
setUserData(String userData)
The user data available to the launched EC2 instances. |
String |
toString()
|
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
CreateLaunchConfigurationRequest |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
CreateLaunchConfigurationRequest |
withImageId(String imageId)
Unique ID of the Amazon Machine Image (AMI) which was assigned during registration. |
CreateLaunchConfigurationRequest |
withInstanceType(String instanceType)
The instance type of the EC2 instance. |
CreateLaunchConfigurationRequest |
withKernelId(String kernelId)
The ID of the kernel associated with the EC2 AMI. |
CreateLaunchConfigurationRequest |
withKeyName(String keyName)
The name of the EC2 key pair. |
CreateLaunchConfigurationRequest |
withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to create. |
CreateLaunchConfigurationRequest |
withRamdiskId(String ramdiskId)
The ID of the RAM disk associated with the EC2 AMI. |
CreateLaunchConfigurationRequest |
withSecurityGroups(Collection<String> securityGroups)
A list of names of the security groups with which to associate EC2 instances. |
CreateLaunchConfigurationRequest |
withSecurityGroups(String... securityGroups)
A list of names of the security groups with which to associate EC2 instances. |
CreateLaunchConfigurationRequest |
withUserData(String userData)
The user data available to the launched EC2 instances. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateLaunchConfigurationRequest()
Method Detail |
---|
public String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- The name of the launch configuration to create.public CreateLaunchConfigurationRequest withLaunchConfigurationName(String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- The name of the launch configuration to create.
public String getImageId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setImageId(String imageId)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
imageId
- Unique ID of the Amazon Machine Image (AMI) which was assigned
during registration. For more information about Amazon EC2 images,
please see Amazon EC2 product
documentationpublic CreateLaunchConfigurationRequest withImageId(String imageId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
imageId
- Unique ID of the Amazon Machine Image (AMI) which was assigned
during registration. For more information about Amazon EC2 images,
please see Amazon EC2 product
documentation
public String getKeyName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setKeyName(String keyName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
keyName
- The name of the EC2 key pair.public CreateLaunchConfigurationRequest withKeyName(String keyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
keyName
- The name of the EC2 key pair.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of names of the security groups with which to associate EC2
instances. For more information about Amazon EC2 security groups,
please see Amazon EC2 product
documentationpublic CreateLaunchConfigurationRequest withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- A list of names of the security groups with which to associate EC2
instances. For more information about Amazon EC2 security groups,
please see Amazon EC2 product
documentation
public CreateLaunchConfigurationRequest withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- A list of names of the security groups with which to associate EC2
instances. For more information about Amazon EC2 security groups,
please see Amazon EC2 product
documentation
public String getUserData()
Constraints:
Length: 0 - 21847
Pattern: [ -??-??-?\r\n\t]*
public void setUserData(String userData)
Constraints:
Length: 0 - 21847
Pattern: [ -??-??-?\r\n\t]*
userData
- The user data available to the launched EC2 instances. For more
information about Amazon EC2 user data, please see Amazon EC2 product
documentationpublic CreateLaunchConfigurationRequest withUserData(String userData)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 21847
Pattern: [ -??-??-?\r\n\t]*
userData
- The user data available to the launched EC2 instances. For more
information about Amazon EC2 user data, please see Amazon EC2 product
documentation
public String getInstanceType()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceType(String instanceType)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
instanceType
- The instance type of the EC2 instance. For more information about
Amazon EC2 instance types, please see Amazon EC2 product
documentationpublic CreateLaunchConfigurationRequest withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
instanceType
- The instance type of the EC2 instance. For more information about
Amazon EC2 instance types, please see Amazon EC2 product
documentation
public String getKernelId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setKernelId(String kernelId)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
kernelId
- The ID of the kernel associated with the EC2 AMI.public CreateLaunchConfigurationRequest withKernelId(String kernelId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
kernelId
- The ID of the kernel associated with the EC2 AMI.
public String getRamdiskId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setRamdiskId(String ramdiskId)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
ramdiskId
- The ID of the RAM disk associated with the EC2 AMI.public CreateLaunchConfigurationRequest withRamdiskId(String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
ramdiskId
- The ID of the RAM disk associated with the EC2 AMI.
public List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a VirtualName and a DeviceName. For more
information about Amazon EC2 BlockDeviceMappings, please see Amazon EC2 product
documentationpublic CreateLaunchConfigurationRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a VirtualName and a DeviceName. For more
information about Amazon EC2 BlockDeviceMappings, please see Amazon EC2 product
documentation
public CreateLaunchConfigurationRequest withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a VirtualName and a DeviceName. For more
information about Amazon EC2 BlockDeviceMappings, please see Amazon EC2 product
documentation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |