@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponseLaunchTemplateData extends Object implements Serializable, Cloneable
The information for a launch template.
Constructor and Description |
---|
ResponseLaunchTemplateData() |
Modifier and Type | Method and Description |
---|---|
ResponseLaunchTemplateData |
clone() |
boolean |
equals(Object obj) |
List<LaunchTemplateBlockDeviceMapping> |
getBlockDeviceMappings()
The block device mappings.
|
LaunchTemplateCapacityReservationSpecificationResponse |
getCapacityReservationSpecification()
Information about the Capacity Reservation targeting option.
|
LaunchTemplateCpuOptions |
getCpuOptions()
The CPU options for the instance.
|
CreditSpecification |
getCreditSpecification()
The credit option for CPU usage of the instance.
|
Boolean |
getDisableApiTermination()
If set to
true , indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API. |
Boolean |
getEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
List<ElasticGpuSpecificationResponse> |
getElasticGpuSpecifications()
The elastic GPU specification.
|
List<LaunchTemplateElasticInferenceAcceleratorResponse> |
getElasticInferenceAccelerators()
The elastic inference accelerator for the instance.
|
LaunchTemplateHibernationOptions |
getHibernationOptions()
Indicates whether an instance is configured for hibernation.
|
LaunchTemplateIamInstanceProfileSpecification |
getIamInstanceProfile()
The IAM instance profile.
|
String |
getImageId()
The ID of the AMI that was used to launch the instance.
|
String |
getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
LaunchTemplateInstanceMarketOptions |
getInstanceMarketOptions()
The market (purchasing) option for the instances.
|
String |
getInstanceType()
The instance type.
|
String |
getKernelId()
The ID of the kernel, if applicable.
|
String |
getKeyName()
The name of the key pair.
|
List<LaunchTemplateLicenseConfiguration> |
getLicenseSpecifications()
The license configurations.
|
LaunchTemplatesMonitoring |
getMonitoring()
The monitoring for the instance.
|
List<LaunchTemplateInstanceNetworkInterfaceSpecification> |
getNetworkInterfaces()
The network interfaces.
|
LaunchTemplatePlacement |
getPlacement()
The placement of the instance.
|
String |
getRamDiskId()
The ID of the RAM disk, if applicable.
|
List<String> |
getSecurityGroupIds()
The security group IDs.
|
List<String> |
getSecurityGroups()
The security group names.
|
List<LaunchTemplateTagSpecification> |
getTagSpecifications()
The tags.
|
String |
getUserData()
The user data for the instance.
|
int |
hashCode() |
Boolean |
isDisableApiTermination()
If set to
true , indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API. |
Boolean |
isEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
void |
setBlockDeviceMappings(Collection<LaunchTemplateBlockDeviceMapping> blockDeviceMappings)
The block device mappings.
|
void |
setCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
void |
setCpuOptions(LaunchTemplateCpuOptions cpuOptions)
The CPU options for the instance.
|
void |
setCreditSpecification(CreditSpecification creditSpecification)
The credit option for CPU usage of the instance.
|
void |
setDisableApiTermination(Boolean disableApiTermination)
If set to
true , indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API. |
void |
setEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
void |
setElasticGpuSpecifications(Collection<ElasticGpuSpecificationResponse> elasticGpuSpecifications)
The elastic GPU specification.
|
void |
setElasticInferenceAccelerators(Collection<LaunchTemplateElasticInferenceAcceleratorResponse> elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
|
void |
setHibernationOptions(LaunchTemplateHibernationOptions hibernationOptions)
Indicates whether an instance is configured for hibernation.
|
void |
setIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
void |
setImageId(String imageId)
The ID of the AMI that was used to launch the instance.
|
void |
setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
void |
setInstanceMarketOptions(LaunchTemplateInstanceMarketOptions instanceMarketOptions)
The market (purchasing) option for the instances.
|
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setKernelId(String kernelId)
The ID of the kernel, if applicable.
|
void |
setKeyName(String keyName)
The name of the key pair.
|
void |
setLicenseSpecifications(Collection<LaunchTemplateLicenseConfiguration> licenseSpecifications)
The license configurations.
|
void |
setMonitoring(LaunchTemplatesMonitoring monitoring)
The monitoring for the instance.
|
void |
setNetworkInterfaces(Collection<LaunchTemplateInstanceNetworkInterfaceSpecification> networkInterfaces)
The network interfaces.
|
void |
setPlacement(LaunchTemplatePlacement placement)
The placement of the instance.
|
void |
setRamDiskId(String ramDiskId)
The ID of the RAM disk, if applicable.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security group names.
|
void |
setTagSpecifications(Collection<LaunchTemplateTagSpecification> tagSpecifications)
The tags.
|
void |
setUserData(String userData)
The user data for the instance.
|
String |
toString()
Returns a string representation of this object.
|
ResponseLaunchTemplateData |
withBlockDeviceMappings(Collection<LaunchTemplateBlockDeviceMapping> blockDeviceMappings)
The block device mappings.
|
ResponseLaunchTemplateData |
withBlockDeviceMappings(LaunchTemplateBlockDeviceMapping... blockDeviceMappings)
The block device mappings.
|
ResponseLaunchTemplateData |
withCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
|
ResponseLaunchTemplateData |
withCpuOptions(LaunchTemplateCpuOptions cpuOptions)
The CPU options for the instance.
|
ResponseLaunchTemplateData |
withCreditSpecification(CreditSpecification creditSpecification)
The credit option for CPU usage of the instance.
|
ResponseLaunchTemplateData |
withDisableApiTermination(Boolean disableApiTermination)
If set to
true , indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API. |
ResponseLaunchTemplateData |
withEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
ResponseLaunchTemplateData |
withElasticGpuSpecifications(Collection<ElasticGpuSpecificationResponse> elasticGpuSpecifications)
The elastic GPU specification.
|
ResponseLaunchTemplateData |
withElasticGpuSpecifications(ElasticGpuSpecificationResponse... elasticGpuSpecifications)
The elastic GPU specification.
|
ResponseLaunchTemplateData |
withElasticInferenceAccelerators(Collection<LaunchTemplateElasticInferenceAcceleratorResponse> elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
|
ResponseLaunchTemplateData |
withElasticInferenceAccelerators(LaunchTemplateElasticInferenceAcceleratorResponse... elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
|
ResponseLaunchTemplateData |
withHibernationOptions(LaunchTemplateHibernationOptions hibernationOptions)
Indicates whether an instance is configured for hibernation.
|
ResponseLaunchTemplateData |
withIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
ResponseLaunchTemplateData |
withImageId(String imageId)
The ID of the AMI that was used to launch the instance.
|
ResponseLaunchTemplateData |
withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
ResponseLaunchTemplateData |
withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
ResponseLaunchTemplateData |
withInstanceMarketOptions(LaunchTemplateInstanceMarketOptions instanceMarketOptions)
The market (purchasing) option for the instances.
|
ResponseLaunchTemplateData |
withInstanceType(InstanceType instanceType)
The instance type.
|
ResponseLaunchTemplateData |
withInstanceType(String instanceType)
The instance type.
|
ResponseLaunchTemplateData |
withKernelId(String kernelId)
The ID of the kernel, if applicable.
|
ResponseLaunchTemplateData |
withKeyName(String keyName)
The name of the key pair.
|
ResponseLaunchTemplateData |
withLicenseSpecifications(Collection<LaunchTemplateLicenseConfiguration> licenseSpecifications)
The license configurations.
|
ResponseLaunchTemplateData |
withLicenseSpecifications(LaunchTemplateLicenseConfiguration... licenseSpecifications)
The license configurations.
|
ResponseLaunchTemplateData |
withMonitoring(LaunchTemplatesMonitoring monitoring)
The monitoring for the instance.
|
ResponseLaunchTemplateData |
withNetworkInterfaces(Collection<LaunchTemplateInstanceNetworkInterfaceSpecification> networkInterfaces)
The network interfaces.
|
ResponseLaunchTemplateData |
withNetworkInterfaces(LaunchTemplateInstanceNetworkInterfaceSpecification... networkInterfaces)
The network interfaces.
|
ResponseLaunchTemplateData |
withPlacement(LaunchTemplatePlacement placement)
The placement of the instance.
|
ResponseLaunchTemplateData |
withRamDiskId(String ramDiskId)
The ID of the RAM disk, if applicable.
|
ResponseLaunchTemplateData |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs.
|
ResponseLaunchTemplateData |
withSecurityGroupIds(String... securityGroupIds)
The security group IDs.
|
ResponseLaunchTemplateData |
withSecurityGroups(Collection<String> securityGroups)
The security group names.
|
ResponseLaunchTemplateData |
withSecurityGroups(String... securityGroups)
The security group names.
|
ResponseLaunchTemplateData |
withTagSpecifications(Collection<LaunchTemplateTagSpecification> tagSpecifications)
The tags.
|
ResponseLaunchTemplateData |
withTagSpecifications(LaunchTemplateTagSpecification... tagSpecifications)
The tags.
|
ResponseLaunchTemplateData |
withUserData(String userData)
The user data for the instance.
|
public void setKernelId(String kernelId)
The ID of the kernel, if applicable.
kernelId
- The ID of the kernel, if applicable.public String getKernelId()
The ID of the kernel, if applicable.
public ResponseLaunchTemplateData withKernelId(String kernelId)
The ID of the kernel, if applicable.
kernelId
- The ID of the kernel, if applicable.public void setEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
ebsOptimized
- Indicates whether the instance is optimized for Amazon EBS I/O.public Boolean getEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
public ResponseLaunchTemplateData withEbsOptimized(Boolean ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
ebsOptimized
- Indicates whether the instance is optimized for Amazon EBS I/O.public Boolean isEbsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
public void setIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public LaunchTemplateIamInstanceProfileSpecification getIamInstanceProfile()
The IAM instance profile.
public ResponseLaunchTemplateData withIamInstanceProfile(LaunchTemplateIamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public List<LaunchTemplateBlockDeviceMapping> getBlockDeviceMappings()
The block device mappings.
public void setBlockDeviceMappings(Collection<LaunchTemplateBlockDeviceMapping> blockDeviceMappings)
The block device mappings.
blockDeviceMappings
- The block device mappings.public ResponseLaunchTemplateData withBlockDeviceMappings(LaunchTemplateBlockDeviceMapping... blockDeviceMappings)
The block device mappings.
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
- The block device mappings.public ResponseLaunchTemplateData withBlockDeviceMappings(Collection<LaunchTemplateBlockDeviceMapping> blockDeviceMappings)
The block device mappings.
blockDeviceMappings
- The block device mappings.public List<LaunchTemplateInstanceNetworkInterfaceSpecification> getNetworkInterfaces()
The network interfaces.
public void setNetworkInterfaces(Collection<LaunchTemplateInstanceNetworkInterfaceSpecification> networkInterfaces)
The network interfaces.
networkInterfaces
- The network interfaces.public ResponseLaunchTemplateData withNetworkInterfaces(LaunchTemplateInstanceNetworkInterfaceSpecification... networkInterfaces)
The network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- The network interfaces.public ResponseLaunchTemplateData withNetworkInterfaces(Collection<LaunchTemplateInstanceNetworkInterfaceSpecification> networkInterfaces)
The network interfaces.
networkInterfaces
- The network interfaces.public void setImageId(String imageId)
The ID of the AMI that was used to launch the instance.
imageId
- The ID of the AMI that was used to launch the instance.public String getImageId()
The ID of the AMI that was used to launch the instance.
public ResponseLaunchTemplateData withImageId(String imageId)
The ID of the AMI that was used to launch the instance.
imageId
- The ID of the AMI that was used to launch the instance.public void setInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.InstanceType
public String getInstanceType()
The instance type.
InstanceType
public ResponseLaunchTemplateData withInstanceType(String instanceType)
The instance type.
instanceType
- The instance type.InstanceType
public ResponseLaunchTemplateData withInstanceType(InstanceType instanceType)
The instance type.
instanceType
- The instance type.InstanceType
public void setKeyName(String keyName)
The name of the key pair.
keyName
- The name of the key pair.public String getKeyName()
The name of the key pair.
public ResponseLaunchTemplateData withKeyName(String keyName)
The name of the key pair.
keyName
- The name of the key pair.public void setMonitoring(LaunchTemplatesMonitoring monitoring)
The monitoring for the instance.
monitoring
- The monitoring for the instance.public LaunchTemplatesMonitoring getMonitoring()
The monitoring for the instance.
public ResponseLaunchTemplateData withMonitoring(LaunchTemplatesMonitoring monitoring)
The monitoring for the instance.
monitoring
- The monitoring for the instance.public void setPlacement(LaunchTemplatePlacement placement)
The placement of the instance.
placement
- The placement of the instance.public LaunchTemplatePlacement getPlacement()
The placement of the instance.
public ResponseLaunchTemplateData withPlacement(LaunchTemplatePlacement placement)
The placement of the instance.
placement
- The placement of the instance.public void setRamDiskId(String ramDiskId)
The ID of the RAM disk, if applicable.
ramDiskId
- The ID of the RAM disk, if applicable.public String getRamDiskId()
The ID of the RAM disk, if applicable.
public ResponseLaunchTemplateData withRamDiskId(String ramDiskId)
The ID of the RAM disk, if applicable.
ramDiskId
- The ID of the RAM disk, if applicable.public void setDisableApiTermination(Boolean disableApiTermination)
If set to true
, indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API.
disableApiTermination
- If set to true
, indicates that the instance cannot be terminated using the Amazon EC2
console, command line tool, or API.public Boolean getDisableApiTermination()
If set to true
, indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API.
true
, indicates that the instance cannot be terminated using the Amazon EC2
console, command line tool, or API.public ResponseLaunchTemplateData withDisableApiTermination(Boolean disableApiTermination)
If set to true
, indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API.
disableApiTermination
- If set to true
, indicates that the instance cannot be terminated using the Amazon EC2
console, command line tool, or API.public Boolean isDisableApiTermination()
If set to true
, indicates that the instance cannot be terminated using the Amazon EC2 console,
command line tool, or API.
true
, indicates that the instance cannot be terminated using the Amazon EC2
console, command line tool, or API.public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).ShutdownBehavior
public String getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
ShutdownBehavior
public ResponseLaunchTemplateData withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).ShutdownBehavior
public ResponseLaunchTemplateData withInstanceInitiatedShutdownBehavior(ShutdownBehavior instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).ShutdownBehavior
public void setUserData(String userData)
The user data for the instance.
userData
- The user data for the instance.public String getUserData()
The user data for the instance.
public ResponseLaunchTemplateData withUserData(String userData)
The user data for the instance.
userData
- The user data for the instance.public List<LaunchTemplateTagSpecification> getTagSpecifications()
The tags.
public void setTagSpecifications(Collection<LaunchTemplateTagSpecification> tagSpecifications)
The tags.
tagSpecifications
- The tags.public ResponseLaunchTemplateData withTagSpecifications(LaunchTemplateTagSpecification... tagSpecifications)
The tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags.public ResponseLaunchTemplateData withTagSpecifications(Collection<LaunchTemplateTagSpecification> tagSpecifications)
The tags.
tagSpecifications
- The tags.public List<ElasticGpuSpecificationResponse> getElasticGpuSpecifications()
The elastic GPU specification.
public void setElasticGpuSpecifications(Collection<ElasticGpuSpecificationResponse> elasticGpuSpecifications)
The elastic GPU specification.
elasticGpuSpecifications
- The elastic GPU specification.public ResponseLaunchTemplateData withElasticGpuSpecifications(ElasticGpuSpecificationResponse... elasticGpuSpecifications)
The elastic GPU specification.
NOTE: This method appends the values to the existing list (if any). Use
setElasticGpuSpecifications(java.util.Collection)
or
withElasticGpuSpecifications(java.util.Collection)
if you want to override the existing values.
elasticGpuSpecifications
- The elastic GPU specification.public ResponseLaunchTemplateData withElasticGpuSpecifications(Collection<ElasticGpuSpecificationResponse> elasticGpuSpecifications)
The elastic GPU specification.
elasticGpuSpecifications
- The elastic GPU specification.public List<LaunchTemplateElasticInferenceAcceleratorResponse> getElasticInferenceAccelerators()
The elastic inference accelerator for the instance.
public void setElasticInferenceAccelerators(Collection<LaunchTemplateElasticInferenceAcceleratorResponse> elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
elasticInferenceAccelerators
- The elastic inference accelerator for the instance.public ResponseLaunchTemplateData withElasticInferenceAccelerators(LaunchTemplateElasticInferenceAcceleratorResponse... elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
NOTE: This method appends the values to the existing list (if any). Use
setElasticInferenceAccelerators(java.util.Collection)
or
withElasticInferenceAccelerators(java.util.Collection)
if you want to override the existing values.
elasticInferenceAccelerators
- The elastic inference accelerator for the instance.public ResponseLaunchTemplateData withElasticInferenceAccelerators(Collection<LaunchTemplateElasticInferenceAcceleratorResponse> elasticInferenceAccelerators)
The elastic inference accelerator for the instance.
elasticInferenceAccelerators
- The elastic inference accelerator for the instance.public List<String> getSecurityGroupIds()
The security group IDs.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs.
securityGroupIds
- The security group IDs.public ResponseLaunchTemplateData withSecurityGroupIds(String... securityGroupIds)
The security group IDs.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The security group IDs.public ResponseLaunchTemplateData withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs.
securityGroupIds
- The security group IDs.public List<String> getSecurityGroups()
The security group names.
public void setSecurityGroups(Collection<String> securityGroups)
The security group names.
securityGroups
- The security group names.public ResponseLaunchTemplateData withSecurityGroups(String... securityGroups)
The security group names.
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 group names.public ResponseLaunchTemplateData withSecurityGroups(Collection<String> securityGroups)
The security group names.
securityGroups
- The security group names.public void setInstanceMarketOptions(LaunchTemplateInstanceMarketOptions instanceMarketOptions)
The market (purchasing) option for the instances.
instanceMarketOptions
- The market (purchasing) option for the instances.public LaunchTemplateInstanceMarketOptions getInstanceMarketOptions()
The market (purchasing) option for the instances.
public ResponseLaunchTemplateData withInstanceMarketOptions(LaunchTemplateInstanceMarketOptions instanceMarketOptions)
The market (purchasing) option for the instances.
instanceMarketOptions
- The market (purchasing) option for the instances.public void setCreditSpecification(CreditSpecification creditSpecification)
The credit option for CPU usage of the instance.
creditSpecification
- The credit option for CPU usage of the instance.public CreditSpecification getCreditSpecification()
The credit option for CPU usage of the instance.
public ResponseLaunchTemplateData withCreditSpecification(CreditSpecification creditSpecification)
The credit option for CPU usage of the instance.
creditSpecification
- The credit option for CPU usage of the instance.public void setCpuOptions(LaunchTemplateCpuOptions cpuOptions)
The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.
cpuOptions
- The CPU options for the instance. For more information, see Optimizing CPU
Options in the Amazon Elastic Compute Cloud User Guide.public LaunchTemplateCpuOptions getCpuOptions()
The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.
public ResponseLaunchTemplateData withCpuOptions(LaunchTemplateCpuOptions cpuOptions)
The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.
cpuOptions
- The CPU options for the instance. For more information, see Optimizing CPU
Options in the Amazon Elastic Compute Cloud User Guide.public void setCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
capacityReservationSpecification
- Information about the Capacity Reservation targeting option.public LaunchTemplateCapacityReservationSpecificationResponse getCapacityReservationSpecification()
Information about the Capacity Reservation targeting option.
public ResponseLaunchTemplateData withCapacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationResponse capacityReservationSpecification)
Information about the Capacity Reservation targeting option.
capacityReservationSpecification
- Information about the Capacity Reservation targeting option.public List<LaunchTemplateLicenseConfiguration> getLicenseSpecifications()
The license configurations.
public void setLicenseSpecifications(Collection<LaunchTemplateLicenseConfiguration> licenseSpecifications)
The license configurations.
licenseSpecifications
- The license configurations.public ResponseLaunchTemplateData withLicenseSpecifications(LaunchTemplateLicenseConfiguration... licenseSpecifications)
The license configurations.
NOTE: This method appends the values to the existing list (if any). Use
setLicenseSpecifications(java.util.Collection)
or
withLicenseSpecifications(java.util.Collection)
if you want to override the existing values.
licenseSpecifications
- The license configurations.public ResponseLaunchTemplateData withLicenseSpecifications(Collection<LaunchTemplateLicenseConfiguration> licenseSpecifications)
The license configurations.
licenseSpecifications
- The license configurations.public void setHibernationOptions(LaunchTemplateHibernationOptions hibernationOptions)
Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in the Amazon Elastic Compute Cloud User Guide.
hibernationOptions
- Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in
the Amazon Elastic Compute Cloud User Guide.public LaunchTemplateHibernationOptions getHibernationOptions()
Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in the Amazon Elastic Compute Cloud User Guide.
public ResponseLaunchTemplateData withHibernationOptions(LaunchTemplateHibernationOptions hibernationOptions)
Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in the Amazon Elastic Compute Cloud User Guide.
hibernationOptions
- Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in
the Amazon Elastic Compute Cloud User Guide.public String toString()
toString
in class Object
Object.toString()
public ResponseLaunchTemplateData clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.