com.atlassian.bamboo.agent.elastic.server
Interface ElasticImageConfiguration

All Superinterfaces:
BambooObject
All Known Implementing Classes:
ElasticImageConfigurationImpl

public interface ElasticImageConfiguration
extends BambooObject


Method Summary
 java.lang.String getAmiId()
          Get Elastic Instance Configuration's EC2 AMI id.
 java.lang.String getAvailabilityZone()
          Get Availability Zone for Elastic Instance Configuration.
 ImageCapabilitySet getCapabilitySet()
           
 java.lang.String getConfigurationDescription()
          Get Elastic Instance Configuration's description.
 java.lang.String getConfigurationName()
          Get Elastic Instance Configuration's name.
 java.lang.String getEbsSnapshotId()
          Get Elastic Instance Configuration's EBS snapshot id.
 com.atlassian.aws.ec2.EC2InstanceType getInstanceType()
          Get Elastic Instance Configuration type.
 boolean isEbsEnabled()
          Get Elastic Instance Configuration's EBS status.
 boolean isShippedWithBamboo()
          Is set for default configuration.
 void setAmiId(java.lang.String amiId)
          Set the Elastic Instance Configuration's EC2 AMI id (image)
 void setAvailabilityZone(java.lang.String zone)
          Set Availability Zone for Elastic Instance Configuration.
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Method Detail

getConfigurationName

java.lang.String getConfigurationName()
Get Elastic Instance Configuration's name.

Returns:
Elastic Instance Configuration's name

getConfigurationDescription

java.lang.String getConfigurationDescription()
Get Elastic Instance Configuration's description.

Returns:
Elastic Instance Configuration's description

getAmiId

java.lang.String getAmiId()
Get Elastic Instance Configuration's EC2 AMI id.

Returns:
Elastic Instance Configuration's EC2 AMI id

setAmiId

void setAmiId(java.lang.String amiId)
Set the Elastic Instance Configuration's EC2 AMI id (image)

Parameters:
amiId - - Elastic Instance Configuration's EC2 AMI id

isEbsEnabled

boolean isEbsEnabled()
Get Elastic Instance Configuration's EBS status.

Returns:
Elastic Instance Configuration's EBS status

getEbsSnapshotId

java.lang.String getEbsSnapshotId()
Get Elastic Instance Configuration's EBS snapshot id.

Returns:
Elastic Instance Configuration's EBS snapshot id

getInstanceType

com.atlassian.aws.ec2.EC2InstanceType getInstanceType()
Get Elastic Instance Configuration type.

Returns:
Elastic Instance Configuration type

getAvailabilityZone

@Nullable
java.lang.String getAvailabilityZone()
Get Availability Zone for Elastic Instance Configuration.

Returns:
Name of Availability Zone

setAvailabilityZone

void setAvailabilityZone(java.lang.String zone)
Set Availability Zone for Elastic Instance Configuration.

Parameters:
zone - Name of Availability Zone to be setup.

getCapabilitySet

@NotNull
ImageCapabilitySet getCapabilitySet()
Returns:
Capability Set associated with this Elastic Instance Configuration

isShippedWithBamboo

boolean isShippedWithBamboo()
Is set for default configuration. Currently it is configuration shipped with Bamboo

Returns:
True if configuration is marked as "shipped with Bamboo"


Copyright © 2010 Atlassian. All Rights Reserved.