我不知道如何只访问java中的rds保留实例数据。任何人都可以提供,以便我可以访问rds保留的实例数据。
谢谢
答案 0 :(得分:0)
请尝试这个
AmazonRDS client = new AmazonRDSClient();
DescribeReservedDBInstancesRequest request = new DescribeReservedDBInstancesRequest()
.withDBInstanceClass("db.t2.micro").withDuration("1y")
.withMultiAZ(false).withOfferingType("No Upfront")
.withProductDescription("mysql");
DescribeReservedDBInstancesResult response = client
.describeReservedDBInstances(request);
您可以在此链接中阅读其他方法 http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/rds/AmazonRDSClient.html