public class DeploymentPropertiesBuilder extends AbstractPropertiesBuilder
DEPLOYER_PREFIX, deploymentProperties| Constructor and Description |
|---|
DeploymentPropertiesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentPropertiesBuilder |
count(String label,
Integer instances)
Sets the number of instances of the target application.
|
DeploymentPropertiesBuilder |
memory(String label,
Integer memory)
Configures the memory size allocated for the application.
|
DeploymentPropertiesBuilder |
put(String key,
String value) |
DeploymentPropertiesBuilder |
putAll(Map<String,String> map) |
buildpublic DeploymentPropertiesBuilder put(String key, String value)
public DeploymentPropertiesBuilder putAll(Map<String,String> map)
public DeploymentPropertiesBuilder memory(String label, Integer memory)
label - - The application name or label to configure the number of instancesmemory - - Memory size in Mb, must be greater or equal 128public DeploymentPropertiesBuilder count(String label, Integer instances)
label - - The application name or label to configure the number of instancesinstances - - Number of instances, must be greater than zeroCopyright © 2021 Pivotal Software, Inc.. All rights reserved.