Class CfnFeatureGroupMixinProps.Builder

java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnFeatureGroupMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupMixinProps>
Enclosing interface:
CfnFeatureGroupMixinProps

@Stability(Stable) public static final class CfnFeatureGroupMixinProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFeatureGroupMixinProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • description

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder description(String description)
      Parameters:
      description - A free form description of a FeatureGroup .
      Returns:
      this
    • eventTimeFeatureName

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder eventTimeFeatureName(String eventTimeFeatureName)
      Parameters:
      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 .
      Returns:
      this
    • featureDefinitions

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder featureDefinitions(IResolvable featureDefinitions)
      Parameters:
      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 .

      Returns:
      this
    • featureDefinitions

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder featureDefinitions(List<? extends Object> featureDefinitions)
      Parameters:
      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 .

      Returns:
      this
    • featureGroupName

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder featureGroupName(String featureGroupName)
      Parameters:
      featureGroupName - The name of the FeatureGroup .
      Returns:
      this
    • offlineStoreConfig

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder offlineStoreConfig(Object offlineStoreConfig)
      Parameters:
      offlineStoreConfig - The configuration of an OfflineStore .
      Returns:
      this
    • onlineStoreConfig

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder onlineStoreConfig(Object onlineStoreConfig)
      Parameters:
      onlineStoreConfig - The configuration of an OnlineStore .
      Returns:
      this
    • recordIdentifierFeatureName

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName)
      Parameters:
      recordIdentifierFeatureName - The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup FeatureDefinitions .
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder roleArn(String roleArn)
      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      tags - Tags used to define a FeatureGroup .
      Returns:
      this
    • throughputConfig

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder throughputConfig(IResolvable throughputConfig)
      Parameters:
      throughputConfig - Used to set feature group throughput configuration. There are two modes: ON_DEMAND and PROVISIONED . 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: PROVISIONED throughput mode is supported only for feature groups that are offline-only, or use the Standard tier online store.

      Returns:
      this
    • throughputConfig

      @Stability(Stable) public CfnFeatureGroupMixinProps.Builder throughputConfig(CfnFeatureGroupPropsMixin.ThroughputConfigProperty throughputConfig)
      Parameters:
      throughputConfig - Used to set feature group throughput configuration. There are two modes: ON_DEMAND and PROVISIONED . 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: PROVISIONED throughput mode is supported only for feature groups that are offline-only, or use the Standard tier online store.

      Returns:
      this
    • build

      @Stability(Stable) public CfnFeatureGroupMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFeatureGroupMixinProps>
      Returns:
      a new instance of CfnFeatureGroupMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided