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.Builder
description
(String description) A free form description of aFeatureGroup
.eventTimeFeatureName
(String eventTimeFeatureName) The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.featureDefinitions
(List<? extends Object> featureDefinitions) A list ofFeature
s.featureDefinitions
(IResolvable featureDefinitions) A list ofFeature
s.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 theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.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 theEventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.- Parameters:
eventTimeFeatureName
- The name of the feature that stores theEventTime
of a Record in aFeatureGroup
. This parameter is required.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(IResolvable featureDefinitions) A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Parameters:
featureDefinitions
- A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
. This parameter is required.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(List<? extends Object> featureDefinitions) A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Parameters:
featureDefinitions
- A list ofFeature
s. EachFeature
must include aFeatureName
and 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 theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.- Parameters:
recordIdentifierFeatureName
- The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFeatureGroup>
- Returns:
- a newly built instance of
CfnFeatureGroup
.
-