@Entity public class ElasticImageConfigurationImpl extends BambooEntityObject implements ElasticImageConfiguration, Comparable<ElasticImageConfigurationImpl>
Constructor and Description |
---|
ElasticImageConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ElasticImageConfigurationImpl o) |
boolean |
equals(Object o) |
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.
|
String |
getEbsSnapshotId()
Get Elastic Instance Configuration's EBS snapshot id.
|
String |
getImageFilesVersion() |
@NotNull com.atlassian.aws.ec2.EC2InstanceType |
getInstanceType()
Get Elastic Instance Configuration type.
|
@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> |
getInstanceTypes() |
@Nullable 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() |
int |
hashCode() |
boolean |
isDedicated() |
boolean |
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 availabilityZone)
Set Availability Zone for Elastic Instance Configuration.
|
void |
setAvailabilityZones(Iterable<com.atlassian.aws.ec2.model.AvailabilityZoneId> availabilityZones) |
void |
setCapabilitySet(@NotNull ImageCapabilitySet imageCapabilitySet) |
void |
setConfigurationDescription(String configurationDescription) |
void |
setConfigurationName(String configurationName) |
void |
setDisabled(boolean disabled)
Set Disabled field for Elastic Instance Configuration
|
void |
setEbsSnapshotId(@Nullable String ebsSnapshotId) |
void |
setImageFilesVersion(String imageFilesLevel) |
void |
setInstanceType(com.atlassian.aws.ec2.EC2InstanceType instanceType) |
void |
setInstanceTypes(@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes) |
void |
setLegacyEbsHandlingEnabled(boolean value) |
void |
setOsName(String osName) |
void |
setPerSecondBillingEnabled(boolean perSecondBillingEnabled) |
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)
Subnet id in the "subnet-xxxxx" format
|
void |
setSubnetIds(@NotNull Iterable<String> subnetIds)
Subnet ids in the "subnet-xxxxx" format
|
void |
setVirtualisationType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation virtualisationType) |
static @NotNull String |
toString(@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes) |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public String getConfigurationName()
ElasticImageConfiguration
getConfigurationName
in interface ElasticImageConfiguration
public void setConfigurationName(String configurationName)
setConfigurationName
in interface ElasticImageConfiguration
public String getAmiId()
ElasticImageConfiguration
getAmiId
in interface ElasticImageConfiguration
public void setAmiId(String amiId)
ElasticImageConfiguration
setAmiId
in interface ElasticImageConfiguration
amiId
- - Elastic Instance Configuration's EC2 AMI idpublic boolean isEbsEnabled()
ElasticImageConfiguration
isEbsEnabled
in interface ElasticImageConfiguration
public String getEbsSnapshotId()
ElasticImageConfiguration
getEbsSnapshotId
in interface ElasticImageConfiguration
public void setEbsSnapshotId(@Nullable @Nullable String ebsSnapshotId)
public boolean isLegacyEbsHandlingEnabled()
isLegacyEbsHandlingEnabled
in interface ElasticImageConfiguration
public void setLegacyEbsHandlingEnabled(boolean value)
@NotNull public @NotNull com.atlassian.aws.ec2.EC2InstanceType getInstanceType()
ElasticImageConfiguration
getInstanceType
in interface ElasticImageConfiguration
@NotNull public @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> getInstanceTypes()
getInstanceTypes
in interface ElasticImageConfiguration
public void setInstanceType(com.atlassian.aws.ec2.EC2InstanceType instanceType)
setInstanceType
in interface ElasticImageConfiguration
public void setInstanceTypes(@NotNull @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
setInstanceTypes
in interface ElasticImageConfiguration
@NotNull public static @NotNull String toString(@NotNull @NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
public void setAvailabilityZone(@Nullable @Nullable String availabilityZone)
ElasticImageConfiguration
setAvailabilityZone
in interface ElasticImageConfiguration
availabilityZone
- Name of Availability Zone to be setup. null if the default zone should be used@NotNull public @NotNull Collection<String> getAvailabilityZones()
ElasticImageConfiguration
getAvailabilityZones
in interface ElasticImageConfiguration
public void setAvailabilityZones(Iterable<com.atlassian.aws.ec2.model.AvailabilityZoneId> availabilityZones)
setAvailabilityZones
in interface ElasticImageConfiguration
public String getConfigurationDescription()
ElasticImageConfiguration
getConfigurationDescription
in interface ElasticImageConfiguration
public void setConfigurationDescription(String configurationDescription)
setConfigurationDescription
in interface ElasticImageConfiguration
public boolean isShippedWithBamboo()
ElasticImageConfiguration
isShippedWithBamboo
in interface ElasticImageConfiguration
public void setShippedWithBamboo(boolean shippedWithBamboo)
setShippedWithBamboo
in interface ElasticImageConfiguration
public boolean isDisabled()
isDisabled
in interface ElasticImageConfiguration
public void setDisabled(boolean disabled)
ElasticImageConfiguration
setDisabled
in interface ElasticImageConfiguration
@NotNull public @NotNull ImageCapabilitySet getCapabilitySet()
getCapabilitySet
in interface ElasticImageConfiguration
public void setCapabilitySet(@NotNull @NotNull ImageCapabilitySet imageCapabilitySet)
@NotNull public @NotNull String getProduct()
getProduct
in interface ElasticImageConfiguration
public void setProduct(String product)
setProduct
in interface ElasticImageConfiguration
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()
ElasticImageConfiguration
getRegion
in interface ElasticImageConfiguration
public void setSubnetId(@Nullable @Nullable String subnetId)
ElasticImageConfiguration
setSubnetId
in interface ElasticImageConfiguration
@NotNull public @NotNull Collection<String> getSubnetIds()
getSubnetIds
in interface ElasticImageConfiguration
public void setSubnetIds(@NotNull @NotNull Iterable<String> subnetIds)
ElasticImageConfiguration
setSubnetIds
in interface ElasticImageConfiguration
public void setRegion(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
setRegion
in interface ElasticImageConfiguration
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture getArchitecture()
ElasticImageConfiguration
getArchitecture
in interface ElasticImageConfiguration
public void setArchitecture(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Architecture architecture)
setArchitecture
in interface ElasticImageConfiguration
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform getPlatform()
ElasticImageConfiguration
getPlatform
in interface ElasticImageConfiguration
public void setPlatform(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform platform)
setPlatform
in interface ElasticImageConfiguration
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType getRootDeviceType()
getRootDeviceType
in interface ElasticImageConfiguration
public void setRootDeviceType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.RootDeviceType rootDeviceType)
setRootDeviceType
in interface ElasticImageConfiguration
@NotNull public @NotNull List<Script> getStartupScripts()
getStartupScripts
in interface ElasticImageConfiguration
public void setStartupScripts(@NotNull @NotNull List<Script> startupScripts)
setStartupScripts
in interface ElasticImageConfiguration
public String getImageFilesVersion()
getImageFilesVersion
in interface ElasticImageConfiguration
public void setImageFilesVersion(String imageFilesLevel)
setImageFilesVersion
in interface ElasticImageConfiguration
@Nullable public @Nullable String getOsName()
getOsName
in interface ElasticImageConfiguration
public void setOsName(String osName)
setOsName
in interface ElasticImageConfiguration
@Nullable public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation getVirtualisationType()
getVirtualisationType
in interface ElasticImageConfiguration
public boolean isPerSecondBillingEnabled()
isPerSecondBillingEnabled
in interface ElasticImageConfiguration
public void setPerSecondBillingEnabled(boolean perSecondBillingEnabled)
setPerSecondBillingEnabled
in interface ElasticImageConfiguration
@Nullable public @Nullable Integer getRootFsSizeOverride()
getRootFsSizeOverride
in interface ElasticImageConfiguration
public void setRootFsSizeOverride(@Nullable @Nullable Integer rootFsSizeOverride)
setRootFsSizeOverride
in interface ElasticImageConfiguration
public void setVirtualisationType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation virtualisationType)
setVirtualisationType
in interface ElasticImageConfiguration
public boolean isDedicated()
isDedicated
in interface ElasticImageConfiguration
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(ElasticImageConfigurationImpl o)
compareTo
in interface Comparable<ElasticImageConfigurationImpl>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.