Struct aws_sdk_emr::types::InstanceFleetModifyConfig
source · #[non_exhaustive]pub struct InstanceFleetModifyConfig {
pub instance_fleet_id: Option<String>,
pub target_on_demand_capacity: Option<i32>,
pub target_spot_capacity: Option<i32>,
pub resize_specifications: Option<InstanceFleetResizingSpecifications>,
}
Expand description
Configuration parameters for an instance fleet modification request.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_fleet_id: Option<String>
A unique identifier for the instance fleet.
target_on_demand_capacity: Option<i32>
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity
.
target_spot_capacity: Option<i32>
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity
.
resize_specifications: Option<InstanceFleetResizingSpecifications>
The resize specification for the instance fleet.
Implementations§
source§impl InstanceFleetModifyConfig
impl InstanceFleetModifyConfig
sourcepub fn instance_fleet_id(&self) -> Option<&str>
pub fn instance_fleet_id(&self) -> Option<&str>
A unique identifier for the instance fleet.
sourcepub fn target_on_demand_capacity(&self) -> Option<i32>
pub fn target_on_demand_capacity(&self) -> Option<i32>
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity
.
sourcepub fn target_spot_capacity(&self) -> Option<i32>
pub fn target_spot_capacity(&self) -> Option<i32>
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity
.
sourcepub fn resize_specifications(
&self,
) -> Option<&InstanceFleetResizingSpecifications>
pub fn resize_specifications( &self, ) -> Option<&InstanceFleetResizingSpecifications>
The resize specification for the instance fleet.
source§impl InstanceFleetModifyConfig
impl InstanceFleetModifyConfig
sourcepub fn builder() -> InstanceFleetModifyConfigBuilder
pub fn builder() -> InstanceFleetModifyConfigBuilder
Creates a new builder-style object to manufacture InstanceFleetModifyConfig
.
Trait Implementations§
source§impl Clone for InstanceFleetModifyConfig
impl Clone for InstanceFleetModifyConfig
source§fn clone(&self) -> InstanceFleetModifyConfig
fn clone(&self) -> InstanceFleetModifyConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceFleetModifyConfig
impl Debug for InstanceFleetModifyConfig
impl StructuralPartialEq for InstanceFleetModifyConfig
Auto Trait Implementations§
impl Freeze for InstanceFleetModifyConfig
impl RefUnwindSafe for InstanceFleetModifyConfig
impl Send for InstanceFleetModifyConfig
impl Sync for InstanceFleetModifyConfig
impl Unpin for InstanceFleetModifyConfig
impl UnwindSafe for InstanceFleetModifyConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more