Package com.amazonaws.regions

Examples of com.amazonaws.regions.Region


        this(recordProcessorFactory, config, kinesisClient, dynamoDBClient, new CWMetricsFactory(cloudWatchClient,
                config.getApplicationName(),
                config.getMetricsBufferTimeMillis(),
                config.getMetricsMaxQueueSize()), execService);
        if (config.getRegionName() != null) {
            Region region = RegionUtils.getRegion(config.getRegionName());
            cloudWatchClient.setRegion(region);
            LOG.debug("The region of Amazon CloudWatch client has been set to " + config.getRegionName());
        }
    }
View Full Code Here


                        config.getFailoverTimeMillis(),
                        config.getEpsilonMillis(),
                        metricsFactory), metricsFactory, execService);
        // If a region name was explicitly specified, use it as the region for Amazon Kinesis and Amazon DynamoDB.
        if (config.getRegionName() != null) {
            Region region = RegionUtils.getRegion(config.getRegionName());
            kinesisClient.setRegion(region);
            LOG.debug("The region of Amazon Kinesis client has been set to " + config.getRegionName());
            dynamoDBClient.setRegion(region);
            LOG.debug("The region of Amazon DynamoDB client has been set to " + config.getRegionName());
        }
View Full Code Here

TOP

Related Classes of com.amazonaws.regions.Region

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.