Struct aws_sdk_forecast::types::builders::DataConfigBuilder
source · #[non_exhaustive]pub struct DataConfigBuilder { /* private fields */ }
Expand description
A builder for DataConfig
.
Implementations§
source§impl DataConfigBuilder
impl DataConfigBuilder
sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The ARN of the dataset group used to train the predictor.
This field is required.sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The ARN of the dataset group used to train the predictor.
sourcepub fn get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
The ARN of the dataset group used to train the predictor.
sourcepub fn attribute_configs(self, input: AttributeConfig) -> Self
pub fn attribute_configs(self, input: AttributeConfig) -> Self
Appends an item to attribute_configs
.
To override the contents of this collection use set_attribute_configs
.
Aggregation and filling options for attributes in your dataset group.
sourcepub fn set_attribute_configs(self, input: Option<Vec<AttributeConfig>>) -> Self
pub fn set_attribute_configs(self, input: Option<Vec<AttributeConfig>>) -> Self
Aggregation and filling options for attributes in your dataset group.
sourcepub fn get_attribute_configs(&self) -> &Option<Vec<AttributeConfig>>
pub fn get_attribute_configs(&self) -> &Option<Vec<AttributeConfig>>
Aggregation and filling options for attributes in your dataset group.
sourcepub fn additional_datasets(self, input: AdditionalDataset) -> Self
pub fn additional_datasets(self, input: AdditionalDataset) -> Self
Appends an item to additional_datasets
.
To override the contents of this collection use set_additional_datasets
.
Additional built-in datasets like Holidays and the Weather Index.
sourcepub fn set_additional_datasets(
self,
input: Option<Vec<AdditionalDataset>>
) -> Self
pub fn set_additional_datasets( self, input: Option<Vec<AdditionalDataset>> ) -> Self
Additional built-in datasets like Holidays and the Weather Index.
sourcepub fn get_additional_datasets(&self) -> &Option<Vec<AdditionalDataset>>
pub fn get_additional_datasets(&self) -> &Option<Vec<AdditionalDataset>>
Additional built-in datasets like Holidays and the Weather Index.
sourcepub fn build(self) -> Result<DataConfig, BuildError>
pub fn build(self) -> Result<DataConfig, BuildError>
Consumes the builder and constructs a DataConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataConfigBuilder
impl Clone for DataConfigBuilder
source§fn clone(&self) -> DataConfigBuilder
fn clone(&self) -> DataConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataConfigBuilder
impl Debug for DataConfigBuilder
source§impl Default for DataConfigBuilder
impl Default for DataConfigBuilder
source§fn default() -> DataConfigBuilder
fn default() -> DataConfigBuilder
source§impl PartialEq for DataConfigBuilder
impl PartialEq for DataConfigBuilder
source§fn eq(&self, other: &DataConfigBuilder) -> bool
fn eq(&self, other: &DataConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataConfigBuilder
Auto Trait Implementations§
impl Freeze for DataConfigBuilder
impl RefUnwindSafe for DataConfigBuilder
impl Send for DataConfigBuilder
impl Sync for DataConfigBuilder
impl Unpin for DataConfigBuilder
impl UnwindSafe for DataConfigBuilder
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