Class CfnFeatureGroupProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • eventTimeFeatureName

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

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

      Returns:
      this
    • featureDefinitions

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

      Returns:
      this
    • featureGroupName

      @Stability(Stable) public CfnFeatureGroupProps.Builder featureGroupName(String featureGroupName)
      Parameters:
      featureGroupName - The name of the FeatureGroup . This parameter is required.
      Returns:
      this
    • recordIdentifierFeatureName

      @Stability(Stable) public CfnFeatureGroupProps.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName)
      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 CfnFeatureGroupProps.Builder description(String description)
      Parameters:
      description - A free form description of a FeatureGroup .
      Returns:
      this
    • offlineStoreConfig

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

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

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

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