List of usage examples for com.amazonaws.services.ec2.model DescribeAccountAttributesResult getAccountAttributes
public java.util.List<AccountAttribute> getAccountAttributes()
Information about the account attributes.
From source file:de.zalando.awsqueen.awqaccinfo.AccinfoCLI.java
License:Open Source License
@Override public void run(String... strings) throws Exception { AmazonEC2Client amazonEC2Client = new AmazonEC2Client(); DescribeAccountAttributesResult describeAccountAttributesResult = amazonEC2Client .describeAccountAttributes(); List<AccountAttribute> accountAttributes = describeAccountAttributesResult.getAccountAttributes(); //System.out.println(accountAttributes.toString()); for (AccountAttribute accountAttribute : accountAttributes) { System.out.println(accountAttribute); }// w ww . j a v a 2 s . c o m }