@Stability(value=Experimental) public static final class DynamoDbDataSourceProps.Builder extends Object implements software.amazon.jsii.Builder<DynamoDbDataSourceProps>
DynamoDbDataSourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DynamoDbDataSourceProps.Builder |
api(IGraphqlApi api)
Sets the value of
BaseDataSourceProps.getApi() |
DynamoDbDataSourceProps |
build()
Builds the configured instance.
|
DynamoDbDataSourceProps.Builder |
description(String description)
Sets the value of
BaseDataSourceProps.getDescription() |
DynamoDbDataSourceProps.Builder |
name(String name)
Sets the value of
BaseDataSourceProps.getName() |
DynamoDbDataSourceProps.Builder |
readOnlyAccess(Boolean readOnlyAccess)
Sets the value of
DynamoDbDataSourceProps.getReadOnlyAccess() |
DynamoDbDataSourceProps.Builder |
serviceRole(IRole serviceRole)
Sets the value of
BackedDataSourceProps.getServiceRole() |
DynamoDbDataSourceProps.Builder |
table(ITable table)
Sets the value of
DynamoDbDataSourceProps.getTable() |
DynamoDbDataSourceProps.Builder |
useCallerCredentials(Boolean useCallerCredentials)
Sets the value of
DynamoDbDataSourceProps.getUseCallerCredentials() |
@Stability(value=Experimental) public DynamoDbDataSourceProps.Builder table(ITable table)
DynamoDbDataSourceProps.getTable()table - The DynamoDB table backing this data source. This parameter is required.this@Stability(value=Experimental) public DynamoDbDataSourceProps.Builder readOnlyAccess(Boolean readOnlyAccess)
DynamoDbDataSourceProps.getReadOnlyAccess()readOnlyAccess - Specify whether this DS is read only or has read and write permissions to the DynamoDB table.this@Stability(value=Experimental) public DynamoDbDataSourceProps.Builder useCallerCredentials(Boolean useCallerCredentials)
DynamoDbDataSourceProps.getUseCallerCredentials()useCallerCredentials - use credentials of caller to access DynamoDB.this@Stability(value=Experimental) public DynamoDbDataSourceProps.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 DynamoDbDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()api - The API to attach this data source to. This parameter is required.this@Stability(value=Experimental) public DynamoDbDataSourceProps.Builder description(String description)
BaseDataSourceProps.getDescription()description - the description of the data source.this@Stability(value=Experimental) public DynamoDbDataSourceProps.Builder name(String name)
BaseDataSourceProps.getName()name - The name of the data source.this@Stability(value=Experimental) public DynamoDbDataSourceProps build()
build in interface software.amazon.jsii.Builder<DynamoDbDataSourceProps>DynamoDbDataSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.