public class DataGridProfileBuilder extends ProfileBuilder
| Modifier and Type | Method and Description |
|---|---|
Profile |
build()
Builds the object.
|
DataGridProfileBuilder |
withDataGroup(String dataGroup)
Sets the data partition group name.
|
DataGridProfileBuilder |
withManagementGroup(String managementGroup)
Sets the management partition group name.
|
DataGridProfileBuilder |
withNumPartitions(int numPartitions)
Sets the number of data partitions.
|
public DataGridProfileBuilder withManagementGroup(String managementGroup)
managementGroup - the management partition group namepublic DataGridProfileBuilder withDataGroup(String dataGroup)
dataGroup - the data partition group namepublic DataGridProfileBuilder withNumPartitions(int numPartitions)
numPartitions - the number of data partitionspublic Profile build()
BuilderThe returned object may be a new instance of the built class or a recycled instance, depending on the semantics of the builder implementation. Users should never assume that a builder allocates a new instance.
Copyright © 2013–2018. All rights reserved.