#[non_exhaustive]pub struct WhatIfForecastSummaryBuilder { /* private fields */ }
Expand description
A builder for WhatIfForecastSummary
.
Implementations§
source§impl WhatIfForecastSummaryBuilder
impl WhatIfForecastSummaryBuilder
sourcepub fn what_if_forecast_arn(self, input: impl Into<String>) -> Self
pub fn what_if_forecast_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the what-if forecast.
sourcepub fn set_what_if_forecast_arn(self, input: Option<String>) -> Self
pub fn set_what_if_forecast_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the what-if forecast.
sourcepub fn get_what_if_forecast_arn(&self) -> &Option<String>
pub fn get_what_if_forecast_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the what-if forecast.
sourcepub fn what_if_forecast_name(self, input: impl Into<String>) -> Self
pub fn what_if_forecast_name(self, input: impl Into<String>) -> Self
The name of the what-if forecast.
sourcepub fn set_what_if_forecast_name(self, input: Option<String>) -> Self
pub fn set_what_if_forecast_name(self, input: Option<String>) -> Self
The name of the what-if forecast.
sourcepub fn get_what_if_forecast_name(&self) -> &Option<String>
pub fn get_what_if_forecast_name(&self) -> &Option<String>
The name of the what-if forecast.
sourcepub fn what_if_analysis_arn(self, input: impl Into<String>) -> Self
pub fn what_if_analysis_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
sourcepub fn set_what_if_analysis_arn(self, input: Option<String>) -> Self
pub fn set_what_if_analysis_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
sourcepub fn get_what_if_analysis_arn(&self) -> &Option<String>
pub fn get_what_if_analysis_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the what-if forecast. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the analysis.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the what-if forecast. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the analysis.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the what-if forecast. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the analysis.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
If an error occurred, an informational message about the error.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
If an error occurred, an informational message about the error.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
If an error occurred, an informational message about the error.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the what-if forecast was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the what-if forecast was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the what-if forecast was created.
sourcepub fn last_modification_time(self, input: DateTime) -> Self
pub fn last_modification_time(self, input: DateTime) -> Self
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_time(self, input: Option<DateTime>) -> Self
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn get_last_modification_time(&self) -> &Option<DateTime>
pub fn get_last_modification_time(&self) -> &Option<DateTime>
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn build(self) -> WhatIfForecastSummary
pub fn build(self) -> WhatIfForecastSummary
Consumes the builder and constructs a WhatIfForecastSummary
.
Trait Implementations§
source§impl Clone for WhatIfForecastSummaryBuilder
impl Clone for WhatIfForecastSummaryBuilder
source§fn clone(&self) -> WhatIfForecastSummaryBuilder
fn clone(&self) -> WhatIfForecastSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WhatIfForecastSummaryBuilder
impl Debug for WhatIfForecastSummaryBuilder
source§impl Default for WhatIfForecastSummaryBuilder
impl Default for WhatIfForecastSummaryBuilder
source§fn default() -> WhatIfForecastSummaryBuilder
fn default() -> WhatIfForecastSummaryBuilder
source§impl PartialEq for WhatIfForecastSummaryBuilder
impl PartialEq for WhatIfForecastSummaryBuilder
source§fn eq(&self, other: &WhatIfForecastSummaryBuilder) -> bool
fn eq(&self, other: &WhatIfForecastSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WhatIfForecastSummaryBuilder
Auto Trait Implementations§
impl Freeze for WhatIfForecastSummaryBuilder
impl RefUnwindSafe for WhatIfForecastSummaryBuilder
impl Send for WhatIfForecastSummaryBuilder
impl Sync for WhatIfForecastSummaryBuilder
impl Unpin for WhatIfForecastSummaryBuilder
impl UnwindSafe for WhatIfForecastSummaryBuilder
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> 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