@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetLaunchTemplateConfigRequest extends Object implements Serializable, Cloneable
Describes a launch template and overrides.
Constructor and Description |
---|
FleetLaunchTemplateConfigRequest() |
Modifier and Type | Method and Description |
---|---|
FleetLaunchTemplateConfigRequest |
clone() |
boolean |
equals(Object obj) |
FleetLaunchTemplateSpecificationRequest |
getLaunchTemplateSpecification()
The launch template to use.
|
List<FleetLaunchTemplateOverridesRequest> |
getOverrides()
Any parameters that you specify override the same parameters in the launch template.
|
int |
hashCode() |
void |
setLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification)
The launch template to use.
|
void |
setOverrides(Collection<FleetLaunchTemplateOverridesRequest> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
String |
toString()
Returns a string representation of this object.
|
FleetLaunchTemplateConfigRequest |
withLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification)
The launch template to use.
|
FleetLaunchTemplateConfigRequest |
withOverrides(Collection<FleetLaunchTemplateOverridesRequest> overrides)
Any parameters that you specify override the same parameters in the launch template.
|
FleetLaunchTemplateConfigRequest |
withOverrides(FleetLaunchTemplateOverridesRequest... overrides)
Any parameters that you specify override the same parameters in the launch template.
|
public void setLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification)
The launch template to use. You must specify either the launch template ID or launch template name in the request.
launchTemplateSpecification
- The launch template to use. You must specify either the launch template ID or launch template name in the
request.public FleetLaunchTemplateSpecificationRequest getLaunchTemplateSpecification()
The launch template to use. You must specify either the launch template ID or launch template name in the request.
public FleetLaunchTemplateConfigRequest withLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification)
The launch template to use. You must specify either the launch template ID or launch template name in the request.
launchTemplateSpecification
- The launch template to use. You must specify either the launch template ID or launch template name in the
request.public List<FleetLaunchTemplateOverridesRequest> getOverrides()
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all
launch templates.
For fleets of type request
and maintain
, a maximum of 300 items is allowed
across all launch templates.
public void setOverrides(Collection<FleetLaunchTemplateOverridesRequest> overrides)
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all
launch templates.
overrides
- Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed
across all launch templates.
public FleetLaunchTemplateConfigRequest withOverrides(FleetLaunchTemplateOverridesRequest... overrides)
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all
launch templates.
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.
For fleets of type request
and maintain
, a maximum of 300 items is allowed
across all launch templates.
public FleetLaunchTemplateConfigRequest withOverrides(Collection<FleetLaunchTemplateOverridesRequest> overrides)
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all
launch templates.
overrides
- Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed
across all launch templates.
public String toString()
toString
in class Object
Object.toString()
public FleetLaunchTemplateConfigRequest clone()