|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.agent.elastic.aws.AwsAccountBeanImpl
@ThreadSafe public class AwsAccountBeanImpl
Constructor Summary | |
---|---|
AwsAccountBeanImpl(ElasticAccountBean elasticAccountBean,
com.atlassian.aws.AWSManager awsManager)
|
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 price list is cached and refreshed not more often than MAXIMUM_SPOT_PRICES_AGE. |
java.lang.Class[] |
getHandledEventClasses()
|
void |
handleEvent(com.atlassian.event.Event event)
|
void |
setMaximumEbsVolumeStatusAgeSeconds(int maximumStatusAge)
|
void |
setMaximumInstanceStatusAgeSeconds(int maximumStatusAge)
|
void |
setMaximumSpotRequestStatusAgeSeconds(int maximumStatusAge)
|
boolean |
validateAccountDetails(java.lang.String awsAccessID,
java.lang.String awsSecretKey)
Checks whether a basic command can be run using the supplied credenials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwsAccountBeanImpl(ElasticAccountBean elasticAccountBean, com.atlassian.aws.AWSManager awsManager)
Method Detail |
---|
@NotNull public com.atlassian.aws.AWSAccount getAwsAccount() throws com.atlassian.aws.AWSException
AwsAccountBean
getAwsAccount
in interface AwsAccountBean
com.atlassian.aws.AWSException
@NotNull public java.util.Map<java.lang.String,com.atlassian.aws.ec2.EC2AvailabilityZone> getAvailabilityZones() throws com.atlassian.aws.AWSException
AwsAccountBean
getAvailabilityZones
in interface AwsAccountBean
com.atlassian.aws.AWSException
public boolean validateAccountDetails(java.lang.String awsAccessID, java.lang.String awsSecretKey) throws com.atlassian.aws.AWSException
AwsAccountBean
validateAccountDetails
in interface AwsAccountBean
com.atlassian.aws.AWSException
- if a connection error occurred (not that the credentials were correct or incorrect)public void handleEvent(com.atlassian.event.Event event)
handleEvent
in interface com.atlassian.event.EventListener
public java.lang.Class[] getHandledEventClasses()
getHandledEventClasses
in interface com.atlassian.event.EventListener
@NotNull public com.atlassian.aws.ec2.SpotPriceMatrix getCurrentSpotPrices()
getCurrentSpotPrices
in interface AwsAccountBean
public void setMaximumEbsVolumeStatusAgeSeconds(int maximumStatusAge)
public void setMaximumInstanceStatusAgeSeconds(int maximumStatusAge)
public void setMaximumSpotRequestStatusAgeSeconds(int maximumStatusAge)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |