Interface ElasticImageConfiguration

    • Method Detail

      • getConfigurationName

        String getConfigurationName()
        Get Elastic Instance Configuration's name.
        Returns:
        Elastic Instance Configuration's name
      • setConfigurationName

        void setConfigurationName​(String configurationName)
      • getConfigurationDescription

        String getConfigurationDescription()
        Get Elastic Instance Configuration's description.
        Returns:
        Elastic Instance Configuration's description
      • setConfigurationDescription

        void setConfigurationDescription​(String configurationDescription)
      • getAmiId

        String getAmiId()
        Get Elastic Instance Configuration's EC2 AMI id.
        Returns:
        Elastic Instance Configuration's EC2 AMI id
      • setAmiId

        void setAmiId​(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

        @Nullable
        @Nullable String getEbsSnapshotId()
        Get Elastic Instance Configuration's EBS snapshot id.
        Returns:
        Elastic Instance Configuration's EBS snapshot id
      • getInstanceType

        @NotNull
        @Deprecated
        @NotNull com.atlassian.aws.ec2.EC2InstanceType getInstanceType()
        Deprecated.
        since 5.11 use getInstanceTypes() instead
        Get Elastic Instance Configuration type.
        Returns:
        Elastic Instance Configuration type
      • getInstanceTypes

        @NotNull
        @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> getInstanceTypes()
      • setInstanceTypes

        void setInstanceTypes​(@NotNull
                              @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceType)
      • getAvailabilityZones

        @NotNull
        @NotNull Collection<String> getAvailabilityZones()
        Get Availability Zone for Elastic Instance Configuration.
        Returns:
        Name of Availability Zone
      • setAvailabilityZone

        @Deprecated
        void setAvailabilityZone​(@Nullable
                                 @Nullable String zone)
        Deprecated.
        Set Availability Zone for Elastic Instance Configuration.
        Parameters:
        zone - Name of Availability Zone to be setup. null if the default zone should be used
      • setAvailabilityZones

        void setAvailabilityZones​(Iterable<com.atlassian.aws.ec2.model.AvailabilityZoneId> availabilityZones)
      • isDisabled

        boolean isDisabled()
        Returns:
        returns whether the Elastic Configuration is disabled
      • setDisabled

        void setDisabled​(boolean disabled)
        Set Disabled field for Elastic Instance Configuration
        Parameters:
        disabled -
      • getCapabilitySet

        @NotNull
        @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"
      • setShippedWithBamboo

        void setShippedWithBamboo​(boolean shippedWithBamboo)
      • getProduct

        @NotNull
        @NotNull String getProduct()
        Returns:
        the EC2 product used to launch this image (e.g. "Linux/UNIX", "Windows", "SUSE Linux"
      • setProduct

        void setProduct​(String product)
      • getRegion

        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()
        Get Region for which the image configuration is defined.
        Returns:
      • setRegion

        void setRegion​(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
      • getArchitecture

        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture getArchitecture()
        Get image architecture
        Returns:
      • setArchitecture

        void setArchitecture​(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architecture)
      • getPlatform

        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform getPlatform()
        Get image platform
        Returns:
      • setPlatform

        void setPlatform​(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform)
      • getRootDeviceType

        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType getRootDeviceType()
        Returns:
        root device type for image
      • setRootDeviceType

        void setRootDeviceType​(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType)
      • getStartupScripts

        @NotNull
        @NotNull List<Script> getStartupScripts()
      • setStartupScripts

        void setStartupScripts​(@NotNull
                               @NotNull List<Script> startupScripts)
      • setSubnetIds

        void setSubnetIds​(@NotNull
                          @NotNull Iterable<String> subnetIds)
        Subnet ids in the "subnet-xxxxx" format
      • setImageFilesVersion

        void setImageFilesVersion​(@Nullable
                                  @Nullable String imageFilesLevel)
      • getImageFilesVersion

        @Nullable
        @Nullable String getImageFilesVersion()
      • isDedicated

        @Deprecated
        boolean isDedicated()
        Deprecated.
        without replacement; this is temporary solution
        Returns:
        true iff this configuration is assigned to specific jobs
        Since:
        5.0
      • getOsName

        String getOsName()
      • setOsName

        void setOsName​(String osName)
      • isLegacyEbsHandlingEnabled

        boolean isLegacyEbsHandlingEnabled()
      • setVirtualisationType

        void setVirtualisationType​(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation paravirtual)
      • getVirtualisationType

        @Nullable
        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation getVirtualisationType()
      • isPerSecondBillingEnabled

        boolean isPerSecondBillingEnabled()
      • setPerSecondBillingEnabled

        void setPerSecondBillingEnabled​(boolean value)
      • getRootFsSizeOverride

        @Nullable
        @Nullable Integer getRootFsSizeOverride()
        Returns:
        the overriden value of root fs size (in GB)
      • setRootFsSizeOverride

        void setRootFsSizeOverride​(@Nullable
                                   @Nullable Integer rootFsSizeOverride)