public static final class ForwardOptions.Builder
extends java.lang.Object
ForwardOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ForwardOptions |
build()
Builds the configured instance.
|
ForwardOptions.Builder |
stickinessDuration(Duration stickinessDuration)
Sets the value of
ForwardOptions.getStickinessDuration() |
public ForwardOptions.Builder stickinessDuration(Duration stickinessDuration)
ForwardOptions.getStickinessDuration()
stickinessDuration
- For how long clients should be directed to the same target group.
Range between 1 second and 7 days.this
public ForwardOptions build()
ForwardOptions
java.lang.NullPointerException
- if any required attribute was not provided