Package com.jcabi.dynamo
Class Credentials.Direct
- java.lang.Object
-
- com.jcabi.dynamo.Credentials.Direct
-
- All Implemented Interfaces:
Credentials
- Enclosing interface:
- Credentials
@Immutable @Loggable(1) public static final class Credentials.Direct extends Object implements Credentials
With explicitly specified endpoint.- Since:
- 0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.dynamo.Credentials
Credentials.Assumed, Credentials.Direct, Credentials.Simple
-
-
Field Summary
-
Fields inherited from interface com.jcabi.dynamo.Credentials
TEST
-
-
Constructor Summary
Constructors Constructor Description Direct(Credentials.Simple creds, int port)
Public ctor.Direct(Credentials.Simple creds, String pnt)
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.dynamodbv2.AmazonDynamoDB
aws()
Build AWS client.String
toString()
-
-
-
Constructor Detail
-
Direct
public Direct(Credentials.Simple creds, String pnt)
Public ctor.- Parameters:
creds
- Original credentialspnt
- Endpoint
-
Direct
public Direct(Credentials.Simple creds, int port)
Public ctor.- Parameters:
creds
- Original credentialsport
- Port number for localhost
-
-
Method Detail
-
aws
public com.amazonaws.services.dynamodbv2.AmazonDynamoDB aws()
Description copied from interface:Credentials
Build AWS client.Don't forget to shut it down after use, using
AmazonDynamoDB.shutdown()
.- Specified by:
aws
in interfaceCredentials
- Returns:
- Amazon Dynamo DB client
-
-