@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetLaunchTemplateConfig extends Object implements Serializable, Cloneable
Describes a launch template and overrides.
| Constructor and Description |
|---|
FleetLaunchTemplateConfig() |
| Modifier and Type | Method and Description |
|---|---|
FleetLaunchTemplateConfig |
clone() |
boolean |
equals(Object obj) |
FleetLaunchTemplateSpecification |
getLaunchTemplateSpecification()
The launch template.
|
List<FleetLaunchTemplateOverrides> |
getOverrides()
Any parameters that you specify override the same parameters in the launch template.
|
int |
hashCode() |
void |
setLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template.
|
void |
setOverrides(Collection<FleetLaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
String |
toString()
Returns a string representation of this object.
|
FleetLaunchTemplateConfig |
withLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template.
|
FleetLaunchTemplateConfig |
withOverrides(Collection<FleetLaunchTemplateOverrides> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
FleetLaunchTemplateConfig |
withOverrides(FleetLaunchTemplateOverrides... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
public void setLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template.
launchTemplateSpecification - The launch template.public FleetLaunchTemplateSpecification getLaunchTemplateSpecification()
The launch template.
public FleetLaunchTemplateConfig withLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template.
launchTemplateSpecification - The launch template.public List<FleetLaunchTemplateOverrides> getOverrides()
Any parameters that you specify override the same parameters in the launch template.
public void setOverrides(Collection<FleetLaunchTemplateOverrides> 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 FleetLaunchTemplateConfig withOverrides(FleetLaunchTemplateOverrides... 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 FleetLaunchTemplateConfig withOverrides(Collection<FleetLaunchTemplateOverrides> 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 ObjectObject.toString()public FleetLaunchTemplateConfig clone()