Interface SpringAppDeployment.DefinitionStages.WithSettings<T>
- All Known Subinterfaces:
SpringAppDeployment.Definition<ParentT,,T> SpringAppDeployment.DefinitionStages.Final<T>,SpringAppDeployment.DefinitionStages.WithAttach<ParentT,,T> SpringAppDeployment.DefinitionStages.WithCreate<T>
- Enclosing interface:
- SpringAppDeployment.DefinitionStages
public static interface SpringAppDeployment.DefinitionStages.WithSettings<T>
The stage of a deployment definition allowing to specify deployment settings.
-
Method Summary
Modifier and TypeMethodDescriptionActivates of the deployment after definition.withConfigFilePatterns(List<String> configFilePatterns) Specifies the config file patterns for the deployment.withCpu(double cpuCount) Specifies the cpu number of the deployment.withCpu(int cpuCount) Specifies the cpu number of the deployment.withEnvironment(String key, String value) Specifies a environment variable of the deployment.withInstance(int count) Specifies the instance number of the deployment.withJvmOptions(String jvmOptions) Specifies the jvm options of the deployment.withMemory(double sizeInGB) Specifies the memory of the deployment.withMemory(int sizeInGB) Specifies the memory of the deployment.withRuntime(RuntimeVersion version) Specifies the runtime version of the deployment.withVersionName(String versionName) Specifies the version of the deployment.
-
Method Details
-
withInstance
Specifies the instance number of the deployment.- Parameters:
count- the number of the instance- Returns:
- the next stage of deployment definition
-
withCpu
Specifies the cpu number of the deployment.- Parameters:
cpuCount- the number of the cpu- Returns:
- the next stage of deployment definition
-
withCpu
Specifies the cpu number of the deployment.- Parameters:
cpuCount- the number of the cpu, can be 0.5, 1, 2, etc- Returns:
- the next stage of deployment definition
-
withMemory
Specifies the memory of the deployment.- Parameters:
sizeInGB- the size of the memory in GB- Returns:
- the next stage of deployment definition
-
withMemory
Specifies the memory of the deployment.- Parameters:
sizeInGB- the size of the memory in GB, can be 0.5, 1, 2, etc- Returns:
- the next stage of deployment definition
-
withRuntime
Specifies the runtime version of the deployment.- Parameters:
version- the runtime version of Java- Returns:
- the next stage of deployment definition
-
withJvmOptions
Specifies the jvm options of the deployment.- Parameters:
jvmOptions- the argument of jvm- Returns:
- the next stage of deployment definition
-
withEnvironment
Specifies a environment variable of the deployment.- Parameters:
key- the key of the environmentvalue- the value of the environment- Returns:
- the next stage of deployment definition
-
withVersionName
Specifies the version of the deployment.- Parameters:
versionName- the version name of the deployment- Returns:
- the next stage of deployment definition
-
withActivation
T withActivation()Activates of the deployment after definition.- Returns:
- the next stage of deployment definition
-
withConfigFilePatterns
Specifies the config file patterns for the deployment.- Parameters:
configFilePatterns- Config file patterns to decide which patterns of Application Configuration Service will be used. Use null or empty list to clear existing configurations.- Returns:
- the next stage of deployment definition
-