Class PerBuildContainerForEnvironment
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
-
- com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<PerBuildContainerForEnvironmentProperties>
-
- com.atlassian.bamboo.specs.api.builders.pbc.PerBuildContainerForEnvironment
-
public class PerBuildContainerForEnvironment extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<PerBuildContainerForEnvironmentProperties>
Per Build Container definition for Deployment Environments.
-
-
Constructor Summary
Constructors Constructor Description PerBuildContainerForEnvironment()
-
Method Summary
-
-
-
Method Detail
-
enabled
public PerBuildContainerForEnvironment enabled(boolean enabled)
Marks PBC as enabled for given job. Default value is true.
-
image
public PerBuildContainerForEnvironment image(String image)
-
size
public PerBuildContainerForEnvironment size(String size)
Symbolic name for size of the container. See ContainerSize enum for allowed values. The default value is 'REGULAR'.
-
size
public PerBuildContainerForEnvironment size(ContainerSize size)
Symbolic name for size of the container. The default value is 'REGULAR'.
-
awsRole
public PerBuildContainerForEnvironment awsRole(String awsRole)
AWS Role of the current deployment. Optional. Needs to be supported by the runtime environment.
-
architecture
public PerBuildContainerForEnvironment architecture(Architecture architecture)
Architecture the build should run on Optional. If specified, the Bamboo server must have this configured as one of the available architectures.
-
architecture
@Deprecated public PerBuildContainerForEnvironment architecture(String architecture)
Deprecated.This method will not be removed, but it should not be used unless you have a need for a specific architecture not specified in the Architecture enum. You should use.architecture(Architecture a)instead.- Parameters:
architecture- A string which is the name of the architecture
-
extraContainers
public PerBuildContainerForEnvironment extraContainers(ExtraContainer... extraContainers)
-
extraContainers
public PerBuildContainerForEnvironment extraContainers(List<ExtraContainer> extraContainers)
-
withFeatureFlag
public PerBuildContainerForEnvironment withFeatureFlag(String featureFlag)
-
withFeatureFlags
public PerBuildContainerForEnvironment withFeatureFlags(HashSet<String> featureFlags)
-
build
protected PerBuildContainerForEnvironmentProperties build()
- Specified by:
buildin classcom.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<PerBuildContainerForEnvironmentProperties>
-
-