#[non_exhaustive]pub struct ScalingConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for ScalingConfigurationOutput
.
Implementations§
source§impl ScalingConfigurationOutputBuilder
impl ScalingConfigurationOutputBuilder
sourcepub fn scaling_type(self, input: FleetScalingType) -> Self
pub fn scaling_type(self, input: FleetScalingType) -> Self
The scaling type for a compute fleet.
sourcepub fn set_scaling_type(self, input: Option<FleetScalingType>) -> Self
pub fn set_scaling_type(self, input: Option<FleetScalingType>) -> Self
The scaling type for a compute fleet.
sourcepub fn get_scaling_type(&self) -> &Option<FleetScalingType>
pub fn get_scaling_type(&self) -> &Option<FleetScalingType>
The scaling type for a compute fleet.
sourcepub fn target_tracking_scaling_configs(
self,
input: TargetTrackingScalingConfiguration
) -> Self
pub fn target_tracking_scaling_configs( self, input: TargetTrackingScalingConfiguration ) -> Self
Appends an item to target_tracking_scaling_configs
.
To override the contents of this collection use set_target_tracking_scaling_configs
.
A list of TargetTrackingScalingConfiguration
objects.
sourcepub fn set_target_tracking_scaling_configs(
self,
input: Option<Vec<TargetTrackingScalingConfiguration>>
) -> Self
pub fn set_target_tracking_scaling_configs( self, input: Option<Vec<TargetTrackingScalingConfiguration>> ) -> Self
A list of TargetTrackingScalingConfiguration
objects.
sourcepub fn get_target_tracking_scaling_configs(
&self
) -> &Option<Vec<TargetTrackingScalingConfiguration>>
pub fn get_target_tracking_scaling_configs( &self ) -> &Option<Vec<TargetTrackingScalingConfiguration>>
A list of TargetTrackingScalingConfiguration
objects.
sourcepub fn max_capacity(self, input: i32) -> Self
pub fn max_capacity(self, input: i32) -> Self
The maximum number of instances in the fleet when auto-scaling.
sourcepub fn set_max_capacity(self, input: Option<i32>) -> Self
pub fn set_max_capacity(self, input: Option<i32>) -> Self
The maximum number of instances in the fleet when auto-scaling.
sourcepub fn get_max_capacity(&self) -> &Option<i32>
pub fn get_max_capacity(&self) -> &Option<i32>
The maximum number of instances in the fleet when auto-scaling.
sourcepub fn desired_capacity(self, input: i32) -> Self
pub fn desired_capacity(self, input: i32) -> Self
The desired number of instances in the fleet when auto-scaling.
sourcepub fn set_desired_capacity(self, input: Option<i32>) -> Self
pub fn set_desired_capacity(self, input: Option<i32>) -> Self
The desired number of instances in the fleet when auto-scaling.
sourcepub fn get_desired_capacity(&self) -> &Option<i32>
pub fn get_desired_capacity(&self) -> &Option<i32>
The desired number of instances in the fleet when auto-scaling.
sourcepub fn build(self) -> ScalingConfigurationOutput
pub fn build(self) -> ScalingConfigurationOutput
Consumes the builder and constructs a ScalingConfigurationOutput
.
Trait Implementations§
source§impl Clone for ScalingConfigurationOutputBuilder
impl Clone for ScalingConfigurationOutputBuilder
source§fn clone(&self) -> ScalingConfigurationOutputBuilder
fn clone(&self) -> ScalingConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScalingConfigurationOutputBuilder
impl Default for ScalingConfigurationOutputBuilder
source§fn default() -> ScalingConfigurationOutputBuilder
fn default() -> ScalingConfigurationOutputBuilder
source§impl PartialEq for ScalingConfigurationOutputBuilder
impl PartialEq for ScalingConfigurationOutputBuilder
source§fn eq(&self, other: &ScalingConfigurationOutputBuilder) -> bool
fn eq(&self, other: &ScalingConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.