public class ElasticConfigurationImpl extends Object implements ElasticConfiguration, Serializable
Constructor and Description |
---|
ElasticConfigurationImpl() |
public String getAwsAccessKeyId()
getAwsAccessKeyId
in interface ElasticConfiguration
public void setAwsAccessKeyId(String awsAccessKeyId)
setAwsAccessKeyId
in interface ElasticConfiguration
public String getAwsSecretKey()
getAwsSecretKey
in interface ElasticConfiguration
public void setAwsSecretKey(String awsSecretKey)
setAwsSecretKey
in interface ElasticConfiguration
public int getMaxConcurrentInstances()
getMaxConcurrentInstances
in interface ElasticConfiguration
public void setMaxConcurrentInstances(int maxConcurrentInstances)
setMaxConcurrentInstances
in interface ElasticConfiguration
public boolean isEnabled()
isEnabled
in interface ElasticConfiguration
public void setEnabled(boolean enabled)
setEnabled
in interface ElasticConfiguration
public boolean isAutoShutdownEnabled()
ElasticConfiguration
isAutoShutdownEnabled
in interface ElasticConfiguration
public void setAutoShutdownEnabled(boolean autoShutdownEnabled)
setAutoShutdownEnabled
in interface ElasticConfiguration
public int getAutoShutdownDelay()
getAutoShutdownDelay
in interface ElasticConfiguration
public void setAutoShutdownDelay(int autoShutdownDelay)
setAutoShutdownDelay
in interface ElasticConfiguration
public String getAwsPrivateKeyFile()
getAwsPrivateKeyFile
in interface ElasticConfiguration
public void setAwsPrivateKeyFile(String awsPrivateKeyFile)
setAwsPrivateKeyFile
in interface ElasticConfiguration
public String getAwsCertFile()
getAwsCertFile
in interface ElasticConfiguration
public void setAwsCertFile(String awsCertFile)
setAwsCertFile
in interface ElasticConfiguration
public boolean isUploadingOfAwsAccountDetailsEnabled()
isUploadingOfAwsAccountDetailsEnabled
in interface ElasticConfiguration
public void setUploadingOfAwsAccountDetailsEnabled(boolean uploadingOfAwsAccountDetailsEnabled)
setUploadingOfAwsAccountDetailsEnabled
in interface ElasticConfiguration
public AutomaticInstanceManagementConfig getAutomaticInstanceManagementConfig()
getAutomaticInstanceManagementConfig
in interface ElasticConfiguration
public void setAutomaticInstanceManagementConfig(AutomaticInstanceManagementConfig config)
setAutomaticInstanceManagementConfig
in interface ElasticConfiguration
public void setPublicIpForVpcEnabled(boolean value)
setPublicIpForVpcEnabled
in interface ElasticConfiguration
public boolean isPublicIpForVpcEnabled()
isPublicIpForVpcEnabled
in interface ElasticConfiguration
@NotNull public static com.atlassian.aws.ec2.configuration.ImageData getShippedElasticImageData() throws IOException
IOException
@NotNull public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()
getRegion
in interface ElasticConfiguration
public void setRegion(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
setRegion
in interface ElasticConfiguration
@Nullable public Iterable<String> getInstallerRunCommand()
getInstallerRunCommand
in interface ElasticConfiguration
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.