public class LaunchConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a launch configuration.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
associatePublicIpAddress
[EC2-VPC] Indicates whether to assign a public IP address to each
instance.
|
private SdkInternalList<BlockDeviceMapping> |
blockDeviceMappings
A block device mapping, which specifies the block devices for the
instance.
|
private java.lang.String |
classicLinkVPCId
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
to.
|
private SdkInternalList<java.lang.String> |
classicLinkVPCSecurityGroups
The IDs of one or more security groups for the VPC specified in
ClassicLinkVPCId . |
private java.util.Date |
createdTime
The creation date and time for the launch configuration.
|
private java.lang.Boolean |
ebsOptimized
Controls whether the instance is optimized for EBS I/O (
true
) or not (false ). |
private java.lang.String |
iamInstanceProfile
The name or Amazon Resource Name (ARN) of the instance profile associated
with the IAM role for the instance.
|
private java.lang.String |
imageId
The ID of the Amazon Machine Image (AMI).
|
private InstanceMonitoring |
instanceMonitoring
Controls whether instances in this group are launched with detailed
monitoring.
|
private java.lang.String |
instanceType
The instance type for the instances.
|
private java.lang.String |
kernelId
The ID of the kernel associated with the AMI.
|
private java.lang.String |
keyName
The name of the key pair.
|
private java.lang.String |
launchConfigurationARN
The Amazon Resource Name (ARN) of the launch configuration.
|
private java.lang.String |
launchConfigurationName
The name of the launch configuration.
|
private java.lang.String |
placementTenancy
The tenancy of the instance, either
default or
dedicated . |
private java.lang.String |
ramdiskId
The ID of the RAM disk associated with the AMI.
|
private SdkInternalList<java.lang.String> |
securityGroups
The security groups to associate with the instances.
|
private java.lang.String |
spotPrice
The price to bid when launching Spot Instances.
|
private java.lang.String |
userData
The user data available to the instances.
|
Constructor and Description |
---|
LaunchConfiguration() |
Modifier and Type | Method and Description |
---|---|
LaunchConfiguration |
clone() |
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.
|
private java.lang.String launchConfigurationName
The name of the launch configuration.
private java.lang.String launchConfigurationARN
The Amazon Resource Name (ARN) of the launch configuration.
private java.lang.String imageId
The ID of the Amazon Machine Image (AMI).
private java.lang.String keyName
The name of the key pair.
private SdkInternalList<java.lang.String> securityGroups
The security groups to associate with the instances.
private 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.
private SdkInternalList<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.
private java.lang.String userData
The user data available to the instances.
private java.lang.String instanceType
The instance type for the instances.
private java.lang.String kernelId
The ID of the kernel associated with the AMI.
private java.lang.String ramdiskId
The ID of the RAM disk associated with the AMI.
private SdkInternalList<BlockDeviceMapping> blockDeviceMappings
A block device mapping, which specifies the block devices for the instance.
private InstanceMonitoring instanceMonitoring
Controls whether instances in this group are launched with detailed monitoring.
private java.lang.String spotPrice
The price to bid when launching Spot Instances.
private java.lang.String iamInstanceProfile
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
private java.util.Date createdTime
The creation date and time for the launch configuration.
private java.lang.Boolean ebsOptimized
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
private java.lang.Boolean associatePublicIpAddress
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
private 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.
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
launchConfigurationName
- The name of the launch configuration.public java.lang.String getLaunchConfigurationName()
The name of the launch configuration.
public LaunchConfiguration withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration.
launchConfigurationName
- The name of the launch configuration.public void setLaunchConfigurationARN(java.lang.String launchConfigurationARN)
The Amazon Resource Name (ARN) of the launch configuration.
launchConfigurationARN
- The Amazon Resource Name (ARN) of the launch configuration.public java.lang.String getLaunchConfigurationARN()
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.
launchConfigurationARN
- The Amazon Resource Name (ARN) of the launch configuration.public void setImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
imageId
- The ID of the Amazon Machine Image (AMI).public java.lang.String getImageId()
The ID of the Amazon Machine Image (AMI).
public LaunchConfiguration withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI).
imageId
- The ID of the Amazon Machine Image (AMI).public void setKeyName(java.lang.String keyName)
The name of the key pair.
keyName
- The name of the key pair.public java.lang.String getKeyName()
The name of the key pair.
public LaunchConfiguration withKeyName(java.lang.String keyName)
The name of the key pair.
keyName
- The name of the key pair.public java.util.List<java.lang.String> getSecurityGroups()
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.
NOTE: This method appends the values to the existing list (if
any). Use setSecurityGroups(java.util.Collection)
or
withSecurityGroups(java.util.Collection)
if you want to override
the existing values.
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.
securityGroups
- The security groups to associate with the instances.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.
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.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.
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.
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.
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.
NOTE: This method appends the values to the existing list (if
any). Use setClassicLinkVPCSecurityGroups(java.util.Collection)
or withClassicLinkVPCSecurityGroups(java.util.Collection)
if you
want to override the existing values.
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.
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 void setUserData(java.lang.String userData)
The user data available to the instances.
userData
- The user data available to the instances.public java.lang.String getUserData()
The user data available to the instances.
public LaunchConfiguration withUserData(java.lang.String userData)
The user data available to the instances.
userData
- The user data available to the instances.public void setInstanceType(java.lang.String instanceType)
The instance type for the instances.
instanceType
- The instance type for the instances.public java.lang.String getInstanceType()
The instance type for the instances.
public LaunchConfiguration withInstanceType(java.lang.String instanceType)
The instance type for the instances.
instanceType
- The instance type for the instances.public void setKernelId(java.lang.String kernelId)
The ID of the kernel associated with the AMI.
kernelId
- The ID of the kernel associated with the AMI.public java.lang.String getKernelId()
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.
kernelId
- The ID of the kernel associated with the AMI.public void setRamdiskId(java.lang.String ramdiskId)
The ID of the RAM disk associated with the AMI.
ramdiskId
- The ID of the RAM disk associated with the AMI.public java.lang.String getRamdiskId()
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.
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.
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.
NOTE: This method appends the values to the existing list (if
any). Use setBlockDeviceMappings(java.util.Collection)
or
withBlockDeviceMappings(java.util.Collection)
if you want to
override the existing values.
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.
blockDeviceMappings
- A block device mapping, which specifies the block devices for the
instance.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 InstanceMonitoring getInstanceMonitoring()
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.
instanceMonitoring
- Controls whether instances in this group are launched with
detailed monitoring.public void setSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
spotPrice
- The price to bid when launching Spot Instances.public java.lang.String getSpotPrice()
The price to bid when launching Spot Instances.
public LaunchConfiguration withSpotPrice(java.lang.String spotPrice)
The price to bid when launching Spot Instances.
spotPrice
- The price to bid when launching Spot Instances.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.
iamInstanceProfile
- The name or Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.public java.lang.String getIamInstanceProfile()
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.
iamInstanceProfile
- The name or Amazon Resource Name (ARN) of the instance profile
associated with the IAM role for the instance.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 java.util.Date getCreatedTime()
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.
createdTime
- The creation date and time for the launch configuration.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 java.lang.Boolean getEbsOptimized()
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
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
).
ebsOptimized
- Controls whether the instance is optimized for EBS I/O (
true
) or not (false
).public java.lang.Boolean isEbsOptimized()
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
true
) or not (false
).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 java.lang.Boolean getAssociatePublicIpAddress()
[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.
associatePublicIpAddress
- [EC2-VPC] Indicates whether to assign a public IP address to each
instance.public java.lang.Boolean isAssociatePublicIpAddress()
[EC2-VPC] Indicates whether to assign a public IP address to each instance.
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.
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 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.
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.
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LaunchConfiguration clone()
clone
in class java.lang.Object