Struct aws_sdk_sagemaker::model::feature_group::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for FeatureGroup
Implementations
sourceimpl Builder
impl Builder
sourcepub fn feature_group_arn(self, input: impl Into<String>) -> Self
pub fn feature_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a FeatureGroup
.
sourcepub fn set_feature_group_arn(self, input: Option<String>) -> Self
pub fn set_feature_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a FeatureGroup
.
sourcepub fn feature_group_name(self, input: impl Into<String>) -> Self
pub fn feature_group_name(self, input: impl Into<String>) -> Self
The name of the FeatureGroup
.
sourcepub fn set_feature_group_name(self, input: Option<String>) -> Self
pub fn set_feature_group_name(self, input: Option<String>) -> Self
The name of the FeatureGroup
.
sourcepub fn record_identifier_feature_name(self, input: impl Into<String>) -> Self
pub fn record_identifier_feature_name(self, input: impl Into<String>) -> Self
The name of the Feature
whose value uniquely identifies a Record
defined in the FeatureGroup
FeatureDefinitions
.
sourcepub fn set_record_identifier_feature_name(self, input: Option<String>) -> Self
pub fn set_record_identifier_feature_name(self, input: Option<String>) -> Self
The name of the Feature
whose value uniquely identifies a Record
defined in the FeatureGroup
FeatureDefinitions
.
sourcepub fn event_time_feature_name(self, input: impl Into<String>) -> Self
pub fn event_time_feature_name(self, input: impl Into<String>) -> Self
The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
A EventTime
is point in time when a new event occurs that corresponds to the creation or update of a Record
in FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.
sourcepub fn set_event_time_feature_name(self, input: Option<String>) -> Self
pub fn set_event_time_feature_name(self, input: Option<String>) -> Self
The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
A EventTime
is point in time when a new event occurs that corresponds to the creation or update of a Record
in FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.
sourcepub fn feature_definitions(self, input: FeatureDefinition) -> Self
pub fn feature_definitions(self, input: FeatureDefinition) -> Self
Appends an item to feature_definitions
.
To override the contents of this collection use set_feature_definitions
.
A list of Feature
s. Each Feature
must include a FeatureName
and a FeatureType
.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
sourcepub fn set_feature_definitions(
self,
input: Option<Vec<FeatureDefinition>>
) -> Self
pub fn set_feature_definitions(
self,
input: Option<Vec<FeatureDefinition>>
) -> Self
A list of Feature
s. Each Feature
must include a FeatureName
and a FeatureType
.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time a FeatureGroup
was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time a FeatureGroup
was created.
sourcepub fn online_store_config(self, input: OnlineStoreConfig) -> Self
pub fn online_store_config(self, input: OnlineStoreConfig) -> Self
Use this to specify the Amazon Web Services Key Management Service (KMS) Key ID, or KMSKeyId
, for at rest data encryption. You can turn OnlineStore
on or off by specifying the EnableOnlineStore
flag at General Assembly; the default value is False
.
sourcepub fn set_online_store_config(self, input: Option<OnlineStoreConfig>) -> Self
pub fn set_online_store_config(self, input: Option<OnlineStoreConfig>) -> Self
Use this to specify the Amazon Web Services Key Management Service (KMS) Key ID, or KMSKeyId
, for at rest data encryption. You can turn OnlineStore
on or off by specifying the EnableOnlineStore
flag at General Assembly; the default value is False
.
sourcepub fn offline_store_config(self, input: OfflineStoreConfig) -> Self
pub fn offline_store_config(self, input: OfflineStoreConfig) -> Self
The configuration of an OfflineStore
.
Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
to create an OfflineStore
.
To encrypt an OfflineStore
using at rest data encryption, specify Amazon Web Services Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
sourcepub fn set_offline_store_config(self, input: Option<OfflineStoreConfig>) -> Self
pub fn set_offline_store_config(self, input: Option<OfflineStoreConfig>) -> Self
The configuration of an OfflineStore
.
Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
to create an OfflineStore
.
To encrypt an OfflineStore
using at rest data encryption, specify Amazon Web Services Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
sourcepub fn feature_group_status(self, input: FeatureGroupStatus) -> Self
pub fn feature_group_status(self, input: FeatureGroupStatus) -> Self
A FeatureGroup
status.
sourcepub fn set_feature_group_status(self, input: Option<FeatureGroupStatus>) -> Self
pub fn set_feature_group_status(self, input: Option<FeatureGroupStatus>) -> Self
A FeatureGroup
status.
sourcepub fn offline_store_status(self, input: OfflineStoreStatus) -> Self
pub fn offline_store_status(self, input: OfflineStoreStatus) -> Self
The status of OfflineStore
.
sourcepub fn set_offline_store_status(self, input: Option<OfflineStoreStatus>) -> Self
pub fn set_offline_store_status(self, input: Option<OfflineStoreStatus>) -> Self
The status of OfflineStore
.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is failure may be due to a failure to create a FeatureGroup
in or delete a FeatureGroup
from the OfflineStore
.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is failure may be due to a failure to create a FeatureGroup
in or delete a FeatureGroup
from the OfflineStore
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A free form description of a FeatureGroup
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A free form description of a FeatureGroup
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags used to define a FeatureGroup
.
Tags used to define a FeatureGroup
.
sourcepub fn build(self) -> FeatureGroup
pub fn build(self) -> FeatureGroup
Consumes the builder and constructs a FeatureGroup
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more