public static final class ClusterReconfigureParams.Builder
extends java.lang.Object
ClusterReconfigureParams
.Constructor and Description |
---|
Builder(long numHosts)
Constructor with parameters for the required properties of
ClusterReconfigureParams . |
Modifier and Type | Method and Description |
---|---|
ClusterReconfigureParams |
build() |
ClusterReconfigureParams.Builder |
setBias(java.lang.String bias)
Bias value as obtained from the storage constraints call.
|
ClusterReconfigureParams.Builder |
setStorageCapacity(java.lang.Long storageCapacity)
The final desired storage capacity after reconfiguring the cluster in GiB.
|
public Builder(long numHosts)
ClusterReconfigureParams
.public ClusterReconfigureParams.Builder setStorageCapacity(java.lang.Long storageCapacity)
storageCapacity
- New value for the property.public ClusterReconfigureParams.Builder setBias(java.lang.String bias)
bias
- New value for the property.public ClusterReconfigureParams build()