Interface ElasticImageConfiguration
-
- All Superinterfaces:
BambooIdProvider
,BambooObject
- All Known Implementing Classes:
ElasticImageConfigurationImpl
public interface ElasticImageConfiguration extends BambooObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getAmiId()
Get Elastic Instance Configuration's EC2 AMI id.com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture
getArchitecture()
Get image architecture@NotNull Collection<String>
getAvailabilityZones()
Get Availability Zone for Elastic Instance Configuration.@NotNull ImageCapabilitySet
getCapabilitySet()
String
getConfigurationDescription()
Get Elastic Instance Configuration's description.String
getConfigurationName()
Get Elastic Instance Configuration's name.@Nullable String
getEbsSnapshotId()
Get Elastic Instance Configuration's EBS snapshot id.@Nullable String
getImageFilesVersion()
@NotNull com.atlassian.aws.ec2.EC2InstanceType
getInstanceType()
Deprecated.since 5.11 usegetInstanceTypes()
instead@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType>
getInstanceTypes()
String
getOsName()
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform
getPlatform()
Get image platform@NotNull String
getProduct()
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region
getRegion()
Get Region for which the image configuration is defined.com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType
getRootDeviceType()
@Nullable Integer
getRootFsSizeOverride()
@NotNull List<Script>
getStartupScripts()
@NotNull Collection<String>
getSubnetIds()
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation
getVirtualisationType()
boolean
isDedicated()
Deprecated.without replacement; this is temporary solutionboolean
isDisabled()
boolean
isEbsEnabled()
Get Elastic Instance Configuration's EBS status.boolean
isLegacyEbsHandlingEnabled()
boolean
isPerSecondBillingEnabled()
boolean
isShippedWithBamboo()
Is set for default configuration.void
setAmiId(String amiId)
Set the Elastic Instance Configuration's EC2 AMI id (image)void
setArchitecture(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architecture)
void
setAvailabilityZone(@Nullable String zone)
Deprecated.since 5.8 usesetAvailabilityZones(Iterable)
void
setAvailabilityZones(Iterable<com.atlassian.aws.ec2.model.AvailabilityZoneId> availabilityZones)
void
setConfigurationDescription(String configurationDescription)
void
setConfigurationName(String configurationName)
void
setDisabled(boolean disabled)
Set Disabled field for Elastic Instance Configurationvoid
setImageFilesVersion(@Nullable String imageFilesLevel)
void
setInstanceType(com.atlassian.aws.ec2.EC2InstanceType instanceType)
Deprecated.since 5.11 usesetInstanceTypes(Iterable)
insteadvoid
setInstanceTypes(@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceType)
void
setOsName(String osName)
void
setPerSecondBillingEnabled(boolean value)
void
setPlatform(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform)
void
setProduct(String product)
void
setRegion(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
void
setRootDeviceType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType)
void
setRootFsSizeOverride(@Nullable Integer rootFsSizeOverride)
void
setShippedWithBamboo(boolean shippedWithBamboo)
void
setStartupScripts(@NotNull List<Script> startupScripts)
void
setSubnetId(@Nullable String subnetId)
Deprecated.since 5.8, usesetSubnetIds(Iterable)
void
setSubnetIds(@NotNull Iterable<String> subnetIds)
Subnet ids in the "subnet-xxxxx" formatvoid
setVirtualisationType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation paravirtual)
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
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 usegetInstanceTypes()
insteadGet Elastic Instance Configuration type.- Returns:
- Elastic Instance Configuration type
-
getInstanceTypes
@NotNull @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> getInstanceTypes()
-
setInstanceType
@Deprecated void setInstanceType(com.atlassian.aws.ec2.EC2InstanceType instanceType)
Deprecated.since 5.11 usesetInstanceTypes(Iterable)
instead
-
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.since 5.8 usesetAvailabilityZones(Iterable)
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)
-
setSubnetId
@Deprecated void setSubnetId(@Nullable @Nullable String subnetId)
Deprecated.since 5.8, usesetSubnetIds(Iterable)
Subnet id in the "subnet-xxxxx" format
-
getSubnetIds
@NotNull @NotNull Collection<String> getSubnetIds()
-
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)
-
-