Struct aws_sdk_forecast::operation::create_forecast_export_job::builders::CreateForecastExportJobInputBuilder
source · #[non_exhaustive]pub struct CreateForecastExportJobInputBuilder { /* private fields */ }
Expand description
A builder for CreateForecastExportJobInput
.
Implementations§
source§impl CreateForecastExportJobInputBuilder
impl CreateForecastExportJobInputBuilder
sourcepub fn forecast_export_job_name(self, input: impl Into<String>) -> Self
pub fn forecast_export_job_name(self, input: impl Into<String>) -> Self
The name for the forecast export job.
This field is required.sourcepub fn set_forecast_export_job_name(self, input: Option<String>) -> Self
pub fn set_forecast_export_job_name(self, input: Option<String>) -> Self
The name for the forecast export job.
sourcepub fn get_forecast_export_job_name(&self) -> &Option<String>
pub fn get_forecast_export_job_name(&self) -> &Option<String>
The name for the forecast export job.
sourcepub fn forecast_arn(self, input: impl Into<String>) -> Self
pub fn forecast_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the forecast that you want to export.
This field is required.sourcepub fn set_forecast_arn(self, input: Option<String>) -> Self
pub fn set_forecast_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the forecast that you want to export.
sourcepub fn get_forecast_arn(&self) -> &Option<String>
pub fn get_forecast_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the forecast that you want 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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasaws
as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofaws
do not count against your tags per resource limit.
The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasaws
as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofaws
do not count against your tags per resource limit.
The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasaws
as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofaws
do not count against your tags per resource limit.
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. The default value is CSV.
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. The default value is CSV.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the exported data, CSV or PARQUET. The default value is CSV.
sourcepub fn build(self) -> Result<CreateForecastExportJobInput, BuildError>
pub fn build(self) -> Result<CreateForecastExportJobInput, BuildError>
Consumes the builder and constructs a CreateForecastExportJobInput
.
source§impl CreateForecastExportJobInputBuilder
impl CreateForecastExportJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateForecastExportJobOutput, SdkError<CreateForecastExportJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateForecastExportJobOutput, SdkError<CreateForecastExportJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateForecastExportJobInputBuilder
impl Clone for CreateForecastExportJobInputBuilder
source§fn clone(&self) -> CreateForecastExportJobInputBuilder
fn clone(&self) -> CreateForecastExportJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateForecastExportJobInputBuilder
impl Default for CreateForecastExportJobInputBuilder
source§fn default() -> CreateForecastExportJobInputBuilder
fn default() -> CreateForecastExportJobInputBuilder
source§impl PartialEq for CreateForecastExportJobInputBuilder
impl PartialEq for CreateForecastExportJobInputBuilder
source§fn eq(&self, other: &CreateForecastExportJobInputBuilder) -> bool
fn eq(&self, other: &CreateForecastExportJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateForecastExportJobInputBuilder
Auto Trait Implementations§
impl Freeze for CreateForecastExportJobInputBuilder
impl RefUnwindSafe for CreateForecastExportJobInputBuilder
impl Send for CreateForecastExportJobInputBuilder
impl Sync for CreateForecastExportJobInputBuilder
impl Unpin for CreateForecastExportJobInputBuilder
impl UnwindSafe for CreateForecastExportJobInputBuilder
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