@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.
|
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.
|
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.
|
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.
launchTemplateSpecification
- The launch template.public FleetLaunchTemplateSpecification getLaunchTemplateSpecification()
The launch template.
public LaunchTemplateConfig withLaunchTemplateSpecification(FleetLaunchTemplateSpecification launchTemplateSpecification)
The launch template.
launchTemplateSpecification
- The launch template.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 © 2013 Amazon Web Services, Inc. All Rights Reserved.