Java 类com.amazonaws.services.ec2.model.DescribeNatGatewaysResult 实例源码

项目:elasticsearch_my    文件:AmazonEC2Mock.java   
@Override
public DescribeNatGatewaysResult describeNatGateways(DescribeNatGatewaysRequest describeNatGatewaysRequest) {
    throw new UnsupportedOperationException("Not supported in mock");
}
项目:cmn-project    文件:EC2VPC.java   
private NatGateway describeNATGateway(String gatewayId) {
    DescribeNatGatewaysResult result = ec2.describeNatGateways(new DescribeNatGatewaysRequest().withNatGatewayIds(gatewayId));
    return result.getNatGateways().get(0);
}