|
|||||||
| 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
The LaunchConfiguration data type.
| 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. |
InstanceMonitoring |
getInstanceMonitoring()
Controls whether instances in this group are launched with detailed monitoring or not. |
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 |
getLaunchConfigurationARN()
The launch configuration's Amazon Resource Name (ARN). |
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()
A description of the security groups to associate with the 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 |
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 |
setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed monitoring or not. |
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 |
setLaunchConfigurationARN(String launchConfigurationARN)
The launch configuration's Amazon Resource Name (ARN). |
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)
A description of the security groups to associate with the EC2 instances. |
void |
setUserData(String userData)
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 |
withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed monitoring or not. |
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 |
withLaunchConfigurationARN(String launchConfigurationARN)
The launch configuration's Amazon Resource Name (ARN). |
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)
A description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withSecurityGroups(String... securityGroups)
A description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withUserData(String userData)
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 getLaunchConfigurationARN()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationARN(String launchConfigurationARN)
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationARN - The launch configuration's Amazon Resource Name (ARN).public LaunchConfiguration withLaunchConfigurationARN(String launchConfigurationARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationARN - The launch configuration's Amazon Resource Name (ARN).
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 - 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 - 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 - 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 - 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 - 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 InstanceMonitoring getInstanceMonitoring()
public void setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
instanceMonitoring - Controls whether instances in this group are launched with detailed
monitoring or not.public LaunchConfiguration withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Returns a reference to this object so that method calls can be chained together.
instanceMonitoring - Controls whether instances in this group are launched with detailed
monitoring or not.
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 ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||