Struct aws_sdk_ec2::input::ModifySpotFleetRequestInput
source · [−]#[non_exhaustive]pub struct ModifySpotFleetRequestInput { /* private fields */ }
Expand description
Contains the parameters for ModifySpotFleetRequest.
Implementations
sourceimpl ModifySpotFleetRequestInput
impl ModifySpotFleetRequestInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifySpotFleetRequest, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifySpotFleetRequest, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifySpotFleetRequest
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifySpotFleetRequestInput
.
sourceimpl ModifySpotFleetRequestInput
impl ModifySpotFleetRequestInput
sourcepub fn excess_capacity_termination_policy(
&self
) -> Option<&ExcessCapacityTerminationPolicy>
pub fn excess_capacity_termination_policy(
&self
) -> Option<&ExcessCapacityTerminationPolicy>
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
sourcepub fn launch_template_configs(&self) -> Option<&[LaunchTemplateConfig]>
pub fn launch_template_configs(&self) -> Option<&[LaunchTemplateConfig]>
The launch template and overrides. You can only use this parameter if you specified a launch template (LaunchTemplateConfigs
) in your Spot Fleet request. If you specified LaunchSpecifications
in your Spot Fleet request, then omit this parameter.
sourcepub fn spot_fleet_request_id(&self) -> Option<&str>
pub fn spot_fleet_request_id(&self) -> Option<&str>
The ID of the Spot Fleet request.
sourcepub fn target_capacity(&self) -> Option<i32>
pub fn target_capacity(&self) -> Option<i32>
The size of the fleet.
sourcepub fn on_demand_target_capacity(&self) -> Option<i32>
pub fn on_demand_target_capacity(&self) -> Option<i32>
The number of On-Demand Instances in the fleet.
Trait Implementations
sourceimpl Clone for ModifySpotFleetRequestInput
impl Clone for ModifySpotFleetRequestInput
sourcefn clone(&self) -> ModifySpotFleetRequestInput
fn clone(&self) -> ModifySpotFleetRequestInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifySpotFleetRequestInput
impl Debug for ModifySpotFleetRequestInput
sourceimpl PartialEq<ModifySpotFleetRequestInput> for ModifySpotFleetRequestInput
impl PartialEq<ModifySpotFleetRequestInput> for ModifySpotFleetRequestInput
sourcefn eq(&self, other: &ModifySpotFleetRequestInput) -> bool
fn eq(&self, other: &ModifySpotFleetRequestInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ModifySpotFleetRequestInput
Auto Trait Implementations
impl RefUnwindSafe for ModifySpotFleetRequestInput
impl Send for ModifySpotFleetRequestInput
impl Sync for ModifySpotFleetRequestInput
impl Unpin for ModifySpotFleetRequestInput
impl UnwindSafe for ModifySpotFleetRequestInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more