Package com.vmware.nsx_policy.model
Class LBSessionCookieTime.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBSessionCookieTime.Builder
-
- Enclosing class:
- LBSessionCookieTime
public static final class LBSessionCookieTime.Builder extends java.lang.Object
Builder class forLBSessionCookieTime
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBSessionCookieTime
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBSessionCookieTime
build()
LBSessionCookieTime.Builder
setCookieMaxIdle(java.lang.Long cookieMaxIdle)
Instead of using HTTP Cookie max-age and relying on client to expire the cookie, max idle time and/or max lifetime of the cookie can be used.LBSessionCookieTime.Builder
setCookieMaxLife(java.lang.Long cookieMaxLife)
Max life time, if configured, specifies the maximum interval the cookie is valid for from the first time the cookie was seen in a request.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBSessionCookieTime
.
-
-
Method Detail
-
setCookieMaxIdle
public LBSessionCookieTime.Builder setCookieMaxIdle(java.lang.Long cookieMaxIdle)
Instead of using HTTP Cookie max-age and relying on client to expire the cookie, max idle time and/or max lifetime of the cookie can be used. Max idle time, if configured, specifies the maximum interval the cookie is valid for from the last time it was seen in a request. It is available for insert mode. format: int64- Parameters:
cookieMaxIdle
- New value for the property.
-
setCookieMaxLife
public LBSessionCookieTime.Builder setCookieMaxLife(java.lang.Long cookieMaxLife)
Max life time, if configured, specifies the maximum interval the cookie is valid for from the first time the cookie was seen in a request. It is available for insert mode. format: int64- Parameters:
cookieMaxLife
- New value for the property.
-
build
public LBSessionCookieTime build()
-
-