Interface ElasticConfiguration
- All Known Implementing Classes:
ElasticConfigurationImpl
public interface ElasticConfiguration
Represents the configuration of Elastic Bamboo
-
Method Summary
Modifier and TypeMethodDescriptionintintcom.atlassian.aws.ec2.awssdk.AwsSupportConstants.RegionbooleanIf automatic shutdown of instances is enabledbooleanWhether or not Elastic Bamboo is enabled or not.booleanbooleanvoidvoidsetAutoShutdownDelay(int autoShutdownDelay) voidsetAutoShutdownEnabled(boolean autoShutdownEnabled) voidsetAwsAccessKeyId(String awsAccessKeyId) voidsetAwsCertFile(String awsCertFile) voidsetAwsCredentialsType(AwsCredentialsType awsCredentialsType) voidsetAwsPrivateKeyFile(String awsPrivateKeyFile) voidsetAwsSecretKey(String awsSecretKey) voidsetEnabled(boolean enabled) voidsetMaxConcurrentInstances(int maxConcurrentInstances) voidsetPublicIpForVpcEnabled(boolean publicIpForVpcEnabled) voidsetRegion(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) voidsetUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)
-
Method Details
-
getAwsCredentialsType
AwsCredentialsType getAwsCredentialsType()- Returns:
- AWS credentials type
-
setAwsCredentialsType
-
getAwsAccessKeyId
String getAwsAccessKeyId()- Returns:
- AWS Access Key ID
-
setAwsAccessKeyId
-
getAwsSecretKey
String getAwsSecretKey()- Returns:
- Encrypted secret ket for aws account
-
setAwsSecretKey
-
getMaxConcurrentInstances
int getMaxConcurrentInstances()- Returns:
- Max number of elastic agents that can be running at any time.
-
setMaxConcurrentInstances
void setMaxConcurrentInstances(int maxConcurrentInstances) -
isEnabled
boolean isEnabled()Whether or not Elastic Bamboo is enabled or not.- Returns:
- Whether or not Elastic Bamboo is enabled or not
-
setEnabled
void setEnabled(boolean enabled) -
isAutoShutdownEnabled
boolean isAutoShutdownEnabled()If automatic shutdown of instances is enabled- Returns:
- enabled
-
setAutoShutdownEnabled
void setAutoShutdownEnabled(boolean autoShutdownEnabled) -
getAutoShutdownDelay
int getAutoShutdownDelay()- Returns:
- shutdown delay in seconds
-
setAutoShutdownDelay
void setAutoShutdownDelay(int autoShutdownDelay) -
getAwsPrivateKeyFile
String getAwsPrivateKeyFile()- Returns:
- location of the private key file
-
setAwsPrivateKeyFile
-
getAwsCertFile
String getAwsCertFile()- Returns:
- location of the certificate file
-
setAwsCertFile
-
isUploadingOfAwsAccountDetailsEnabled
boolean isUploadingOfAwsAccountDetailsEnabled()- Returns:
- uploading of aws acount info enabled (keys, etc)
-
setUploadingOfAwsAccountDetailsEnabled
void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled) -
getAutomaticInstanceManagementConfig
AutomaticInstanceManagementConfig getAutomaticInstanceManagementConfig()- Returns:
- configuration for the Automatic Instance configuration
-
setAutomaticInstanceManagementConfig
-
isPublicIpForVpcEnabled
boolean isPublicIpForVpcEnabled() -
setPublicIpForVpcEnabled
void setPublicIpForVpcEnabled(boolean publicIpForVpcEnabled) -
getRegion
@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion() -
setRegion
void setRegion(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) -
getInstallerRunCommand
-