#[non_exhaustive]pub struct TimeSeriesIdentifiersBuilder { /* private fields */ }
Expand description
A builder for TimeSeriesIdentifiers
.
Implementations§
source§impl TimeSeriesIdentifiersBuilder
impl TimeSeriesIdentifiersBuilder
sourcepub fn data_source(self, input: DataSource) -> Self
pub fn data_source(self, input: DataSource) -> Self
The source of your data, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an Key Management Service (KMS) key.
sourcepub fn set_data_source(self, input: Option<DataSource>) -> Self
pub fn set_data_source(self, input: Option<DataSource>) -> Self
The source of your data, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an Key Management Service (KMS) key.
sourcepub fn get_data_source(&self) -> &Option<DataSource>
pub fn get_data_source(&self) -> &Option<DataSource>
The source of your data, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an Key Management Service (KMS) key.
sourcepub fn set_schema(self, input: Option<Schema>) -> Self
pub fn set_schema(self, input: Option<Schema>) -> Self
Defines the fields of a dataset.
sourcepub fn get_schema(&self) -> &Option<Schema>
pub fn get_schema(&self) -> &Option<Schema>
Defines the fields of a dataset.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The format of the data, either 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 data, either CSV or PARQUET.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the data, either CSV or PARQUET.
sourcepub fn build(self) -> TimeSeriesIdentifiers
pub fn build(self) -> TimeSeriesIdentifiers
Consumes the builder and constructs a TimeSeriesIdentifiers
.
Trait Implementations§
source§impl Clone for TimeSeriesIdentifiersBuilder
impl Clone for TimeSeriesIdentifiersBuilder
source§fn clone(&self) -> TimeSeriesIdentifiersBuilder
fn clone(&self) -> TimeSeriesIdentifiersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeSeriesIdentifiersBuilder
impl Debug for TimeSeriesIdentifiersBuilder
source§impl Default for TimeSeriesIdentifiersBuilder
impl Default for TimeSeriesIdentifiersBuilder
source§fn default() -> TimeSeriesIdentifiersBuilder
fn default() -> TimeSeriesIdentifiersBuilder
source§impl PartialEq for TimeSeriesIdentifiersBuilder
impl PartialEq for TimeSeriesIdentifiersBuilder
source§fn eq(&self, other: &TimeSeriesIdentifiersBuilder) -> bool
fn eq(&self, other: &TimeSeriesIdentifiersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeSeriesIdentifiersBuilder
Auto Trait Implementations§
impl Freeze for TimeSeriesIdentifiersBuilder
impl RefUnwindSafe for TimeSeriesIdentifiersBuilder
impl Send for TimeSeriesIdentifiersBuilder
impl Sync for TimeSeriesIdentifiersBuilder
impl Unpin for TimeSeriesIdentifiersBuilder
impl UnwindSafe for TimeSeriesIdentifiersBuilder
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