Struct aws_sdk_sagemaker::model::feature_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FeatureGroup
.
Implementations§
source§impl 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 last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A timestamp indicating the last time you updated the feature group.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A timestamp indicating the last time you updated the feature group.
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 last_update_status(self, input: LastUpdateStatus) -> Self
pub fn last_update_status(self, input: LastUpdateStatus) -> Self
A value that indicates whether the feature group was updated successfully.
sourcepub fn set_last_update_status(self, input: Option<LastUpdateStatus>) -> Self
pub fn set_last_update_status(self, input: Option<LastUpdateStatus>) -> Self
A value that indicates whether the feature group was updated successfully.
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
.