|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
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 |
getIamInstanceProfile()
Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
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 Amazon EC2 instance. |
String |
getKernelId()
Provides the ID of the kernel associated with the Amazon EC2 AMI. |
String |
getKeyName()
Provides the name of the Amazon 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 Amazon EC2 AMI. |
List<String> |
getSecurityGroups()
A description of the security groups to associate with the Amazon EC2 instances. |
String |
getSpotPrice()
Specifies the price to bid when launching Spot Instances. |
String |
getUserData()
The user data available to the launched Amazon EC2 instances. |
int |
hashCode()
|
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 |
setIamInstanceProfile(String iamInstanceProfile)
Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
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 Amazon EC2 instance. |
void |
setKernelId(String kernelId)
Provides the ID of the kernel associated with the Amazon EC2 AMI. |
void |
setKeyName(String keyName)
Provides the name of the Amazon 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 Amazon EC2 AMI. |
void |
setSecurityGroups(Collection<String> securityGroups)
A description of the security groups to associate with the Amazon EC2 instances. |
void |
setSpotPrice(String spotPrice)
Specifies the price to bid when launching Spot Instances. |
void |
setUserData(String userData)
The user data available to the launched Amazon 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 |
withIamInstanceProfile(String iamInstanceProfile)
Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. |
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 Amazon EC2 instance. |
LaunchConfiguration |
withKernelId(String kernelId)
Provides the ID of the kernel associated with the Amazon EC2 AMI. |
LaunchConfiguration |
withKeyName(String keyName)
Provides the name of the Amazon 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 Amazon EC2 AMI. |
LaunchConfiguration |
withSecurityGroups(Collection<String> securityGroups)
A description of the security groups to associate with the Amazon EC2 instances. |
LaunchConfiguration |
withSecurityGroups(String... securityGroups)
A description of the security groups to associate with the Amazon EC2 instances. |
LaunchConfiguration |
withSpotPrice(String spotPrice)
Specifies the price to bid when launching Spot Instances. |
LaunchConfiguration |
withUserData(String userData)
The user data available to the launched Amazon EC2 instances. |
Methods inherited from class java.lang.Object |
---|
getClass, 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 Amazon 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 Amazon EC2 key pair.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- A description of the security groups to associate with the Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon 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 String getSpotPrice()
Constraints:
Length: 1 - 255
public void setSpotPrice(String spotPrice)
Constraints:
Length: 1 - 255
spotPrice
- Specifies the price to bid when launching Spot Instances.public LaunchConfiguration withSpotPrice(String spotPrice)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
spotPrice
- Specifies the price to bid when launching Spot Instances.
public String getIamInstanceProfile()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setIamInstanceProfile(String iamInstanceProfile)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
iamInstanceProfile
- Provides the name or the Amazon Resource Name (ARN) of the instance
profile associated with the IAM role for the instance. The instance
profile contains the IAM role.public LaunchConfiguration withIamInstanceProfile(String iamInstanceProfile)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
iamInstanceProfile
- Provides the name or the Amazon Resource Name (ARN) of the instance
profile associated with the IAM role for the instance. The instance
profile contains the IAM role.
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |