Class CfnFeatureGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupProps>
- Enclosing interface:
CfnFeatureGroupProps
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.getRoleArn()Sets the value ofCfnFeatureGroupProps.getTags()throughputConfig(IResolvable throughputConfig) Sets the value ofCfnFeatureGroupProps.getThroughputConfig()throughputConfig(CfnFeatureGroup.ThroughputConfigProperty throughputConfig) Sets the value ofCfnFeatureGroupProps.getThroughputConfig()
-
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
-
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
-
throughputConfig
@Stability(Stable) public CfnFeatureGroupProps.Builder throughputConfig(IResolvable throughputConfig) Sets the value ofCfnFeatureGroupProps.getThroughputConfig()- Parameters:
throughputConfig- Used to set feature group throughput configuration. There are two modes:ON_DEMANDandPROVISIONED. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.Note:
PROVISIONEDthroughput mode is supported only for feature groups that are offline-only, or use theStandardtier online store.- Returns:
this
-
throughputConfig
@Stability(Stable) public CfnFeatureGroupProps.Builder throughputConfig(CfnFeatureGroup.ThroughputConfigProperty throughputConfig) Sets the value ofCfnFeatureGroupProps.getThroughputConfig()- Parameters:
throughputConfig- Used to set feature group throughput configuration. There are two modes:ON_DEMANDandPROVISIONED. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.Note:
PROVISIONEDthroughput mode is supported only for feature groups that are offline-only, or use theStandardtier online store.- 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
-