Class CfnFeatureGroup.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnFeatureGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroup>
- Enclosing class:
- CfnFeatureGroup
@Stability(Stable)
public static final class CfnFeatureGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroup>
A fluent builder for
CfnFeatureGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnFeatureGroup.Builderdescription(String description) A free form description of aFeatureGroup.eventTimeFeatureName(String eventTimeFeatureName) The name of the feature that stores theEventTimeof a Record in aFeatureGroup.featureDefinitions(List<? extends Object> featureDefinitions) A list ofFeatures.featureDefinitions(IResolvable featureDefinitions) A list ofFeatures.featureGroupName(String featureGroupName) The name of theFeatureGroup.offlineStoreConfig(Object offlineStoreConfig) The configuration of anOfflineStore.onlineStoreConfig(Object onlineStoreConfig) The configuration of anOnlineStore.recordIdentifierFeatureName(String recordIdentifierFeatureName) The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.Tags used to define aFeatureGroup.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnFeatureGroup.Builder.
-
eventTimeFeatureName
The name of the feature that stores theEventTimeof a Record in aFeatureGroup.A
EventTimeis point in time when a new event occurs that corresponds to the creation or update of aRecordinFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.- Parameters:
eventTimeFeatureName- The name of the feature that stores theEventTimeof a Record in aFeatureGroup. This parameter is required.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(IResolvable featureDefinitions) A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. This parameter is required.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(List<? extends Object> featureDefinitions) A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. This parameter is required.- Returns:
this
-
featureGroupName
The name of theFeatureGroup.- Parameters:
featureGroupName- The name of theFeatureGroup. This parameter is required.- Returns:
this
-
recordIdentifierFeatureName
@Stability(Stable) public CfnFeatureGroup.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName) The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.- Parameters:
recordIdentifierFeatureName- The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions. This parameter is required.- Returns:
this
-
description
A free form description of aFeatureGroup.- Parameters:
description- A free form description of aFeatureGroup. This parameter is required.- Returns:
this
-
offlineStoreConfig
The configuration of anOfflineStore.- Parameters:
offlineStoreConfig- The configuration of anOfflineStore. This parameter is required.- Returns:
this
-
onlineStoreConfig
The configuration of anOnlineStore.- Parameters:
onlineStoreConfig- The configuration of anOnlineStore. This parameter is required.- Returns:
this
-
roleArn
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group. This parameter is required.- Returns:
this
-
tags
Tags used to define aFeatureGroup.- Parameters:
tags- Tags used to define aFeatureGroup. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroup>- Returns:
- a newly built instance of
CfnFeatureGroup.
-