Class CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecommenderSchema.RecommenderSchemaFieldProperty>
- Enclosing interface:
CfnRecommenderSchema.RecommenderSchemaFieldProperty
@Stability(Stable)
public static final class CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecommenderSchema.RecommenderSchemaFieldProperty>
A builder for
CfnRecommenderSchema.RecommenderSchemaFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(String contentType) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getContentType()featureType(String featureType) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getFeatureType()targetFieldName(String targetFieldName) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getTargetFieldName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetFieldName
@Stability(Stable) public CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder targetFieldName(String targetFieldName) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getTargetFieldName()- Parameters:
targetFieldName- the value to be set. This parameter is required.- Returns:
this
-
contentType
@Stability(Stable) public CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder contentType(String contentType) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getContentType()- Parameters:
contentType- the value to be set.- Returns:
this
-
featureType
@Stability(Stable) public CfnRecommenderSchema.RecommenderSchemaFieldProperty.Builder featureType(String featureType) Sets the value ofCfnRecommenderSchema.RecommenderSchemaFieldProperty.getFeatureType()- Parameters:
featureType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecommenderSchema.RecommenderSchemaFieldProperty>- Returns:
- a new instance of
CfnRecommenderSchema.RecommenderSchemaFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-