public static final class ClusterSizeInfoTypes.Info.Builder
extends java.lang.Object
ClusterSizeInfoTypes.Info
.Constructor and Description |
---|
Builder(long numSupportedPods,
long numSupportedServices,
Ipv4Cidr defaultServiceCidr,
Ipv4Cidr defaultPodCidr,
ClusterSizeInfoTypes.VmInfo masterVmInfo)
Constructor with parameters for the required properties of
ClusterSizeInfoTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ClusterSizeInfoTypes.Info |
build() |
ClusterSizeInfoTypes.Info.Builder |
setWorkerVmInfo(ClusterSizeInfoTypes.VmInfo workerVmInfo)
Information about worker virtual machine configuration.
|
public Builder(long numSupportedPods, long numSupportedServices, Ipv4Cidr defaultServiceCidr, Ipv4Cidr defaultPodCidr, ClusterSizeInfoTypes.VmInfo masterVmInfo)
ClusterSizeInfoTypes.Info
.public ClusterSizeInfoTypes.Info.Builder setWorkerVmInfo(ClusterSizeInfoTypes.VmInfo workerVmInfo)
null
, the configuration of the worker VM is not fixed.workerVmInfo
- New value for the property.public ClusterSizeInfoTypes.Info build()