public static final class CfnFeatureGroupProps.Builder
extends java.lang.Object
CfnFeatureGroupProps
Constructor and Description |
---|
Builder() |
public CfnFeatureGroupProps.Builder eventTimeFeatureName(java.lang.String eventTimeFeatureName)
CfnFeatureGroupProps.getEventTimeFeatureName()
eventTimeFeatureName
- The name of the feature that stores the `EventTime` of a Record in a `FeatureGroup` . This parameter is required.
A EventTime
is point in time when a new event occurs that corresponds to the creation or update of a Record
in FeatureGroup
. All Records
in the FeatureGroup
must have a corresponding EventTime
.this
public CfnFeatureGroupProps.Builder featureDefinitions(IResolvable featureDefinitions)
CfnFeatureGroupProps.getFeatureDefinitions()
featureDefinitions
- A list of `Feature` s. Each `Feature` must include a `FeatureName` and a `FeatureType` . This parameter is required.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
this
public CfnFeatureGroupProps.Builder featureDefinitions(java.util.List<? extends java.lang.Object> featureDefinitions)
CfnFeatureGroupProps.getFeatureDefinitions()
featureDefinitions
- A list of `Feature` s. Each `Feature` must include a `FeatureName` and a `FeatureType` . This parameter is required.
Valid FeatureType
s are Integral
, Fractional
and String
.
FeatureName
s cannot be any of the following: is_deleted
, write_time
, api_invocation_time
.
You can create up to 2,500 FeatureDefinition
s per FeatureGroup
.
this
public CfnFeatureGroupProps.Builder featureGroupName(java.lang.String featureGroupName)
CfnFeatureGroupProps.getFeatureGroupName()
featureGroupName
- The name of the `FeatureGroup` . This parameter is required.this
public CfnFeatureGroupProps.Builder recordIdentifierFeatureName(java.lang.String recordIdentifierFeatureName)
CfnFeatureGroupProps.getRecordIdentifierFeatureName()
recordIdentifierFeatureName
- The name of the `Feature` whose value uniquely identifies a `Record` defined in the `FeatureGroup` `FeatureDefinitions` . This parameter is required.this
public CfnFeatureGroupProps.Builder description(java.lang.String description)
CfnFeatureGroupProps.getDescription()
description
- A free form description of a `FeatureGroup` .this
public CfnFeatureGroupProps.Builder offlineStoreConfig(java.lang.Object offlineStoreConfig)
CfnFeatureGroupProps.getOfflineStoreConfig()
offlineStoreConfig
- The configuration of an `OfflineStore` .this
public CfnFeatureGroupProps.Builder onlineStoreConfig(java.lang.Object onlineStoreConfig)
CfnFeatureGroupProps.getOnlineStoreConfig()
onlineStoreConfig
- The configuration of an `OnlineStore` .this
public CfnFeatureGroupProps.Builder roleArn(java.lang.String roleArn)
CfnFeatureGroupProps.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.this
public CfnFeatureGroupProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnFeatureGroupProps.getTags()
tags
- Tags used to define a `FeatureGroup` .this
public CfnFeatureGroupProps build()
CfnFeatureGroupProps
java.lang.NullPointerException
- if any required attribute was not provided