|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface AwsAccountBean
Bean the encapsulates the Amazon Web Services account. Provides possibility for caching.
Method Summary | |
---|---|
java.util.Map<java.lang.String,com.atlassian.aws.ec2.EC2AvailabilityZone> |
getAvailabilityZones()
Returns a list of availability zones and their status. |
com.atlassian.aws.AWSAccount |
getAwsAccount()
Returns an AWSAccount object that you can access certain services on |
com.atlassian.aws.ec2.SpotPriceMatrix |
getCurrentSpotPrices()
This method gives access to the spot price list. |
boolean |
validateAccountDetails(java.lang.String awsAccessID,
java.lang.String awsSecretKey)
Checks whether a basic command can be run using the supplied credenials |
Method Detail |
---|
@NotNull com.atlassian.aws.AWSAccount getAwsAccount() throws com.atlassian.aws.AWSException
com.atlassian.aws.AWSException
@NotNull java.util.Map<java.lang.String,com.atlassian.aws.ec2.EC2AvailabilityZone> getAvailabilityZones() throws com.atlassian.aws.AWSException
com.atlassian.aws.AWSException
boolean validateAccountDetails(java.lang.String awsAccessID, java.lang.String awsSecretKey) throws com.atlassian.aws.AWSException
awsAccessID
- awsSecretKey
-
com.atlassian.aws.AWSException
- if a connection error occurred (not that the credentials were correct or incorrect)@NotNull com.atlassian.aws.ec2.SpotPriceMatrix getCurrentSpotPrices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |