public static interface Schema.Builder
Modifier and Type | Method and Description |
---|---|
Schema |
build() |
Schema.Builder |
withCredProvider(CredProvider credProvider) |
Schema.Builder |
withEndpoint(URI endpoint)
URI format:
DynamoDB (always connects over SSL):
ddb://<region|endpoint>/
MySQL (always connects over SSL):
mysql://<host>:<port>/
|
Schema.Builder |
withProxy(URI proxyEndpoint) |
Schema.Builder |
withTableNameFormat(String tableNameFormatStr) |
Schema.Builder withEndpoint(URI endpoint)
endpoint
- is the endpoint to use.Schema.Builder withCredProvider(CredProvider credProvider)
credProvider
- is used to obtain the DB username and
password (or key id and secret key).Schema.Builder withProxy(URI proxyEndpoint)
proxyEndpoint
- is the HTTP proxy to use, or null if no proxy is needed.Schema.Builder withTableNameFormat(String tableNameFormatStr)
tableNameFormatStr
- is use to add a table name prefix or suffix.
This string is passed as the first argument to String.format().Schema build()
Copyright © 2018. All rights reserved.