Class ElasticImageConfigurationCapabilities

java.lang.Object
com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationCapabilities

public class ElasticImageConfigurationCapabilities extends Object
Helpers that support backing elastic image configuration properties with image capabilities.
  • Method Details

    • getIamInstanceProfile

      @Nullable public static @Nullable String getIamInstanceProfile(@NotNull @NotNull ElasticImageConfiguration elasticImageConfiguration)
    • setIamInstanceProfile

      public static void setIamInstanceProfile(@NotNull @NotNull ElasticImageConfiguration elasticImageConfiguration, @Nullable @Nullable String iamInstanceProfileArnOrName)
    • isEbsOptimised

      public static boolean isEbsOptimised(ElasticImageConfiguration elasticImageConfiguration)
    • setEbsOptimised

      public static void setEbsOptimised(ElasticImageConfigurationImpl elasticImageConfiguration, boolean ebsOptimised)
    • setEc2InstanceType

      public static void setEc2InstanceType(ElasticImageConfiguration elasticImageConfiguration, com.amazonaws.services.ec2.model.InstanceType instanceType)