Class SchemaOptions.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • filePath

      @Stability(Experimental) public SchemaOptions.Builder filePath(String filePath)
      Sets the value of SchemaOptions.getFilePath()
      Parameters:
      filePath - The file path for the schema. When this option is configured, then the schema will be generated from an existing file from disk.
      Returns:
      this
    • build

      @Stability(Experimental) public SchemaOptions build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<SchemaOptions>
      Returns:
      a new instance of SchemaOptions
      Throws:
      NullPointerException - if any required attribute was not provided