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
|
Collection<String> |
getAvailabilityZones()
Get Availability Zone for Elastic Instance Configuration.
|
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() |
com.atlassian.aws.ec2.EC2InstanceType |
getInstanceType()
Get Elastic Instance Configuration type.
|
Iterable<com.atlassian.aws.ec2.EC2InstanceType> |
getInstanceTypes() |
String |
getOsName() |
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform |
getPlatform()
Get image platform
|
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() |
List<Script> |
getStartupScripts() |
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 |
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(String availabilityZone)
Set Availability Zone for Elastic Instance Configuration.
|
void |
setAvailabilityZones(Iterable<com.atlassian.aws.ec2.model.AvailabilityZoneId> availabilityZones) |
void |
setCapabilitySet(ImageCapabilitySet imageCapabilitySet) |
void |
setConfigurationDescription(String configurationDescription) |
void |
setConfigurationName(String configurationName) |
void |
setDisabled(boolean disabled)
Set Disabled field for Elastic Instance Configuration
|
void |
setEbsSnapshotId(String ebsSnapshotId) |
void |
setImageFilesVersion(String imageFilesLevel) |
void |
setInstanceType(com.atlassian.aws.ec2.EC2InstanceType instanceType) |
void |
setInstanceTypes(Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes) |
void |
setLegacyEbsHandlingEnabled(boolean value) |
void |
setOsName(String osName) |
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 |
setShippedWithBamboo(boolean shippedWithBamboo) |
void |
setStartupScripts(List<Script> startupScripts) |
void |
setSubnetId(String subnetId)
Subnet id in the "subnet-xxxxx" format
|
void |
setSubnetIds(Iterable<String> subnetIds)
Subnet ids in the "subnet-xxxxx" format
|
void |
setVirtualisationType(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Virtualisation virtualisationType) |
static String |
toString(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 String ebsSnapshotId)
public boolean isLegacyEbsHandlingEnabled()
isLegacyEbsHandlingEnabled
in interface ElasticImageConfiguration
public void setLegacyEbsHandlingEnabled(boolean value)
@NotNull public com.atlassian.aws.ec2.EC2InstanceType getInstanceType()
ElasticImageConfiguration
getInstanceType
in interface ElasticImageConfiguration
@NotNull public 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 Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
setInstanceTypes
in interface ElasticImageConfiguration
@NotNull public static String toString(@NotNull Iterable<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
public void setAvailabilityZone(@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 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 ImageCapabilitySet getCapabilitySet()
getCapabilitySet
in interface ElasticImageConfiguration
public void setCapabilitySet(@NotNull ImageCapabilitySet imageCapabilitySet)
@NotNull public 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 String subnetId)
ElasticImageConfiguration
setSubnetId
in interface ElasticImageConfiguration
@NotNull public Collection<String> getSubnetIds()
getSubnetIds
in interface ElasticImageConfiguration
public void setSubnetIds(@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 List<Script> getStartupScripts()
getStartupScripts
in interface ElasticImageConfiguration
public void setStartupScripts(@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 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 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.