Class CfnFeatureGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnFeatureGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupProps>
- Enclosing interface:
- CfnFeatureGroupProps
@Stability(Stable)
public static final class CfnFeatureGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroupProps>
A builder for
CfnFeatureGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFeatureGroupProps.getDescription()eventTimeFeatureName(String eventTimeFeatureName) Sets the value ofCfnFeatureGroupProps.getEventTimeFeatureName()featureDefinitions(List<? extends Object> featureDefinitions) Sets the value ofCfnFeatureGroupProps.getFeatureDefinitions()featureDefinitions(IResolvable featureDefinitions) Sets the value ofCfnFeatureGroupProps.getFeatureDefinitions()featureGroupName(String featureGroupName) Sets the value ofCfnFeatureGroupProps.getFeatureGroupName()offlineStoreConfig(Object offlineStoreConfig) Sets the value ofCfnFeatureGroupProps.getOfflineStoreConfig()onlineStoreConfig(Object onlineStoreConfig) Sets the value ofCfnFeatureGroupProps.getOnlineStoreConfig()recordIdentifierFeatureName(String recordIdentifierFeatureName) Sets the value ofCfnFeatureGroupProps.getRecordIdentifierFeatureName()Sets the value ofCfnFeatureGroupProps.getRoleArn()Sets the value ofCfnFeatureGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventTimeFeatureName
@Stability(Stable) public CfnFeatureGroupProps.Builder eventTimeFeatureName(String eventTimeFeatureName) Sets the value ofCfnFeatureGroupProps.getEventTimeFeatureName()- Parameters:
eventTimeFeatureName- The name of the feature that stores theEventTimeof a Record in aFeatureGroup. This parameter is required. AEventTimeis point in time when a new event occurs that corresponds to the creation or update of aRecordinFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroupProps.Builder featureDefinitions(IResolvable featureDefinitions) Sets the value ofCfnFeatureGroupProps.getFeatureDefinitions()- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. This parameter is required. ValidFeatureTypes 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.- Returns:
this
-
featureDefinitions
@Stability(Stable) public CfnFeatureGroupProps.Builder featureDefinitions(List<? extends Object> featureDefinitions) Sets the value ofCfnFeatureGroupProps.getFeatureDefinitions()- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. This parameter is required. ValidFeatureTypes 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.- Returns:
this
-
featureGroupName
Sets the value ofCfnFeatureGroupProps.getFeatureGroupName()- Parameters:
featureGroupName- The name of theFeatureGroup. This parameter is required.- Returns:
this
-
recordIdentifierFeatureName
@Stability(Stable) public CfnFeatureGroupProps.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName) Sets the value ofCfnFeatureGroupProps.getRecordIdentifierFeatureName()- Parameters:
recordIdentifierFeatureName- The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnFeatureGroupProps.getDescription()- Parameters:
description- A free form description of aFeatureGroup.- Returns:
this
-
offlineStoreConfig
@Stability(Stable) public CfnFeatureGroupProps.Builder offlineStoreConfig(Object offlineStoreConfig) Sets the value ofCfnFeatureGroupProps.getOfflineStoreConfig()- Parameters:
offlineStoreConfig- The configuration of anOfflineStore.- Returns:
this
-
onlineStoreConfig
Sets the value ofCfnFeatureGroupProps.getOnlineStoreConfig()- Parameters:
onlineStoreConfig- The configuration of anOnlineStore.- Returns:
this
-
roleArn
Sets the value ofCfnFeatureGroupProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.- Returns:
this
-
tags
Sets the value ofCfnFeatureGroupProps.getTags()- Parameters:
tags- Tags used to define aFeatureGroup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroupProps>- Returns:
- a new instance of
CfnFeatureGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-