Interface SchemaOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SchemaOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.575Z")
@Stability(Experimental)
public interface SchemaOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) The options for configuring a schema.
If no options are specified, then the schema will be generated code-first.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appsync.*; SchemaOptions schemaOptions = SchemaOptions.builder() .filePath("filePath") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSchemaOptions
static final class
An implementation forSchemaOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaOptions.Builder
builder()
default String
(experimental) The file path for the schema.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilePath
(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
-
builder
- Returns:
- a
SchemaOptions.Builder
ofSchemaOptions
-