Java 类com.amazonaws.services.rds.AmazonRDSClientBuilder 实例源码

项目:cfnassist    文件:FacadeFactory.java   
private void createAmazonAPIClients() {
       cfnClient = AmazonCloudFormationClientBuilder.defaultClient();
       ec2Client = AmazonEC2ClientBuilder.defaultClient();
       snsClient = AmazonSNSClientBuilder.defaultClient();
       sqsClient = AmazonSQSClientBuilder.defaultClient();
       elbClient = AmazonElasticLoadBalancingClientBuilder.defaultClient();
       s3Client = AmazonS3ClientBuilder.defaultClient();
       rdsClient = AmazonRDSClientBuilder.defaultClient();
       iamClient = AmazonIdentityManagementClientBuilder.defaultClient();
}
项目:cfnassist    文件:EnvironmentSetupForTests.java   
public static AmazonRDS createRDSClient() {
       return AmazonRDSClientBuilder.defaultClient();
}
项目:candlestack    文件:RDSHostMonitorLookup.java   
public RDSHostMonitorLookup( Set<String> contactGroups ) throws CandlestackPropertiesException {

        this.contactGroups = contactGroups;

        dbInstancePrefix = GlobalAWSProperties.getRDSDBInstancePrefix();
        dbInstanceRegex = GlobalAWSProperties.getRDSDBInstanceRegex();

        newResourceMonitorDelayMillis = TimeUnit.MINUTES.toMillis( GlobalAWSProperties.getRDSNewResourceMonitorDelay() );

        cloudWatchMetrics = GlobalAWSProperties.getRDSCloudwatchMetricsToMonitor();

        rdsClient = AmazonRDSClientBuilder.standard().withRegion( GlobalAWSProperties.getRegion() ).build();

    }
项目:candlestack    文件:RDSMetricsFetcher.java   
public RDSMetricsFetcher() throws CandlestackException {
    super( RDSUtil.TYPE_NAME, GlobalAWSProperties.getRDSMetricsFetcherSleep() );

    dbInstancePrefix = GlobalAWSProperties.getRDSDBInstancePrefix();
    dbInstanceRegex = GlobalAWSProperties.getRDSDBInstanceRegex();

    cloudWatchMetrics = GlobalAWSProperties.getRDSCloudwatchMetricsToFetch();

    rdsClient = AmazonRDSClientBuilder.standard().withRegion( GlobalAWSProperties.getRegion() ).build();

    cloudWatchAccessor = CloudWatchAccessor.getInstance();
}