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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSchemaOptions.getFilePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filePath
Sets the value ofSchemaOptions.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SchemaOptions>- Returns:
- a new instance of
SchemaOptions - Throws:
NullPointerException- if any required attribute was not provided
-