Class Schema.Builder

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

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

    • create

      @Stability(Experimental) public static Schema.Builder create()
      Returns:
      a new instance of Schema.Builder.
    • filePath

      @Stability(Experimental) public Schema.Builder filePath(String filePath)
      (experimental) The file path for the schema.

      When this option is configured, then the schema will be generated from an existing file from disk.

      Default: - schema not configured through disk asset

      Parameters:
      filePath - The file path for the schema. This parameter is required.
      Returns:
      this
    • build

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