Class CfnSchema.Builder

java.lang.Object
software.amazon.awscdk.services.personalize.CfnSchema.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchema>
Enclosing class:
CfnSchema

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

    • create

      @Stability(Stable) public static CfnSchema.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSchema.Builder.
    • name

      @Stability(Stable) public CfnSchema.Builder name(String name)
      The name of the schema.

      Parameters:
      name - The name of the schema. This parameter is required.
      Returns:
      this
    • schema

      @Stability(Stable) public CfnSchema.Builder schema(String schema)
      The schema.

      Parameters:
      schema - The schema. This parameter is required.
      Returns:
      this
    • domain

      @Stability(Stable) public CfnSchema.Builder domain(String domain)
      The domain of a schema that you created for a dataset in a Domain dataset group.

      Parameters:
      domain - The domain of a schema that you created for a dataset in a Domain dataset group. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSchema build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSchema>
      Returns:
      a newly built instance of CfnSchema.