@Stability(value=Experimental) public static final class GraphqlApiProps.Builder extends Object implements software.amazon.jsii.Builder<GraphqlApiProps>
GraphqlApiProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GraphqlApiProps.Builder |
authorizationConfig(AuthorizationConfig authorizationConfig)
Sets the value of
GraphqlApiProps.getAuthorizationConfig() |
GraphqlApiProps |
build()
Builds the configured instance.
|
GraphqlApiProps.Builder |
domainName(DomainOptions domainName)
Sets the value of
GraphqlApiProps.getDomainName() |
GraphqlApiProps.Builder |
logConfig(LogConfig logConfig)
Sets the value of
GraphqlApiProps.getLogConfig() |
GraphqlApiProps.Builder |
name(String name)
Sets the value of
GraphqlApiProps.getName() |
GraphqlApiProps.Builder |
schema(Schema schema)
Sets the value of
GraphqlApiProps.getSchema() |
GraphqlApiProps.Builder |
xrayEnabled(Boolean xrayEnabled)
Sets the value of
GraphqlApiProps.getXrayEnabled() |
@Stability(value=Experimental) public GraphqlApiProps.Builder name(String name)
GraphqlApiProps.getName()name - the name of the GraphQL API. This parameter is required.this@Stability(value=Experimental) public GraphqlApiProps.Builder authorizationConfig(AuthorizationConfig authorizationConfig)
GraphqlApiProps.getAuthorizationConfig()authorizationConfig - Optional authorization configuration.this@Stability(value=Experimental) public GraphqlApiProps.Builder domainName(DomainOptions domainName)
GraphqlApiProps.getDomainName()domainName - The domain name configuration for the GraphQL API.
The Route 53 hosted zone and CName DNS record must be configured in addition to this setting to
enable custom domain URLthis@Stability(value=Experimental) public GraphqlApiProps.Builder logConfig(LogConfig logConfig)
GraphqlApiProps.getLogConfig()logConfig - Logging configuration for this api.this@Stability(value=Experimental) public GraphqlApiProps.Builder schema(Schema schema)
GraphqlApiProps.getSchema()schema - GraphQL schema definition. Specify how you want to define your schema.
Schema.fromFile(filePath: string) allows schema definition through schema.graphql filethis@Stability(value=Experimental) public GraphqlApiProps.Builder xrayEnabled(Boolean xrayEnabled)
GraphqlApiProps.getXrayEnabled()xrayEnabled - A flag indicating whether or not X-Ray tracing is enabled for the GraphQL API.this@Stability(value=Experimental) public GraphqlApiProps build()
build in interface software.amazon.jsii.Builder<GraphqlApiProps>GraphqlApiPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.