public static class StickyCookieLoadBalancingMethod.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StickyCookieLoadBalancingMethod |
build() |
StickyCookieLoadBalancingMethod.Builder |
copy(StickyCookieLoadBalancingMethod model) |
StickyCookieLoadBalancingMethod.Builder |
domain(String domain)
The domain for which the cookie is set, defaults to WAAS policy domain.
|
StickyCookieLoadBalancingMethod.Builder |
expirationTimeInSeconds(Integer expirationTimeInSeconds)
The time for which a browser should keep the cookie in seconds.
|
StickyCookieLoadBalancingMethod.Builder |
name(String name)
The name of the cookie used to track the persistence.
|
public StickyCookieLoadBalancingMethod.Builder name(String name)
The name of the cookie used to track the persistence. Can contain any US-ASCII character except separator or control character.
name
- the value to setpublic StickyCookieLoadBalancingMethod.Builder domain(String domain)
The domain for which the cookie is set, defaults to WAAS policy domain.
domain
- the value to setpublic StickyCookieLoadBalancingMethod.Builder expirationTimeInSeconds(Integer expirationTimeInSeconds)
The time for which a browser should keep the cookie in seconds. Empty value will cause the cookie to expire at the end of a browser session.
expirationTimeInSeconds
- the value to setpublic StickyCookieLoadBalancingMethod build()
public StickyCookieLoadBalancingMethod.Builder copy(StickyCookieLoadBalancingMethod model)
Copyright © 2016–2024. All rights reserved.