Class ElasticImageConfigurationCapabilities
java.lang.Object
com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationCapabilities
Helpers that support backing elastic image configuration properties with image capabilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable String
getIamInstanceProfile
(@NotNull ElasticImageConfiguration elasticImageConfiguration) static boolean
isEbsOptimised
(ElasticImageConfiguration elasticImageConfiguration) static void
setEbsOptimised
(ElasticImageConfigurationImpl elasticImageConfiguration, boolean ebsOptimised) static void
setEc2InstanceType
(ElasticImageConfiguration elasticImageConfiguration, com.amazonaws.services.ec2.model.InstanceType instanceType) static void
setIamInstanceProfile
(@NotNull ElasticImageConfiguration elasticImageConfiguration, @Nullable String iamInstanceProfileArnOrName)
-
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
-
setEbsOptimised
public static void setEbsOptimised(ElasticImageConfigurationImpl elasticImageConfiguration, boolean ebsOptimised) -
setEc2InstanceType
public static void setEc2InstanceType(ElasticImageConfiguration elasticImageConfiguration, com.amazonaws.services.ec2.model.InstanceType instanceType)
-