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 Summary
Modifier and TypeMethodDescriptionbuild()
static SchemaFile.Builder
create()
The file path for the schema.
-
Method Details
-
create
- Returns:
- a new instance of
SchemaFile.Builder
.
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SchemaFile>
- Returns:
- a newly built instance of
SchemaFile
.
-