public static class DistributionDTO.Builder
extends java.lang.Object
DistributionDTO
.Constructor and Description |
---|
Builder()
Creates a new instance of
DistributionDTO.Builder . |
Modifier and Type | Method and Description |
---|---|
DistributionDTO |
build()
Builds a new instance of
DistributionDTO . |
DistributionDTO.Builder |
withArgs(FunctionArg... args)
Sets the arguments of the function.
|
DistributionDTO.Builder |
withNumber(int bucketNum)
Sets the number of buckets.
|
DistributionDTO.Builder |
withStrategy(Strategy strategy)
Sets the strategy of the distribution.
|
public Builder()
DistributionDTO.Builder
.public DistributionDTO.Builder withArgs(FunctionArg... args)
args
- The arguments of the function.public DistributionDTO.Builder withNumber(int bucketNum)
bucketNum
- The number of buckets.public DistributionDTO.Builder withStrategy(Strategy strategy)
strategy
- The strategy of the distribution.public DistributionDTO build()
DistributionDTO
.