Class CfnSchemaProps.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnSchemaProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaProps>
- Enclosing interface:
CfnSchemaProps
@Stability(Stable)
public static final class CfnSchemaProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchemaProps>
A builder for
CfnSchemaProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSchemaProps.getDomain()Sets the value ofCfnSchemaProps.getName()Sets the value ofCfnSchemaProps.getSchema()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSchemaProps.getName()- Parameters:
name- The name of the schema. This parameter is required.- Returns:
this
-
schema
Sets the value ofCfnSchemaProps.getSchema()- Parameters:
schema- The schema. This parameter is required.- Returns:
this
-
domain
Sets the value ofCfnSchemaProps.getDomain()- Parameters:
domain- The domain of a schema that you created for a dataset in a Domain dataset group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaProps>- Returns:
- a new instance of
CfnSchemaProps - Throws:
NullPointerException- if any required attribute was not provided
-