Interface FleetLaunchTemplateConfigRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetLaunchTemplateConfigRequest.Builder,
,FleetLaunchTemplateConfigRequest> SdkBuilder<FleetLaunchTemplateConfigRequest.Builder,
,FleetLaunchTemplateConfigRequest> SdkPojo
- Enclosing class:
FleetLaunchTemplateConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionlaunchTemplateSpecification
(Consumer<FleetLaunchTemplateSpecificationRequest.Builder> launchTemplateSpecification) The launch template to use.launchTemplateSpecification
(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification) The launch template to use.overrides
(Collection<FleetLaunchTemplateOverridesRequest> overrides) Any parameters that you specify override the same parameters in the launch template.overrides
(Consumer<FleetLaunchTemplateOverridesRequest.Builder>... overrides) Any parameters that you specify override the same parameters in the launch template.overrides
(FleetLaunchTemplateOverridesRequest... overrides) Any parameters that you specify override the same parameters in the launch template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
launchTemplateSpecification
FleetLaunchTemplateConfigRequest.Builder launchTemplateSpecification(FleetLaunchTemplateSpecificationRequest launchTemplateSpecification) The launch template to use. You must specify either the launch template ID or launch template name in the request.
- Parameters:
launchTemplateSpecification
- The launch template to use. You must specify either the launch template ID or launch template name in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateSpecification
default FleetLaunchTemplateConfigRequest.Builder launchTemplateSpecification(Consumer<FleetLaunchTemplateSpecificationRequest.Builder> launchTemplateSpecification) The launch template to use. You must specify either the launch template ID or launch template name in the request.
This is a convenience method that creates an instance of theFleetLaunchTemplateSpecificationRequest.Builder
avoiding the need to create one manually viaFleetLaunchTemplateSpecificationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest)
.- Parameters:
launchTemplateSpecification
- a consumer that will call methods onFleetLaunchTemplateSpecificationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrides
FleetLaunchTemplateConfigRequest.Builder overrides(Collection<FleetLaunchTemplateOverridesRequest> overrides) Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.- Parameters:
overrides
- Any parameters that you specify override the same parameters in the launch template.For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
FleetLaunchTemplateConfigRequest.Builder overrides(FleetLaunchTemplateOverridesRequest... overrides) Any parameters that you specify override the same parameters in the launch template.
For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.- Parameters:
overrides
- Any parameters that you specify override the same parameters in the launch template.For fleets of type
request
andmaintain
, a maximum of 300 items is allowed across all launch templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
FleetLaunchTemplateConfigRequest.Builder overrides(Consumer<FleetLaunchTemplateOverridesRequest.Builder>... overrides) Any parameters that you specify override the same parameters in the launch template.
For fleets of type
This is a convenience method that creates an instance of therequest
andmaintain
, a maximum of 300 items is allowed across all launch templates.FleetLaunchTemplateOverridesRequest.Builder
avoiding the need to create one manually viaFleetLaunchTemplateOverridesRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrides(List<FleetLaunchTemplateOverridesRequest>)
.- Parameters:
overrides
- a consumer that will call methods onFleetLaunchTemplateOverridesRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-