Class CfnFeatureGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroup>
- Enclosing class:
CfnFeatureGroup
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.The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.Tags used to define aFeatureGroup.throughputConfig(IResolvable throughputConfig) Used to set feature group throughput configuration.throughputConfig(CfnFeatureGroup.ThroughputConfigProperty throughputConfig) Used to set feature group throughput configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnFeatureGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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- See Also:
-
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- See Also:
-
featureGroupName
The name of theFeatureGroup.- Parameters:
featureGroupName- The name of theFeatureGroup. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
description
A free form description of aFeatureGroup.- Parameters:
description- A free form description of aFeatureGroup. This parameter is required.- Returns:
this- See Also:
-
offlineStoreConfig
The configuration of anOfflineStore.- Parameters:
offlineStoreConfig- The configuration of anOfflineStore. This parameter is required.- Returns:
this- See Also:
-
onlineStoreConfig
The configuration of anOnlineStore.- Parameters:
onlineStoreConfig- The configuration of anOnlineStore. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
tags
Tags used to define aFeatureGroup.- Parameters:
tags- Tags used to define aFeatureGroup. This parameter is required.- Returns:
this- See Also:
-
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.- Parameters:
throughputConfig- Used to set feature group throughput configuration. This parameter is required.- Returns:
this- See Also:
-
throughputConfig
@Stability(Stable) public CfnFeatureGroup.Builder throughputConfig(CfnFeatureGroup.ThroughputConfigProperty 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.- Parameters:
throughputConfig- Used to set feature group throughput configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroup>- Returns:
- a newly built instance of
CfnFeatureGroup.
-