|
|||||||
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 | |
---|---|
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
Specifies how block devices are exposed to the instance. |
java.util.Date |
getCreatedTime()
Provides the creation date and time for this launch configuration. |
java.lang.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. |
java.lang.String |
getInstanceType()
Specifies the instance type of the EC2 instance. |
java.lang.String |
getKernelId()
Provides the ID of the kernel associated with the EC2 AMI. |
java.lang.String |
getKeyName()
Provides the name of the EC2 key pair. |
java.lang.String |
getLaunchConfigurationARN()
The launch configuration's Amazon Resource Name (ARN). |
java.lang.String |
getLaunchConfigurationName()
Specifies the name of the launch configuration. |
java.lang.String |
getRamdiskId()
Provides ID of the RAM disk associated with the EC2 AMI. |
java.util.List<java.lang.String> |
getSecurityGroups()
A description of the security groups to associate with the EC2 instances. |
java.lang.String |
getUserData()
The user data available to the launched EC2 instances. |
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
void |
setCreatedTime(java.util.Date createdTime)
Provides the creation date and time for this launch configuration. |
void |
setImageId(java.lang.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(java.lang.String instanceType)
Specifies the instance type of the EC2 instance. |
void |
setKernelId(java.lang.String kernelId)
Provides the ID of the kernel associated with the EC2 AMI. |
void |
setKeyName(java.lang.String keyName)
Provides the name of the EC2 key pair. |
void |
setLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The launch configuration's Amazon Resource Name (ARN). |
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
Specifies the name of the launch configuration. |
void |
setRamdiskId(java.lang.String ramdiskId)
Provides ID of the RAM disk associated with the EC2 AMI. |
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A description of the security groups to associate with the EC2 instances. |
void |
setUserData(java.lang.String userData)
The user data available to the launched EC2 instances. |
java.lang.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(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
LaunchConfiguration |
withCreatedTime(java.util.Date createdTime)
Provides the creation date and time for this launch configuration. |
LaunchConfiguration |
withImageId(java.lang.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(java.lang.String instanceType)
Specifies the instance type of the EC2 instance. |
LaunchConfiguration |
withKernelId(java.lang.String kernelId)
Provides the ID of the kernel associated with the EC2 AMI. |
LaunchConfiguration |
withKeyName(java.lang.String keyName)
Provides the name of the EC2 key pair. |
LaunchConfiguration |
withLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The launch configuration's Amazon Resource Name (ARN). |
LaunchConfiguration |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
Specifies the name of the launch configuration. |
LaunchConfiguration |
withRamdiskId(java.lang.String ramdiskId)
Provides ID of the RAM disk associated with the EC2 AMI. |
LaunchConfiguration |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withSecurityGroups(java.lang.String... securityGroups)
A description of the security groups to associate with the EC2 instances. |
LaunchConfiguration |
withUserData(java.lang.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 java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- Specifies the name of the launch configuration.public LaunchConfiguration withLaunchConfigurationName(java.lang.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 java.lang.String getLaunchConfigurationARN()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationARN(java.lang.String launchConfigurationARN)
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationARN
- The launch configuration's Amazon Resource Name (ARN).public LaunchConfiguration withLaunchConfigurationARN(java.lang.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 java.lang.String getImageId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setImageId(java.lang.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(java.lang.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 java.lang.String getKeyName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setKeyName(java.lang.String keyName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
keyName
- Provides the name of the EC2 key pair.public LaunchConfiguration withKeyName(java.lang.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 java.util.List<java.lang.String> getSecurityGroups()
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
securityGroups
- A description of the security groups to associate with the EC2
instances.public LaunchConfiguration withSecurityGroups(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getUserData()
Constraints:
Length: 0 - 21847
Pattern: [ -??-??-?\r\n\t]*
public void setUserData(java.lang.String userData)
Constraints:
Length: 0 - 21847
Pattern: [ -??-??-?\r\n\t]*
userData
- The user data available to the launched EC2 instances.public LaunchConfiguration withUserData(java.lang.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 java.lang.String getInstanceType()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceType(java.lang.String instanceType)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
instanceType
- Specifies the instance type of the EC2 instance.public LaunchConfiguration withInstanceType(java.lang.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 java.lang.String getKernelId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setKernelId(java.lang.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(java.lang.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 java.lang.String getRamdiskId()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setRamdiskId(java.lang.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(java.lang.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 java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(java.util.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(java.util.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 java.util.Date getCreatedTime()
public void setCreatedTime(java.util.Date createdTime)
createdTime
- Provides the creation date and time for this launch configuration.public LaunchConfiguration withCreatedTime(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |