public static final class ServerDeploymentConfigProps.Builder extends Object
ServerDeploymentConfigProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServerDeploymentConfigProps |
build()
Builds the configured instance.
|
ServerDeploymentConfigProps.Builder |
withDeploymentConfigName(String value)
Sets the value of DeploymentConfigName
|
ServerDeploymentConfigProps.Builder |
withMinHealthyHostCount(Number value)
Sets the value of MinHealthyHostCount
|
ServerDeploymentConfigProps.Builder |
withMinHealthyHostPercentage(Number value)
Sets the value of MinHealthyHostPercentage
|
public ServerDeploymentConfigProps.Builder withDeploymentConfigName(@Nullable String value)
value - The physical, human-readable name of the Deployment Configuration.thispublic ServerDeploymentConfigProps.Builder withMinHealthyHostCount(@Nullable Number value)
value - The minimum healhty hosts threshold expressed as an absolute number.
If you've specified this value,
you can't specify #minHealthyHostPercentage,
however one of this or #minHealthyHostPercentage is required.thispublic ServerDeploymentConfigProps.Builder withMinHealthyHostPercentage(@Nullable Number value)
value - The minmum healhty hosts threshold expressed as a percentage of the fleet.
If you've specified this value,
you can't specify #minHealthyHostCount,
however one of this or #minHealthyHostCount is required.thispublic ServerDeploymentConfigProps build()
ServerDeploymentConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.