Class SchemaFile.Builder

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

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

    • create

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

      @Stability(Stable) public SchemaFile.Builder filePath(String filePath)
      The file path for the schema.

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

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

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