public class LaunchConfiguration
extends java.lang.Object
implements java.io.Serializable
Describes a launch configuration.
Constructor and Description |
---|
LaunchConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAssociatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each
instance.
|
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
A block device mapping, which specifies the block devices for the
instance.
|
java.lang.String |
getClassicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
java.util.List<java.lang.String> |
getClassicLinkVPCSecurityGroups()
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId . |
java.util.Date |
getCreatedTime()
The creation date and time for the launch configuration.
|
java.lang.Boolean |
getEbsOptimized()
Controls whether the instance is optimized for EBS I/O (
true
) or not (false ). |
java.lang.String |
getIamInstanceProfile()
The name or Amazon Resource Name (ARN) of the instance profile associated
with the IAM role for the instance.
|
java.lang.String |
getImageId()
The ID of the Amazon Machine Image (AMI).
|
InstanceMonitoring |
getInstanceMonitoring()
Controls whether instances in this group are launched with detailed
monitoring.
|
java.lang.String |
getInstanceType()
The instance type for the instances.
|
java.lang.String |
getKernelId()
The ID of the kernel associated with the AMI.
|
java.lang.String |
getKeyName()
The name of the key pair.
|
java.lang.String |
getLaunchConfigurationARN()
The Amazon Resource Name (ARN) of the launch configuration.
|
java.lang.String |
getLaunchConfigurationName()
The name of the launch configuration.
|
java.lang.String |
getPlacementTenancy()
The tenancy of the instance, either
default or
dedicated . |
java.lang.String |
getRamdiskId()
The ID of the RAM disk associated with the AMI.
|
java.util.List<java.lang.String> |
getSecurityGroups()
The security groups to associate with the instances.
|
java.lang.String |
getSpotPrice()
The price to bid when launching Spot Instances.
|
java.lang.String |
getUserData()
The user data available to the instances.
|
int |
hashCode() |
java.lang.Boolean |
isAssociatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each
instance.
|
java.lang.Boolean |
isEbsOptimized()
Controls whether the instance is optimized for EBS I/O (
true
) or not (false ). |
void |
setAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
[EC2-VPC] Indicates whether to assign a public IP address to each
instance.
|
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A block device mapping, which specifies the block devices for the
instance.
|
void |
setClassicLinkVPCId(java.lang.String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
void |
setClassicLinkVPCSecurityGroups(java.util.Collection<java.lang.String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId . |
void |
setCreatedTime(java.util.Date createdTime)
The creation date and time for the launch configuration.
|
void |
setEbsOptimized(java.lang.Boolean ebsOptimized)
Controls whether the instance is optimized for EBS I/O (
true
) or not (false ). |
void |
setIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or Amazon Resource Name (ARN) of the instance profile associated
with the IAM role for the instance.
|
void |
setImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
|
void |
setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed
monitoring.
|
void |
setInstanceType(java.lang.String instanceType)
The instance type for the instances.
|
void |
setKernelId(java.lang.String kernelId)
The ID of the kernel associated with the AMI.
|
void |
setKeyName(java.lang.String keyName)
The name of the key pair.
|
void |
setLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The Amazon Resource Name (ARN) of the launch configuration.
|
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
|
void |
setPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance, either
default or
dedicated . |
void |
setRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the AMI.
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups to associate with the instances.
|
void |
setSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
|
void |
setUserData(java.lang.String userData)
The user data available to the instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LaunchConfiguration |
withAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
[EC2-VPC] Indicates whether to assign a public IP address to each
instance.
|
LaunchConfiguration |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
A block device mapping, which specifies the block devices for the
instance.
|
LaunchConfiguration |
withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A block device mapping, which specifies the block devices for the
instance.
|
LaunchConfiguration |
withClassicLinkVPCId(java.lang.String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
LaunchConfiguration |
withClassicLinkVPCSecurityGroups(java.util.Collection<java.lang.String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId . |
LaunchConfiguration |
withClassicLinkVPCSecurityGroups(java.lang.String... classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId . |
LaunchConfiguration |
withCreatedTime(java.util.Date createdTime)
The creation date and time for the launch configuration.
|
LaunchConfiguration |
withEbsOptimized(java.lang.Boolean ebsOptimized)
Controls whether the instance is optimized for EBS I/O (
true
) or not (false ). |
LaunchConfiguration |
withIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or Amazon Resource Name (ARN) of the instance profile associated
with the IAM role for the instance.
|
LaunchConfiguration |
withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
|
LaunchConfiguration |
withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed
monitoring.
|
LaunchConfiguration |
withInstanceType(java.lang.String instanceType)
The instance type for the instances.
|
LaunchConfiguration |
withKernelId(java.lang.String kernelId)
The ID of the kernel associated with the AMI.
|
LaunchConfiguration |
withKeyName(java.lang.String keyName)
The name of the key pair.
|
LaunchConfiguration |
withLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The Amazon Resource Name (ARN) of the launch configuration.
|
LaunchConfiguration |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
|
LaunchConfiguration |
withPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance, either
default or
dedicated . |
LaunchConfiguration |
withRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the AMI.
|
LaunchConfiguration |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups to associate with the instances.
|
LaunchConfiguration |
withSecurityGroups(java.lang.String... securityGroups)
The security groups to associate with the instances.
|
LaunchConfiguration |
withSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
|
LaunchConfiguration |
withUserData(java.lang.String userData)
The user data available to the instances.
|
public java.lang.String getLaunchConfigurationName()
The name of the launch configuration.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the launch configuration.
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName
- The name of the launch configuration.
public LaunchConfiguration withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
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.
public java.lang.String getLaunchConfigurationARN()
The Amazon Resource Name (ARN) of the launch configuration.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The Amazon Resource Name (ARN) of the launch configuration.
public void setLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The Amazon Resource Name (ARN) of the launch configuration.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationARN
- The Amazon Resource Name (ARN) of the launch configuration.
public LaunchConfiguration withLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The Amazon Resource Name (ARN) of the launch configuration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationARN
- The Amazon Resource Name (ARN) of the launch configuration.
public java.lang.String getImageId()
The ID of the Amazon Machine Image (AMI).
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The ID of the Amazon Machine Image (AMI).
public void setImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
imageId
- The ID of the Amazon Machine Image (AMI).
public LaunchConfiguration withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
imageId
- The ID of the Amazon Machine Image (AMI).
public java.lang.String getKeyName()
The name of the key pair.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The name of the key pair.
public void setKeyName(java.lang.String keyName)
The name of the key pair.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
keyName
- The name of the key pair.
public LaunchConfiguration withKeyName(java.lang.String keyName)
The name of the key pair.
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 key pair.
public java.util.List<java.lang.String> getSecurityGroups()
The security groups to associate with the instances.
The security groups to associate with the instances.
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups to associate with the instances.
securityGroups
- The security groups to associate with the instances.
public LaunchConfiguration withSecurityGroups(java.lang.String... securityGroups)
The security groups to associate with the instances.
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups to associate with the instances.
public LaunchConfiguration withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups to associate with the instances.
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups to associate with the instances.
public java.lang.String getClassicLinkVPCId()
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
public void setClassicLinkVPCId(java.lang.String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
classicLinkVPCId
- The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
public LaunchConfiguration withClassicLinkVPCId(java.lang.String classicLinkVPCId)
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
classicLinkVPCId
- The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
public java.util.List<java.lang.String> getClassicLinkVPCSecurityGroups()
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
. This parameter is required if you specify
a ClassicLink-enabled VPC, and cannot be used otherwise. For more
information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
. This parameter is required if you
specify a ClassicLink-enabled VPC, and cannot be used otherwise.
For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.
public void setClassicLinkVPCSecurityGroups(java.util.Collection<java.lang.String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
. This parameter is required if you specify
a ClassicLink-enabled VPC, and cannot be used otherwise. For more
information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
classicLinkVPCSecurityGroups
-
The IDs of one or more security groups for the VPC specified
in ClassicLinkVPCId
. This parameter is required
if you specify a ClassicLink-enabled VPC, and cannot be used
otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.
public LaunchConfiguration withClassicLinkVPCSecurityGroups(java.lang.String... classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
. This parameter is required if you specify
a ClassicLink-enabled VPC, and cannot be used otherwise. For more
information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
classicLinkVPCSecurityGroups
-
The IDs of one or more security groups for the VPC specified
in ClassicLinkVPCId
. This parameter is required
if you specify a ClassicLink-enabled VPC, and cannot be used
otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.
public LaunchConfiguration withClassicLinkVPCSecurityGroups(java.util.Collection<java.lang.String> classicLinkVPCSecurityGroups)
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId
. This parameter is required if you specify
a ClassicLink-enabled VPC, and cannot be used otherwise. For more
information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
Returns a reference to this object so that method calls can be chained together.
classicLinkVPCSecurityGroups
-
The IDs of one or more security groups for the VPC specified
in ClassicLinkVPCId
. This parameter is required
if you specify a ClassicLink-enabled VPC, and cannot be used
otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User
Guide.
public java.lang.String getUserData()
The user data available to the instances.
Constraints:
Length: - 21847
Pattern: [ --�𐀀-\r\n\t]*
The user data available to the instances.
public void setUserData(java.lang.String userData)
The user data available to the instances.
Constraints:
Length: - 21847
Pattern: [ --�𐀀-\r\n\t]*
userData
- The user data available to the instances.
public LaunchConfiguration withUserData(java.lang.String userData)
The user data available to the instances.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 21847
Pattern: [ --�𐀀-\r\n\t]*
userData
- The user data available to the instances.
public java.lang.String getInstanceType()
The instance type for the instances.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The instance type for the instances.
public void setInstanceType(java.lang.String instanceType)
The instance type for the instances.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
instanceType
- The instance type for the instances.
public LaunchConfiguration withInstanceType(java.lang.String instanceType)
The instance type for the instances.
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 for the instances.
public java.lang.String getKernelId()
The ID of the kernel associated with the AMI.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The ID of the kernel associated with the AMI.
public void setKernelId(java.lang.String kernelId)
The ID of the kernel associated with the AMI.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
kernelId
- The ID of the kernel associated with the AMI.
public LaunchConfiguration withKernelId(java.lang.String kernelId)
The ID of the kernel associated with the AMI.
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 AMI.
public java.lang.String getRamdiskId()
The ID of the RAM disk associated with the AMI.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
The ID of the RAM disk associated with the AMI.
public void setRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the AMI.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
ramdiskId
- The ID of the RAM disk associated with the AMI.
public LaunchConfiguration withRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the AMI.
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 AMI.
public java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
A block device mapping, which specifies the block devices for the instance.
A block device mapping, which specifies the block devices for the instance.
public void setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A block device mapping, which specifies the block devices for the instance.
blockDeviceMappings
- A block device mapping, which specifies the block devices for the instance.
public LaunchConfiguration withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
A block device mapping, which specifies the block devices for the instance.
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- A block device mapping, which specifies the block devices for the instance.
public LaunchConfiguration withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
A block device mapping, which specifies the block devices for the instance.
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- A block device mapping, which specifies the block devices for the instance.
public InstanceMonitoring getInstanceMonitoring()
Controls whether instances in this group are launched with detailed monitoring.
Controls whether instances in this group are launched with detailed monitoring.
public void setInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed monitoring.
instanceMonitoring
- Controls whether instances in this group are launched with detailed monitoring.
public LaunchConfiguration withInstanceMonitoring(InstanceMonitoring instanceMonitoring)
Controls whether instances in this group are launched with detailed monitoring.
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.
public java.lang.String getSpotPrice()
The price to bid when launching Spot Instances.
Constraints:
Length: 1 - 255
The price to bid when launching Spot Instances.
public void setSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
Constraints:
Length: 1 - 255
spotPrice
- The price to bid when launching Spot Instances.
public LaunchConfiguration withSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
spotPrice
- The price to bid when launching Spot Instances.
public java.lang.String getIamInstanceProfile()
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
public void setIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
iamInstanceProfile
- The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
public LaunchConfiguration withIamInstanceProfile(java.lang.String iamInstanceProfile)
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
iamInstanceProfile
- The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
public java.util.Date getCreatedTime()
The creation date and time for the launch configuration.
The creation date and time for the launch configuration.
public void setCreatedTime(java.util.Date createdTime)
The creation date and time for the launch configuration.
createdTime
- The creation date and time for the launch configuration.
public LaunchConfiguration withCreatedTime(java.util.Date createdTime)
The creation date and time for the launch configuration.
Returns a reference to this object so that method calls can be chained together.
createdTime
- The creation date and time for the launch configuration.
public java.lang.Boolean isEbsOptimized()
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
Controls whether the instance is optimized for EBS I/O (
true
) or not (false
).
public java.lang.Boolean getEbsOptimized()
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
Controls whether the instance is optimized for EBS I/O (
true
) or not (false
).
public void setEbsOptimized(java.lang.Boolean ebsOptimized)
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
ebsOptimized
-
Controls whether the instance is optimized for EBS I/O (
true
) or not (false
).
public LaunchConfiguration withEbsOptimized(java.lang.Boolean ebsOptimized)
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
Returns a reference to this object so that method calls can be chained together.
ebsOptimized
-
Controls whether the instance is optimized for EBS I/O (
true
) or not (false
).
public java.lang.Boolean isAssociatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
public java.lang.Boolean getAssociatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
public void setAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
associatePublicIpAddress
- [EC2-VPC] Indicates whether to assign a public IP address to each instance.
public LaunchConfiguration withAssociatePublicIpAddress(java.lang.Boolean associatePublicIpAddress)
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
Returns a reference to this object so that method calls can be chained together.
associatePublicIpAddress
- [EC2-VPC] Indicates whether to assign a public IP address to each instance.
public java.lang.String getPlacementTenancy()
The tenancy of the instance, either default
or
dedicated
. An instance with dedicated
tenancy
runs in an isolated, single-tenant hardware and can only be launched into
a VPC.
Constraints:
Length: 1 - 64
Pattern: [ --�𐀀-\r\n\t]*
The tenancy of the instance, either default
or
dedicated
. An instance with dedicated
tenancy runs in an isolated, single-tenant hardware and can only
be launched into a VPC.
public void setPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance, either default
or
dedicated
. An instance with dedicated
tenancy
runs in an isolated, single-tenant hardware and can only be launched into
a VPC.
Constraints:
Length: 1 - 64
Pattern: [ --�𐀀-\r\n\t]*
placementTenancy
-
The tenancy of the instance, either default
or
dedicated
. An instance with
dedicated
tenancy runs in an isolated,
single-tenant hardware and can only be launched into a VPC.
public LaunchConfiguration withPlacementTenancy(java.lang.String placementTenancy)
The tenancy of the instance, either default
or
dedicated
. An instance with dedicated
tenancy
runs in an isolated, single-tenant hardware and can only be launched into
a VPC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [ --�𐀀-\r\n\t]*
placementTenancy
-
The tenancy of the instance, either default
or
dedicated
. An instance with
dedicated
tenancy runs in an isolated,
single-tenant hardware and can only be launched into a VPC.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.