Package io.pravega.client.stream
Class ScalingPolicy.ScalingPolicyBuilder
- java.lang.Object
-
- io.pravega.client.stream.ScalingPolicy.ScalingPolicyBuilder
-
- Enclosing class:
- ScalingPolicy
public static class ScalingPolicy.ScalingPolicyBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalingPolicy
build()
ScalingPolicy.ScalingPolicyBuilder
minNumSegments(int minNumSegments)
ScalingPolicy.ScalingPolicyBuilder
scaleFactor(int scaleFactor)
ScalingPolicy.ScalingPolicyBuilder
scaleType(ScalingPolicy.ScaleType scaleType)
ScalingPolicy.ScalingPolicyBuilder
targetRate(int targetRate)
java.lang.String
toString()
-
-
-
Method Detail
-
scaleType
public ScalingPolicy.ScalingPolicyBuilder scaleType(ScalingPolicy.ScaleType scaleType)
-
targetRate
public ScalingPolicy.ScalingPolicyBuilder targetRate(int targetRate)
-
scaleFactor
public ScalingPolicy.ScalingPolicyBuilder scaleFactor(int scaleFactor)
-
minNumSegments
public ScalingPolicy.ScalingPolicyBuilder minNumSegments(int minNumSegments)
-
build
public ScalingPolicy build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-