Class CfnFeatureGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupMixinProps>
- Enclosing interface:
CfnFeatureGroupMixinProps
CfnFeatureGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFeatureGroupMixinProps.getDescription()eventTimeFeatureName(String eventTimeFeatureName) Sets the value ofCfnFeatureGroupMixinProps.getEventTimeFeatureName()featureDefinitions(List<? extends Object> featureDefinitions) Sets the value ofCfnFeatureGroupMixinProps.getFeatureDefinitions()featureDefinitions(IResolvable featureDefinitions) Sets the value ofCfnFeatureGroupMixinProps.getFeatureDefinitions()featureGroupName(String featureGroupName) Sets the value ofCfnFeatureGroupMixinProps.getFeatureGroupName()offlineStoreConfig(Object offlineStoreConfig) Sets the value ofCfnFeatureGroupMixinProps.getOfflineStoreConfig()onlineStoreConfig(Object onlineStoreConfig) Sets the value ofCfnFeatureGroupMixinProps.getOnlineStoreConfig()recordIdentifierFeatureName(String recordIdentifierFeatureName) Sets the value ofCfnFeatureGroupMixinProps.getRecordIdentifierFeatureName()Sets the value ofCfnFeatureGroupMixinProps.getRoleArn()Sets the value ofCfnFeatureGroupMixinProps.getTags()throughputConfig(IResolvable throughputConfig) Sets the value ofCfnFeatureGroupMixinProps.getThroughputConfig()throughputConfig(CfnFeatureGroupPropsMixin.ThroughputConfigProperty throughputConfig) Sets the value ofCfnFeatureGroupMixinProps.getThroughputConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnFeatureGroupMixinProps.getDescription()- Parameters:
description- A free form description of aFeatureGroup.- Returns:
this
-
eventTimeFeatureName
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder eventTimeFeatureName(String eventTimeFeatureName) Sets the value ofCfnFeatureGroupMixinProps.getEventTimeFeatureName()- Parameters:
eventTimeFeatureName- The name of the feature that stores theEventTimeof a Record in aFeatureGroup. 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 CfnFeatureGroupMixinProps.Builder featureDefinitions(IResolvable featureDefinitions) Sets the value ofCfnFeatureGroupMixinProps.getFeatureDefinitions()- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. 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 CfnFeatureGroupMixinProps.Builder featureDefinitions(List<? extends Object> featureDefinitions) Sets the value ofCfnFeatureGroupMixinProps.getFeatureDefinitions()- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType. 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
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder featureGroupName(String featureGroupName) Sets the value ofCfnFeatureGroupMixinProps.getFeatureGroupName()- Parameters:
featureGroupName- The name of theFeatureGroup.- Returns:
this
-
offlineStoreConfig
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder offlineStoreConfig(Object offlineStoreConfig) Sets the value ofCfnFeatureGroupMixinProps.getOfflineStoreConfig()- Parameters:
offlineStoreConfig- The configuration of anOfflineStore.- Returns:
this
-
onlineStoreConfig
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder onlineStoreConfig(Object onlineStoreConfig) Sets the value ofCfnFeatureGroupMixinProps.getOnlineStoreConfig()- Parameters:
onlineStoreConfig- The configuration of anOnlineStore.- Returns:
this
-
recordIdentifierFeatureName
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName) Sets the value ofCfnFeatureGroupMixinProps.getRecordIdentifierFeatureName()- Parameters:
recordIdentifierFeatureName- The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.- Returns:
this
-
roleArn
Sets the value ofCfnFeatureGroupMixinProps.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 ofCfnFeatureGroupMixinProps.getTags()- Parameters:
tags- Tags used to define aFeatureGroup.- Returns:
this
-
throughputConfig
@Stability(Stable) public CfnFeatureGroupMixinProps.Builder throughputConfig(IResolvable throughputConfig) Sets the value ofCfnFeatureGroupMixinProps.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 CfnFeatureGroupMixinProps.Builder throughputConfig(CfnFeatureGroupPropsMixin.ThroughputConfigProperty throughputConfig) Sets the value ofCfnFeatureGroupMixinProps.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<CfnFeatureGroupMixinProps>- Returns:
- a new instance of
CfnFeatureGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-