Class CfnFeatureGroup.Builder

java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnFeatureGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroup>
Enclosing class:
CfnFeatureGroup

@Stability(Stable) public static final class CfnFeatureGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnFeatureGroup>
A fluent builder for CfnFeatureGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnFeatureGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFeatureGroup.Builder.
    • eventTimeFeatureName

      @Stability(Stable) public CfnFeatureGroup.Builder eventTimeFeatureName(String eventTimeFeatureName)
      The name of the feature that stores the EventTime of a Record in a FeatureGroup .

      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 .

      Parameters:
      eventTimeFeatureName - The name of the feature that stores the EventTime of a Record in a FeatureGroup . This parameter is required.
      Returns:
      this
    • featureDefinitions

      @Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(IResolvable featureDefinitions)
      A list of Feature s. Each Feature must include a FeatureName and a FeatureType .

      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 .

      Parameters:
      featureDefinitions - A list of Feature s. Each Feature must include a FeatureName and a FeatureType . This parameter is required.
      Returns:
      this
    • featureDefinitions

      @Stability(Stable) public CfnFeatureGroup.Builder featureDefinitions(List<? extends Object> featureDefinitions)
      A list of Feature s. Each Feature must include a FeatureName and a FeatureType .

      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 .

      Parameters:
      featureDefinitions - A list of Feature s. Each Feature must include a FeatureName and a FeatureType . This parameter is required.
      Returns:
      this
    • featureGroupName

      @Stability(Stable) public CfnFeatureGroup.Builder featureGroupName(String featureGroupName)
      The name of the FeatureGroup .

      Parameters:
      featureGroupName - The name of the FeatureGroup . This parameter is required.
      Returns:
      this
    • recordIdentifierFeatureName

      @Stability(Stable) public CfnFeatureGroup.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName)
      The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup FeatureDefinitions .

      Parameters:
      recordIdentifierFeatureName - The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup FeatureDefinitions . This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnFeatureGroup.Builder description(String description)
      A free form description of a FeatureGroup .

      Parameters:
      description - A free form description of a FeatureGroup . This parameter is required.
      Returns:
      this
    • offlineStoreConfig

      @Stability(Stable) public CfnFeatureGroup.Builder offlineStoreConfig(Object offlineStoreConfig)
      The configuration of an OfflineStore .

      Parameters:
      offlineStoreConfig - The configuration of an OfflineStore . This parameter is required.
      Returns:
      this
    • onlineStoreConfig

      @Stability(Stable) public CfnFeatureGroup.Builder onlineStoreConfig(Object onlineStoreConfig)
      The configuration of an OnlineStore .

      Parameters:
      onlineStoreConfig - The configuration of an OnlineStore . This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnFeatureGroup.Builder roleArn(String 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
    • tags

      @Stability(Stable) public CfnFeatureGroup.Builder tags(List<? extends CfnTag> tags)
      Tags used to define a FeatureGroup .

      Parameters:
      tags - Tags used to define a FeatureGroup . This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnFeatureGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFeatureGroup>
      Returns:
      a newly built instance of CfnFeatureGroup.