Struct aws_sdk_forecast::operation::create_what_if_forecast_export::builders::CreateWhatIfForecastExportInputBuilder
source · #[non_exhaustive]pub struct CreateWhatIfForecastExportInputBuilder { /* private fields */ }
Expand description
A builder for CreateWhatIfForecastExportInput
.
Implementations§
source§impl CreateWhatIfForecastExportInputBuilder
impl CreateWhatIfForecastExportInputBuilder
sourcepub fn what_if_forecast_export_name(self, input: impl Into<String>) -> Self
pub fn what_if_forecast_export_name(self, input: impl Into<String>) -> Self
The name of the what-if forecast to export.
This field is required.sourcepub fn set_what_if_forecast_export_name(self, input: Option<String>) -> Self
pub fn set_what_if_forecast_export_name(self, input: Option<String>) -> Self
The name of the what-if forecast to export.
sourcepub fn get_what_if_forecast_export_name(&self) -> &Option<String>
pub fn get_what_if_forecast_export_name(&self) -> &Option<String>
The name of the what-if forecast to export.
sourcepub fn what_if_forecast_arns(self, input: impl Into<String>) -> Self
pub fn what_if_forecast_arns(self, input: impl Into<String>) -> Self
Appends an item to what_if_forecast_arns
.
To override the contents of this collection use set_what_if_forecast_arns
.
The list of what-if forecast Amazon Resource Names (ARNs) to export.
sourcepub fn set_what_if_forecast_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_what_if_forecast_arns(self, input: Option<Vec<String>>) -> Self
The list of what-if forecast Amazon Resource Names (ARNs) to export.
sourcepub fn get_what_if_forecast_arns(&self) -> &Option<Vec<String>>
pub fn get_what_if_forecast_arns(&self) -> &Option<Vec<String>>
The list of what-if forecast Amazon Resource Names (ARNs) to export.
sourcepub fn destination(self, input: DataDestination) -> Self
pub fn destination(self, input: DataDestination) -> Self
The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.
If encryption is used, Destination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.
sourcepub fn set_destination(self, input: Option<DataDestination>) -> Self
pub fn set_destination(self, input: Option<DataDestination>) -> Self
The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.
If encryption is used, Destination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.
sourcepub fn get_destination(&self) -> &Option<DataDestination>
pub fn get_destination(&self) -> &Option<DataDestination>
The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket.
If encryption is used, Destination
must include an Key Management Service (KMS) key. The IAM role must allow Amazon Forecast permission to access the key.
A list of tags to apply to the what if forecast.
A list of tags to apply to the what if forecast.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The format of the exported data, CSV or PARQUET.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The format of the exported data, CSV or PARQUET.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the exported data, CSV or PARQUET.
sourcepub fn build(self) -> Result<CreateWhatIfForecastExportInput, BuildError>
pub fn build(self) -> Result<CreateWhatIfForecastExportInput, BuildError>
Consumes the builder and constructs a CreateWhatIfForecastExportInput
.
source§impl CreateWhatIfForecastExportInputBuilder
impl CreateWhatIfForecastExportInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateWhatIfForecastExportOutput, SdkError<CreateWhatIfForecastExportError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateWhatIfForecastExportOutput, SdkError<CreateWhatIfForecastExportError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateWhatIfForecastExportInputBuilder
impl Clone for CreateWhatIfForecastExportInputBuilder
source§fn clone(&self) -> CreateWhatIfForecastExportInputBuilder
fn clone(&self) -> CreateWhatIfForecastExportInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateWhatIfForecastExportInputBuilder
impl Default for CreateWhatIfForecastExportInputBuilder
source§fn default() -> CreateWhatIfForecastExportInputBuilder
fn default() -> CreateWhatIfForecastExportInputBuilder
source§impl PartialEq for CreateWhatIfForecastExportInputBuilder
impl PartialEq for CreateWhatIfForecastExportInputBuilder
source§fn eq(&self, other: &CreateWhatIfForecastExportInputBuilder) -> bool
fn eq(&self, other: &CreateWhatIfForecastExportInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWhatIfForecastExportInputBuilder
Auto Trait Implementations§
impl Freeze for CreateWhatIfForecastExportInputBuilder
impl RefUnwindSafe for CreateWhatIfForecastExportInputBuilder
impl Send for CreateWhatIfForecastExportInputBuilder
impl Sync for CreateWhatIfForecastExportInputBuilder
impl Unpin for CreateWhatIfForecastExportInputBuilder
impl UnwindSafe for CreateWhatIfForecastExportInputBuilder
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