Struct aws_sdk_sagemaker::types::builders::TimeSeriesConfigBuilder
source · #[non_exhaustive]pub struct TimeSeriesConfigBuilder { /* private fields */ }
Expand description
A builder for TimeSeriesConfig
.
Implementations§
source§impl TimeSeriesConfigBuilder
impl TimeSeriesConfigBuilder
sourcepub fn target_attribute_name(self, input: impl Into<String>) -> Self
pub fn target_attribute_name(self, input: impl Into<String>) -> Self
The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical.
This field is required.sourcepub fn set_target_attribute_name(self, input: Option<String>) -> Self
pub fn set_target_attribute_name(self, input: Option<String>) -> Self
The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical.
sourcepub fn get_target_attribute_name(&self) -> &Option<String>
pub fn get_target_attribute_name(&self) -> &Option<String>
The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical.
sourcepub fn timestamp_attribute_name(self, input: impl Into<String>) -> Self
pub fn timestamp_attribute_name(self, input: impl Into<String>) -> Self
The name of the column indicating a point in time at which the target value of a given item is recorded.
This field is required.sourcepub fn set_timestamp_attribute_name(self, input: Option<String>) -> Self
pub fn set_timestamp_attribute_name(self, input: Option<String>) -> Self
The name of the column indicating a point in time at which the target value of a given item is recorded.
sourcepub fn get_timestamp_attribute_name(&self) -> &Option<String>
pub fn get_timestamp_attribute_name(&self) -> &Option<String>
The name of the column indicating a point in time at which the target value of a given item is recorded.
sourcepub fn item_identifier_attribute_name(self, input: impl Into<String>) -> Self
pub fn item_identifier_attribute_name(self, input: impl Into<String>) -> Self
The name of the column that represents the set of item identifiers for which you want to predict the target value.
This field is required.sourcepub fn set_item_identifier_attribute_name(self, input: Option<String>) -> Self
pub fn set_item_identifier_attribute_name(self, input: Option<String>) -> Self
The name of the column that represents the set of item identifiers for which you want to predict the target value.
sourcepub fn get_item_identifier_attribute_name(&self) -> &Option<String>
pub fn get_item_identifier_attribute_name(&self) -> &Option<String>
The name of the column that represents the set of item identifiers for which you want to predict the target value.
sourcepub fn grouping_attribute_names(self, input: impl Into<String>) -> Self
pub fn grouping_attribute_names(self, input: impl Into<String>) -> Self
Appends an item to grouping_attribute_names
.
To override the contents of this collection use set_grouping_attribute_names
.
A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted.
sourcepub fn set_grouping_attribute_names(self, input: Option<Vec<String>>) -> Self
pub fn set_grouping_attribute_names(self, input: Option<Vec<String>>) -> Self
A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted.
sourcepub fn get_grouping_attribute_names(&self) -> &Option<Vec<String>>
pub fn get_grouping_attribute_names(&self) -> &Option<Vec<String>>
A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted.
sourcepub fn build(self) -> TimeSeriesConfig
pub fn build(self) -> TimeSeriesConfig
Consumes the builder and constructs a TimeSeriesConfig
.
Trait Implementations§
source§impl Clone for TimeSeriesConfigBuilder
impl Clone for TimeSeriesConfigBuilder
source§fn clone(&self) -> TimeSeriesConfigBuilder
fn clone(&self) -> TimeSeriesConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeSeriesConfigBuilder
impl Debug for TimeSeriesConfigBuilder
source§impl Default for TimeSeriesConfigBuilder
impl Default for TimeSeriesConfigBuilder
source§fn default() -> TimeSeriesConfigBuilder
fn default() -> TimeSeriesConfigBuilder
source§impl PartialEq for TimeSeriesConfigBuilder
impl PartialEq for TimeSeriesConfigBuilder
source§fn eq(&self, other: &TimeSeriesConfigBuilder) -> bool
fn eq(&self, other: &TimeSeriesConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeSeriesConfigBuilder
Auto Trait Implementations§
impl Freeze for TimeSeriesConfigBuilder
impl RefUnwindSafe for TimeSeriesConfigBuilder
impl Send for TimeSeriesConfigBuilder
impl Sync for TimeSeriesConfigBuilder
impl Unpin for TimeSeriesConfigBuilder
impl UnwindSafe for TimeSeriesConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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