Struct aws_sdk_ec2::input::modify_fleet_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ModifyFleetInput
Implementations
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
pub fn excess_capacity_termination_policy(
self,
input: FleetExcessCapacityTerminationPolicy
) -> Self
pub fn excess_capacity_termination_policy(
self,
input: FleetExcessCapacityTerminationPolicy
) -> Self
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
pub fn set_excess_capacity_termination_policy(
self,
input: Option<FleetExcessCapacityTerminationPolicy>
) -> Self
pub fn set_excess_capacity_termination_policy(
self,
input: Option<FleetExcessCapacityTerminationPolicy>
) -> Self
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
pub fn launch_template_configs(
self,
input: impl Into<FleetLaunchTemplateConfigRequest>
) -> Self
pub fn launch_template_configs(
self,
input: impl Into<FleetLaunchTemplateConfigRequest>
) -> Self
Appends an item to launch_template_configs
.
To override the contents of this collection use set_launch_template_configs
.
The launch template and overrides.
pub fn set_launch_template_configs(
self,
input: Option<Vec<FleetLaunchTemplateConfigRequest>>
) -> Self
pub fn set_launch_template_configs(
self,
input: Option<Vec<FleetLaunchTemplateConfigRequest>>
) -> Self
The launch template and overrides.
The ID of the EC2 Fleet.
The size of the EC2 Fleet.
pub fn set_target_capacity_specification(
self,
input: Option<TargetCapacitySpecificationRequest>
) -> Self
pub fn set_target_capacity_specification(
self,
input: Option<TargetCapacitySpecificationRequest>
) -> Self
The size of the EC2 Fleet.
Reserved.
Consumes the builder and constructs a ModifyFleetInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more