/** * Construct an asynchronous implementation of AmazonDynamoDBAsync using the current builder configuration. * * @param params * Current builder configuration represented as a parameter object. * @return Fully configured implementation of AmazonDynamoDBAsync. */ @Override protected AmazonDynamoDBAsync build(AwsAsyncClientParams params) { return new AmazonDynamoDBAsyncClient(params); }
/** * Normal invoke with authentication. Credentials are required and may be overriden at the request level. **/ private <X, Y extends AmazonWebServiceRequest> Response<X> invoke(Request<Y> request, HttpResponseHandler<AmazonWebServiceResponse<X>> responseHandler, ExecutionContext executionContext) { return invoke(request, responseHandler, executionContext, null, null); }
/** * Invoke with no authentication. Credentials are not required and any credentials set on the client or request will * be ignored for this operation. **/ private <X, Y extends AmazonWebServiceRequest> Response<X> anonymousInvoke(Request<Y> request, HttpResponseHandler<AmazonWebServiceResponse<X>> responseHandler, ExecutionContext executionContext) { return doInvoke(request, responseHandler, executionContext, null, null); }
/** * Construct a synchronous implementation of AmazonDynamoDB using the current builder configuration. * * @param params * Current builder configuration represented as a parameter object. * @return Fully configured implementation of AmazonDynamoDB. */ @Override protected AmazonDynamoDB build(AwsSyncClientParams params) { if (endpointDiscoveryEnabled() && getEndpoint() == null) { return new AmazonDynamoDBClient(params, true); } return new AmazonDynamoDBClient(params); }
/** * Shuts down and release all resources. */ public void shutdown() { client.shutdown(); } }
/** * Deletes the table from DynamoDB. Involves network calls. */ public DeleteTableResult delete() { return client.deleteTable(tableName); }
/** * Construct a synchronous implementation of AmazonDynamoDBStreams using the current builder configuration. * * @param params * Current builder configuration represented as a parameter object. * @return Fully configured implementation of AmazonDynamoDBStreams. */ @Override protected AmazonDynamoDBStreams build(AwsSyncClientParams params) { return new AmazonDynamoDBStreamsClient(params); }
/** * @return Create new instance of builder with all defaults set. */ public static AmazonDynamoDBClientBuilder standard() { return new AmazonDynamoDBClientBuilder(); }
/** * Normal invoke with authentication. Credentials are required and may be overriden at the request level. **/ private <X, Y extends AmazonWebServiceRequest> Response<X> invoke(Request<Y> request, HttpResponseHandler<AmazonWebServiceResponse<X>> responseHandler, ExecutionContext executionContext) { return invoke(request, responseHandler, executionContext, null, null); }
/** * Invoke with no authentication. Credentials are not required and any credentials set on the client or request will * be ignored for this operation. **/ private <X, Y extends AmazonWebServiceRequest> Response<X> anonymousInvoke(Request<Y> request, HttpResponseHandler<AmazonWebServiceResponse<X>> responseHandler, ExecutionContext executionContext) { return doInvoke(request, responseHandler, executionContext, null, null); }
/** * @return Create new instance of builder with all defaults set. */ public static AmazonDynamoDBStreamsAsyncClientBuilder standard() { return new AmazonDynamoDBStreamsAsyncClientBuilder(); }
/** * Construct an asynchronous implementation of AmazonDynamoDBStreamsAsync using the current builder configuration. * * @param params * Current builder configuration represented as a parameter object. * @return Fully configured implementation of AmazonDynamoDBStreamsAsync. */ @Override protected AmazonDynamoDBStreamsAsync build(AwsAsyncClientParams params) { return new AmazonDynamoDBStreamsAsyncClient(params); }
/** * @return Create new instance of builder with all defaults set. */ public static AmazonDynamoDBAsyncClientBuilder standard() { return new AmazonDynamoDBAsyncClientBuilder(); }
/** * @return Create new instance of builder with all defaults set. */ public static AmazonDynamoDBStreamsClientBuilder standard() { return new AmazonDynamoDBStreamsClientBuilder(); }
@Override public java.util.concurrent.Future<CreateGlobalTableResult> createGlobalTableAsync(CreateGlobalTableRequest request) { return createGlobalTableAsync(request, null); }
@Override public java.util.concurrent.Future<UpdateGlobalTableSettingsResult> updateGlobalTableSettingsAsync(UpdateGlobalTableSettingsRequest request) { return updateGlobalTableSettingsAsync(request, null); }