Interface SpringAppDeployment.UpdateStages.WithSettings
-
- All Known Subinterfaces:
SpringAppDeployment.Update
- Enclosing interface:
- SpringAppDeployment.UpdateStages
public static interface SpringAppDeployment.UpdateStages.WithSettingsThe stage of a deployment update allowing to specify deployment settings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpringAppDeployment.UpdatewithActivation()Activates of the deployment after update.SpringAppDeployment.UpdatewithCpu(int cpuCount)Specifies the cpu number of the deployment.SpringAppDeployment.UpdatewithEnvironment(String key, String value)Specifies a environment variable of the deployment.SpringAppDeployment.UpdatewithInstance(int count)Specifies the instance number of the deployment.SpringAppDeployment.UpdatewithJvmOptions(String jvmOptions)Specifies the jvm options of the deployment.SpringAppDeployment.UpdatewithMemory(int sizeInGB)Specifies the memory of the deployment.SpringAppDeployment.UpdatewithoutEnvironment(String key)Removes a environment variable of the deployment.SpringAppDeployment.UpdatewithRuntime(RuntimeVersion version)Specifies the runtime version of the deployment.SpringAppDeployment.UpdatewithVersionName(String versionName)Specifies the version of the deployment.
-
-
-
Method Detail
-
withInstance
SpringAppDeployment.Update withInstance(int count)
Specifies the instance number of the deployment.- Parameters:
count- the number of the instance- Returns:
- the next stage of deployment definition
-
withCpu
SpringAppDeployment.Update withCpu(int cpuCount)
Specifies the cpu number of the deployment.- Parameters:
cpuCount- the number of the cpu- Returns:
- the next stage of deployment update
-
withMemory
SpringAppDeployment.Update withMemory(int sizeInGB)
Specifies the memory of the deployment.- Parameters:
sizeInGB- the size of the memory in GB- Returns:
- the next stage of deployment update
-
withRuntime
SpringAppDeployment.Update withRuntime(RuntimeVersion version)
Specifies the runtime version of the deployment.- Parameters:
version- the runtime version of Java- Returns:
- the next stage of deployment update
-
withJvmOptions
SpringAppDeployment.Update withJvmOptions(String jvmOptions)
Specifies the jvm options of the deployment.- Parameters:
jvmOptions- the argument of jvm- Returns:
- the next stage of deployment update
-
withEnvironment
SpringAppDeployment.Update withEnvironment(String key, String value)
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 update
-
withoutEnvironment
SpringAppDeployment.Update withoutEnvironment(String key)
Removes a environment variable of the deployment.- Parameters:
key- the key of the environment- Returns:
- the next stage of deployment update
-
withVersionName
SpringAppDeployment.Update withVersionName(String versionName)
Specifies the version of the deployment.- Parameters:
versionName- the version name of the deployment- Returns:
- the next stage of deployment update
-
withActivation
SpringAppDeployment.Update withActivation()
Activates of the deployment after update.- Returns:
- the next stage of deployment update
-
-