public class DynamoDBURL extends SourceURL
Example:
dynamodb://us-west-2/config?hash_key_name=tid&hash_key_value=123&attribute=props
| Constructor and Description |
|---|
DynamoDBURL(URI uri)
Creates a new DynamoDB URL from the specified URI.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Returns the name of the attribute containing the resource.
|
String |
getEndpoint()
Returns the DynamoDB endpoint.
|
com.amazonaws.services.dynamodbv2.document.PrimaryKey |
getPrimaryKey()
Returns the primary key consisting of hash key and optional range
key.
|
com.amazonaws.regions.Regions |
getRegion()
Returns the AWS region.
|
String |
getTableName()
Returns the DynamoDB table name.
|
public DynamoDBURL(URI uri)
uri - The URI.public com.amazonaws.regions.Regions getRegion()
null if an getEndpoint() is
specified instead.public String getEndpoint()
null if a
getRegion() is specified instead.public String getTableName()
public com.amazonaws.services.dynamodbv2.document.PrimaryKey getPrimaryKey()
public String getAttributeName()
Copyright © 2021 Connect2id Ltd.. All rights reserved.