Class ConfigureElasticImageConfiguration

    • Constructor Detail

      • ConfigureElasticImageConfiguration

        public ConfigureElasticImageConfiguration()
    • Method Detail

      • prepare

        public void prepare()
                     throws Exception
        Specified by:
        prepare in interface com.opensymphony.xwork2.Preparable
        Throws:
        Exception
      • disable

        public String disable()
      • enable

        public String enable()
      • delete

        public String delete()
      • validate

        public void validate()
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • getAgentCountForImage

        public int getAgentCountForImage​(long id)
      • getBuildCountForImage

        public int getBuildCountForImage​(long id)
      • getAvailableInstanceTypes

        public Collection<com.atlassian.aws.ec2.EC2InstanceType> getAvailableInstanceTypes()
      • getAvailabilityZones

        @NotNull
        public @NotNull TreeMap<String,​com.amazonaws.services.ec2.model.AvailabilityZone> getAvailabilityZones()
      • getDeploymentProject

        public DeploymentProject getDeploymentProject​(long deploymentProjectId)
      • getSubnetMap

        public Map<String,​String> getSubnetMap()
        Returns:
        map of Subnet name string as key and subnetId string as value
      • getProducts

        public Collection<String> getProducts()
        Get information on product names from SpotPriceMatrix
        Returns:
        Collection of product names
      • isVpcEnabled

        public boolean isVpcEnabled()
      • setVpcEnabled

        public void setVpcEnabled​(boolean value)
      • getConfigurationId

        public long getConfigurationId()
      • setConfigurationId

        public void setConfigurationId​(long configurationId)
      • setConfirmDelete

        public void setConfirmDelete​(boolean confirmDelete)
      • setConfirmDisable

        public void setConfirmDisable​(boolean confirmDisable)
      • getConfigurationName

        public String getConfigurationName()
      • setConfigurationName

        public void setConfigurationName​(String configurationName)
      • getConfigurationDescription

        public String getConfigurationDescription()
      • setConfigurationDescription

        public void setConfigurationDescription​(String configurationDescription)
      • getAmiId

        public String getAmiId()
      • setAmiId

        public void setAmiId​(String amiId)
      • getRootFsSizeOverride

        public Integer getRootFsSizeOverride()
      • setRootFsSizeOverride

        public void setRootFsSizeOverride​(Integer rootFsSizeOverride)
      • isEbsEnabled

        public boolean isEbsEnabled()
      • setEbsEnabled

        public void setEbsEnabled​(boolean ebsEnabled)
      • isPerSecondBillingEnabled

        public boolean isPerSecondBillingEnabled()
      • setPerSecondBillingEnabled

        public void setPerSecondBillingEnabled​(boolean value)
      • getEbsSnapshotId

        public String getEbsSnapshotId()
      • setEbsSnapshotId

        public void setEbsSnapshotId​(String ebsSnapshotId)
      • isLegacyEbsHandlingEnabled

        public boolean isLegacyEbsHandlingEnabled()
      • setLegacyEbsHandlingEnabled

        public void setLegacyEbsHandlingEnabled​(boolean useLegacyEbsHandling)
      • setInstanceTypes

        public void setInstanceTypes​(Collection<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
      • getAvailabilityZone

        public String getAvailabilityZone()
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)
      • getStartupScript

        public String getStartupScript()
      • setStartupScript

        public void setStartupScript​(String startupScript)
      • getMode

        public String getMode()
      • setMode

        public void setMode​(String mode)
      • getProduct

        public String getProduct()
      • setProduct

        public void setProduct​(String product)
      • getDefaultAvailabilityZone

        public String getDefaultAvailabilityZone()
      • getIamInstanceProfile

        public String getIamInstanceProfile()
      • setIamInstanceProfile

        public void setIamInstanceProfile​(String iamInstanceProfile)
      • isEbsOptimised

        public boolean isEbsOptimised()
      • setEbsOptimised

        public void setEbsOptimised​(boolean value)