Struct aws_sdk_autoscaling::operation::get_predictive_scaling_forecast::builders::GetPredictiveScalingForecastOutputBuilder
source · #[non_exhaustive]pub struct GetPredictiveScalingForecastOutputBuilder { /* private fields */ }Expand description
A builder for GetPredictiveScalingForecastOutput.
Implementations§
source§impl GetPredictiveScalingForecastOutputBuilder
impl GetPredictiveScalingForecastOutputBuilder
sourcepub fn load_forecast(self, input: LoadForecast) -> Self
pub fn load_forecast(self, input: LoadForecast) -> Self
Appends an item to load_forecast.
To override the contents of this collection use set_load_forecast.
The load forecast.
sourcepub fn set_load_forecast(self, input: Option<Vec<LoadForecast>>) -> Self
pub fn set_load_forecast(self, input: Option<Vec<LoadForecast>>) -> Self
The load forecast.
sourcepub fn get_load_forecast(&self) -> &Option<Vec<LoadForecast>>
pub fn get_load_forecast(&self) -> &Option<Vec<LoadForecast>>
The load forecast.
sourcepub fn capacity_forecast(self, input: CapacityForecast) -> Self
pub fn capacity_forecast(self, input: CapacityForecast) -> Self
The capacity forecast.
This field is required.sourcepub fn set_capacity_forecast(self, input: Option<CapacityForecast>) -> Self
pub fn set_capacity_forecast(self, input: Option<CapacityForecast>) -> Self
The capacity forecast.
sourcepub fn get_capacity_forecast(&self) -> &Option<CapacityForecast>
pub fn get_capacity_forecast(&self) -> &Option<CapacityForecast>
The capacity forecast.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
The time the forecast was made.
This field is required.sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The time the forecast was made.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
The time the forecast was made.
sourcepub fn build(self) -> GetPredictiveScalingForecastOutput
pub fn build(self) -> GetPredictiveScalingForecastOutput
Consumes the builder and constructs a GetPredictiveScalingForecastOutput.
Trait Implementations§
source§impl Clone for GetPredictiveScalingForecastOutputBuilder
impl Clone for GetPredictiveScalingForecastOutputBuilder
source§fn clone(&self) -> GetPredictiveScalingForecastOutputBuilder
fn clone(&self) -> GetPredictiveScalingForecastOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetPredictiveScalingForecastOutputBuilder
impl Default for GetPredictiveScalingForecastOutputBuilder
source§fn default() -> GetPredictiveScalingForecastOutputBuilder
fn default() -> GetPredictiveScalingForecastOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetPredictiveScalingForecastOutputBuilder
impl PartialEq for GetPredictiveScalingForecastOutputBuilder
source§fn eq(&self, other: &GetPredictiveScalingForecastOutputBuilder) -> bool
fn eq(&self, other: &GetPredictiveScalingForecastOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPredictiveScalingForecastOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetPredictiveScalingForecastOutputBuilder
impl Send for GetPredictiveScalingForecastOutputBuilder
impl Sync for GetPredictiveScalingForecastOutputBuilder
impl Unpin for GetPredictiveScalingForecastOutputBuilder
impl UnwindSafe for GetPredictiveScalingForecastOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.