Interface SpringApp.DefinitionStages.WithDisk
- All Known Subinterfaces:
SpringApp.Definition,SpringApp.DefinitionStages.WithCreate
- Enclosing interface:
- SpringApp.DefinitionStages
public static interface SpringApp.DefinitionStages.WithDisk
The stage of a spring app definition allowing to specify the disk.
-
Method Summary
Modifier and TypeMethodDescriptionwithPersistentDisk(int sizeInGB, String mountPath) Specifies the persistent disk for the spring app.withTemporaryDisk(int sizeInGB, String mountPath) Specifies the temporary disk for the spring app.
-
Method Details
-
withTemporaryDisk
Specifies the temporary disk for the spring app.- Parameters:
sizeInGB- the size of the diskmountPath- the mount path of the disk- Returns:
- the next stage of spring app definition
-
withPersistentDisk
Specifies the persistent disk for the spring app.- Parameters:
sizeInGB- the size of the diskmountPath- the mount path of the disk- Returns:
- the next stage of spring app definition
-