|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.LaunchConfiguration
public class LaunchConfiguration
Constructor Summary | |
---|---|
LaunchConfiguration()
|
Method Summary | |
---|---|
List<BlockDeviceMapping> |
getBlockDeviceMappings()
Specifies how block devices are exposed to the instance. |
Date |
getCreatedTime()
Provides the creation date and time for this launch configuration. |
String |
getImageId()
Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration. |
String |
getInstanceType()
Specifies the instance type of the EC2 instance. |
String |
getKernelId()
Provides the ID of the kernel associated with the EC2 AMI. |
String |
getKeyName()
Provides the name of the EC2 key pair. |
String |
getLaunchConfigurationName()
Specifies the name of the launch configuration. |
String |
getRamdiskId()
Provides ID of the RAM disk associated with the EC2 AMI. |
List<String> |
getSecurityGroups()
Contains a description of the security groups to associate with the EC2 instances. |
String |
getUserData()
Contains the user data available to the launched EC2 instances. |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
void |
setCreatedTime(Date createdTime)
Provides the creation date and time for this launch configuration. |
void |
setImageId(String imageId)
Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration. |
void |
setInstanceType(String instanceType)
Specifies the instance type of the EC2 instance. |
void |
setKernelId(String kernelId)
Provides the ID of the kernel associated with the EC2 AMI. |
void |
setKeyName(String keyName)
Provides the name of the EC2 key pair. |
void |
setLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the launch configuration. |
void |
setRamdiskId(String ramdiskId)
Provides ID of the RAM disk associated with the EC2 AMI. |
void |
setSecurityGroups(Collection<String> securityGroups)
Contains a description of the security groups to associate with the EC2 instances. |
void |
setUserData(String userData)
Contains the user data available to the launched EC2 instances. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LaunchConfiguration |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
LaunchConfiguration |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
LaunchConfiguration |
withCreatedTime(Date createdTime)
Provides the creation date and time for this launch configuration. |
LaunchConfiguration |
withImageId(String imageId)
Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration. |
LaunchConfiguration |
withInstanceType(String instanceType)
Specifies the instance type of the EC2 instance. |
LaunchConfiguration |
withKernelId(String kernelId)
Provides the ID of the kernel associated with the EC2 AMI. |
LaunchConfiguration |
withKeyName(String keyName)
Provides the name of the EC2 key pair. |
LaunchConfiguration |
withLaunchConfigurationName(String launchConfigurationName)
Specifies the name of the launch configuration. |
LaunchConfiguration |
withRamdiskId(String ramdiskId)
Provides ID of the RAM disk associated with the EC2 AMI. |
LaunchConfiguration |
withSecurityGroups(Collection<String> securityGroups)
Contains a description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withSecurityGroups(String... securityGroups)
Contains a description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withUserData(String userData)
Contains the user data available to the launched EC2 instances. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LaunchConfiguration()
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
- Specifies the name of the launch configuration.public LaunchConfiguration 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
- Specifies the name of the launch configuration.
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
- Provides the unique ID of the Amazon Machine Image (AMI) that
was assigned during registration.public LaunchConfiguration 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
- Provides the unique ID of the Amazon Machine Image (AMI) that
was assigned during registration.
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
- Provides the name of the EC2 key pair.public LaunchConfiguration 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
- Provides the name of the EC2 key pair.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- Contains a description of the security groups to associate with the
EC2 instances.public LaunchConfiguration withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- Contains a description of the security groups to associate with the
EC2 instances.
public LaunchConfiguration withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- Contains a description of the security groups to associate with the
EC2 instances.
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
- Contains the user data available to the launched EC2 instances.public LaunchConfiguration 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
- Contains the user data available to the launched EC2 instances.
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
- Specifies the instance type of the EC2 instance.public LaunchConfiguration 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
- Specifies the instance type of the EC2 instance.
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
- Provides the ID of the kernel associated with the EC2 AMI.public LaunchConfiguration 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
- Provides 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
- Provides ID of the RAM disk associated with the EC2 AMI.public LaunchConfiguration 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
- Provides 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.public LaunchConfiguration 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.
public LaunchConfiguration 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.
public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
createdTime
- Provides the creation date and time for this launch configuration.public LaunchConfiguration withCreatedTime(Date createdTime)
Returns a reference to this object so that method calls can be chained together.
createdTime
- Provides the creation date and time for this launch configuration.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |