@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateConfig extends Object implements Serializable, Cloneable
Describes a launch template and overrides.
Constructor and Description |
---|
LaunchTemplateConfig() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateConfig |
clone() |
boolean |
equals(Object obj) |
FleetLaunchTemplateSpecification |
getLaunchTemplateSpecification()
The launch template to use.
|
List<LaunchTemplateOverrides> |
getOverrides()
Any parameters that you specify override the same parameters in the launch template.
|
int |
hashCode() |
void |
setLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
|
void |
setOverrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateConfig |
withLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use.
|
LaunchTemplateConfig |
withOverrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
LaunchTemplateConfig |
withOverrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
public void setLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
launchTemplateSpecification
- The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot
Fleet.public FleetLaunchTemplateSpecification getLaunchTemplateSpecification()
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot
Fleet.public LaunchTemplateConfig withLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
launchTemplateSpecification
- The launch template to use. Make sure that the launch template does not contain the
NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot
Fleet.public List<LaunchTemplateOverrides> getOverrides()
Any parameters that you specify override the same parameters in the launch template.
public void setOverrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
overrides
- Any parameters that you specify override the same parameters in the launch template.public LaunchTemplateConfig withOverrides(LaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
NOTE: This method appends the values to the existing list (if any). Use
setOverrides(java.util.Collection)
or withOverrides(java.util.Collection)
if you want to
override the existing values.
overrides
- Any parameters that you specify override the same parameters in the launch template.public LaunchTemplateConfig withOverrides(Collection<LaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
overrides
- Any parameters that you specify override the same parameters in the launch template.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateConfig clone()
Copyright © 2024. All rights reserved.