@Immutable @Loggable(value=1) public static final class Credentials.Direct extends Object implements Credentials
Credentials.Assumed, Credentials.Direct, Credentials.Simple
TEST
Constructor and Description |
---|
Credentials.Direct(Credentials creds,
int port)
Public ctor.
|
Credentials.Direct(Credentials creds,
String pnt)
Public ctor.
|
public Credentials.Direct(@NotNull(message="creds can\'t be NULL") Credentials creds, @NotNull(message="endpoint can\'t be NULL") String pnt)
creds
- Original credentialspnt
- Endpointpublic Credentials.Direct(@NotNull(message="creds can\'t be NULL") Credentials creds, int port)
creds
- Original credentialsport
- Port number for localhost@NotNull(message="AWS client is never NULL") public com.amazonaws.services.dynamodbv2.AmazonDynamoDB aws()
Credentials
Don't forget to shut it down after use,
using AmazonDynamoDB.shutdown()
.
aws
in interface Credentials
Copyright © 2012–2014 jcabi.com. All rights reserved.