-
Method Summary
Get Elastic Instance Configuration's EC2 AMI id.
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture
Get Availability Zone for Elastic Instance Configuration.
Get Elastic Instance Configuration's description.
Get Elastic Instance Configuration's name.
Get Elastic Instance Configuration's EBS snapshot id.
@NotNull com.atlassian.aws.ec2.EC2InstanceType
@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType>
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region
Get Region for which the image configuration is defined.
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation
boolean
boolean
boolean
Get Elastic Instance Configuration's EBS status.
boolean
boolean
boolean
Is set for default configuration.
void
Set the Elastic Instance Configuration's EC2 AMI id (image)
void
setArchitecture(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architecture)
void
void
void
void
void
Set Disabled field for Elastic Instance Configuration
void
void
void
void
void
void
setPlatform(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform)
void
void
setRegion(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
void
setRootDeviceType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType)
void
void
void
void
void
Subnet ids in the "subnet-xxxxx" format
void
-
Method Details
-
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
Get Elastic Instance Configuration's EC2 AMI id.
- Returns:
- Elastic Instance Configuration's EC2 AMI id
-
setAmiId
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.
Get 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.
-
setInstanceTypes
void setInstanceTypes(@NotNull
@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceType)
-
getAvailabilityZones
Get Availability Zone for Elastic Instance Configuration.
- Returns:
- Name of Availability Zone
-
setAvailabilityZone
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
- 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)
-
-
-
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)
-
setSubnetId
Deprecated.
Subnet id in the "subnet-xxxxx" format
-
-
setSubnetIds
Subnet ids in the "subnet-xxxxx" format
-
setImageFilesVersion
void setImageFilesVersion(@Nullable
@Nullable String imageFilesLevel)
-
getImageFilesVersion
@Nullable
@Nullable String getImageFilesVersion()
-
isDedicated
Deprecated.
- Returns:
- true iff this configuration is assigned to specific jobs
- Since:
- 5.0
-
-
-
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)
getInstanceTypes()
instead