public static class DistributionDTO.Builder
extends java.lang.Object
DistributionDTO
.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 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
.