public static final class LbCookiePersistenceProfile.Builder
extends java.lang.Object
LbCookiePersistenceProfile
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LbCookiePersistenceProfile . |
Modifier and Type | Method and Description |
---|---|
LbCookiePersistenceProfile |
build() |
LbCookiePersistenceProfile.Builder |
setCookieDomain(java.lang.String cookieDomain)
HTTP cookie domain could be configured, only available for insert mode.
|
LbCookiePersistenceProfile.Builder |
setCookieFallback(java.lang.Boolean cookieFallback)
If fallback is true, once the cookie points to a server that is down (i.e.
|
LbCookiePersistenceProfile.Builder |
setCookieGarble(java.lang.Boolean cookieGarble)
If garble is set to true, cookie value (server IP and port) would be encrypted.
|
LbCookiePersistenceProfile.Builder |
setCookieHttponly(java.lang.Boolean cookieHttponly)
If cookie httponly flag is true, it prevents a script running in the browser
from accessing the cookie.
|
LbCookiePersistenceProfile.Builder |
setCookieMode(java.lang.String cookieMode)
Possible values are:
LbCookiePersistenceProfile.COOKIE_MODE_INSERT
LbCookiePersistenceProfile.COOKIE_MODE_PREFIX
LbCookiePersistenceProfile.COOKIE_MODE_REWRITE
cookie persistence mode |
LbCookiePersistenceProfile.Builder |
setCookieName(java.lang.String cookieName)
cookie name
|
LbCookiePersistenceProfile.Builder |
setCookiePath(java.lang.String cookiePath)
HTTP cookie path could be set, only available for insert mode.
|
LbCookiePersistenceProfile.Builder |
setCookieSecure(java.lang.Boolean cookieSecure)
If cookie secure flag is true, it prevents the browser from sending a cookie
over http.
|
LbCookiePersistenceProfile.Builder |
setCookieTime(com.vmware.vapi.bindings.Structure cookieTime) |
LbCookiePersistenceProfile.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setDescription(java.lang.String description)
Description of this resource
|
LbCookiePersistenceProfile.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LbCookiePersistenceProfile.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
LbCookiePersistenceProfile.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LbCookiePersistenceProfile.Builder |
setPersistenceShared(java.lang.Boolean persistenceShared)
The persistence shared flag identifies whether the persistence table is shared
among virtual-servers referring this profile.
|
LbCookiePersistenceProfile.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
LbCookiePersistenceProfile.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LbCookiePersistenceProfile.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setSelf(SelfResourceLink self) |
LbCookiePersistenceProfile.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LbCookiePersistenceProfile.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
LbCookiePersistenceProfile
.public LbCookiePersistenceProfile.Builder setCookieDomain(java.lang.String cookieDomain)
cookieDomain
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieFallback(java.lang.Boolean cookieFallback)
cookieFallback
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieGarble(java.lang.Boolean cookieGarble)
cookieGarble
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieHttponly(java.lang.Boolean cookieHttponly)
cookieHttponly
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieMode(java.lang.String cookieMode)
cookieMode
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieName(java.lang.String cookieName)
cookieName
- New value for the property.public LbCookiePersistenceProfile.Builder setCookiePath(java.lang.String cookiePath)
cookiePath
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieSecure(java.lang.Boolean cookieSecure)
cookieSecure
- New value for the property.public LbCookiePersistenceProfile.Builder setCookieTime(com.vmware.vapi.bindings.Structure cookieTime)
cookieTime
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in LbCookieTime
.
When methods return a value of this class as a return value, the property will
contain all the properties defined in LbCookieTime
.public LbCookiePersistenceProfile.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public LbCookiePersistenceProfile.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public LbCookiePersistenceProfile.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public LbCookiePersistenceProfile.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public LbCookiePersistenceProfile.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public LbCookiePersistenceProfile.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public LbCookiePersistenceProfile.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public LbCookiePersistenceProfile.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public LbCookiePersistenceProfile.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public LbCookiePersistenceProfile.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public LbCookiePersistenceProfile.Builder setDescription(java.lang.String description)
description
- New value for the property.public LbCookiePersistenceProfile.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public LbCookiePersistenceProfile.Builder setId(java.lang.String id)
id
- New value for the property.public LbCookiePersistenceProfile.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public LbCookiePersistenceProfile.Builder setPersistenceShared(java.lang.Boolean persistenceShared)
persistenceShared
- New value for the property.public LbCookiePersistenceProfile build()