@Stability(value=Stable) public static final class CfnGraphQLSchemaProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGraphQLSchemaProps>
CfnGraphQLSchemaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGraphQLSchemaProps.Builder |
apiId(String apiId)
Sets the value of
CfnGraphQLSchemaProps.getApiId() |
CfnGraphQLSchemaProps |
build()
Builds the configured instance.
|
CfnGraphQLSchemaProps.Builder |
definition(String definition)
Sets the value of
CfnGraphQLSchemaProps.getDefinition() |
CfnGraphQLSchemaProps.Builder |
definitionS3Location(String definitionS3Location)
Sets the value of
CfnGraphQLSchemaProps.getDefinitionS3Location() |
@Stability(value=Stable) public CfnGraphQLSchemaProps.Builder apiId(String apiId)
CfnGraphQLSchemaProps.getApiId()apiId - The AWS AppSync GraphQL API identifier to which you want to apply this schema. This parameter is required.this@Stability(value=Stable) public CfnGraphQLSchemaProps.Builder definition(String definition)
CfnGraphQLSchemaProps.getDefinition()definition - The text representation of a GraphQL schema in SDL format.
For more information about using the Ref function, see Ref .this@Stability(value=Stable) public CfnGraphQLSchemaProps.Builder definitionS3Location(String definitionS3Location)
CfnGraphQLSchemaProps.getDefinitionS3Location()definitionS3Location - The location of a GraphQL schema file in an Amazon S3 bucket.
Use this if you want to provision with the schema living in Amazon S3 rather than embedding it in your CloudFormation template.this@Stability(value=Stable) public CfnGraphQLSchemaProps build()
build in interface software.amazon.jsii.Builder<CfnGraphQLSchemaProps>CfnGraphQLSchemaPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.