@Stability(value=Experimental) public static final class BackedDataSourceProps.Builder extends Object implements software.amazon.jsii.Builder<BackedDataSourceProps>
BackedDataSourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BackedDataSourceProps.Builder |
api(IGraphqlApi api)
Sets the value of
BaseDataSourceProps.getApi() |
BackedDataSourceProps |
build()
Builds the configured instance.
|
BackedDataSourceProps.Builder |
description(String description)
Sets the value of
BaseDataSourceProps.getDescription() |
BackedDataSourceProps.Builder |
name(String name)
Sets the value of
BaseDataSourceProps.getName() |
BackedDataSourceProps.Builder |
serviceRole(IRole serviceRole)
Sets the value of
BackedDataSourceProps.getServiceRole() |
@Stability(value=Experimental) public BackedDataSourceProps.Builder serviceRole(IRole serviceRole)
BackedDataSourceProps.getServiceRole()serviceRole - The IAM service role to be assumed by AppSync to interact with the data source.this@Stability(value=Experimental) public BackedDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()api - The API to attach this data source to. This parameter is required.this@Stability(value=Experimental) public BackedDataSourceProps.Builder description(String description)
BaseDataSourceProps.getDescription()description - the description of the data source.this@Stability(value=Experimental) public BackedDataSourceProps.Builder name(String name)
BaseDataSourceProps.getName()name - The name of the data source.this@Stability(value=Experimental) public BackedDataSourceProps build()
build in interface software.amazon.jsii.Builder<BackedDataSourceProps>BackedDataSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.