Class CfnFeatureGroupPropsMixin.FeatureDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnFeatureGroupPropsMixin.FeatureDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.FeatureDefinitionProperty>
- Enclosing interface:
CfnFeatureGroupPropsMixin.FeatureDefinitionProperty
@Stability(Stable)
public static final class CfnFeatureGroupPropsMixin.FeatureDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.FeatureDefinitionProperty>
A builder for
CfnFeatureGroupPropsMixin.FeatureDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.featureName(String featureName) Sets the value ofCfnFeatureGroupPropsMixin.FeatureDefinitionProperty.getFeatureName()featureType(String featureType) Sets the value ofCfnFeatureGroupPropsMixin.FeatureDefinitionProperty.getFeatureType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
featureName
@Stability(Stable) public CfnFeatureGroupPropsMixin.FeatureDefinitionProperty.Builder featureName(String featureName) Sets the value ofCfnFeatureGroupPropsMixin.FeatureDefinitionProperty.getFeatureName()- Parameters:
featureName- The name of a feature. The type must be a string.FeatureNamecannot be any of the following:is_deleted,write_time,api_invocation_time.The name:
- Must start with an alphanumeric character.
- Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
- Returns:
this
-
featureType
@Stability(Stable) public CfnFeatureGroupPropsMixin.FeatureDefinitionProperty.Builder featureType(String featureType) Sets the value ofCfnFeatureGroupPropsMixin.FeatureDefinitionProperty.getFeatureType()- Parameters:
featureType- The value type of a feature. Valid values are Integral, Fractional, or String.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.FeatureDefinitionProperty>- Returns:
- a new instance of
CfnFeatureGroupPropsMixin.FeatureDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-