Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LbPool . |
Modifier and Type | Method and Description |
---|---|
LbPool |
build() |
LbPool.Builder |
setActiveMonitorIds(java.util.List<java.lang.String> activeMonitorIds)
In case of active healthchecks, load balancer itself initiates new connections
(or sends ICMP ping) to the servers periodically to check their health,
completely independent of any data traffic.
|
LbPool.Builder |
setAlgorithm(java.lang.String algorithm)
Possible values are:
LbPool.ALGORITHM_ROUND_ROBIN LbPool.ALGORITHM_WEIGHTED_ROUND_ROBIN LbPool.ALGORITHM_LEAST_CONNECTION LbPool.ALGORITHM_WEIGHTED_LEAST_CONNECTION
LbPool.ALGORITHM_IP_HASH Load balancing
algorithm, configurable per pool controls how the incoming connections are
distributed among the members. |
LbPool.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.
|
LbPool.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.
|
LbPool.Builder |
setDescription(java.lang.String description)
Description of this resource
|
LbPool.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
LbPool.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
LbPool.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.
|
LbPool.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.
|
LbPool.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
LbPool.Builder |
setMemberGroup(PoolMemberGroup memberGroup) |
LbPool.Builder |
setMembers(java.util.List<PoolMember> members)
Server pool consists of one or more pool members.
|
LbPool.Builder |
setMinActiveMembers(java.lang.Long minActiveMembers)
A pool is considered active if there are at least certain minimum number of
members.
|
LbPool.Builder |
setPassiveMonitorId(java.lang.String passiveMonitorId)
Passive healthchecks are disabled by default and can be enabled by attaching a
passive health monitor to a server pool.
|
LbPool.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.
|
LbPool.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
LbPool.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
LbPool.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.
|
LbPool.Builder |
setSelf(SelfResourceLink self) |
LbPool.Builder |
setSnatTranslation(com.vmware.vapi.bindings.Structure snatTranslation) |
LbPool.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.
|
LbPool.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
LbPool.Builder |
setTcpMultiplexingEnabled(java.lang.Boolean tcpMultiplexingEnabled)
TCP multiplexing allows the same TCP connection between load balancer and the
backend server to be used for sending multiple client requests from different
client TCP connections.
|
LbPool.Builder |
setTcpMultiplexingNumber(java.lang.Long tcpMultiplexingNumber)
The maximum number of TCP connections per pool that are idly kept alive for
sending future client requests.
|
public Builder()
LbPool
.public LbPool.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public LbPool.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public LbPool.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public LbPool.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public LbPool.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public LbPool.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public LbPool.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public LbPool.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public LbPool.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public LbPool.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public LbPool.Builder setDescription(java.lang.String description)
description
- New value for the property.public LbPool.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public LbPool.Builder setId(java.lang.String id)
id
- New value for the property.public LbPool.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public LbPool.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public LbPool.Builder setActiveMonitorIds(java.util.List<java.lang.String> activeMonitorIds)
activeMonitorIds
- New value for the property.public LbPool.Builder setAlgorithm(java.lang.String algorithm)
algorithm
- New value for the property.public LbPool.Builder setMemberGroup(PoolMemberGroup memberGroup)
memberGroup
- New value for the property.public LbPool.Builder setMembers(java.util.List<PoolMember> members)
members
- New value for the property.public LbPool.Builder setMinActiveMembers(java.lang.Long minActiveMembers)
minActiveMembers
- New value for the property.public LbPool.Builder setPassiveMonitorId(java.lang.String passiveMonitorId)
passiveMonitorId
- New value for the property.public LbPool.Builder setSnatTranslation(com.vmware.vapi.bindings.Structure snatTranslation)
snatTranslation
- 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 LbSnatTranslation
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
LbSnatTranslation
.public LbPool.Builder setTcpMultiplexingEnabled(java.lang.Boolean tcpMultiplexingEnabled)
tcpMultiplexingEnabled
- New value for the property.public LbPool.Builder setTcpMultiplexingNumber(java.lang.Long tcpMultiplexingNumber)
tcpMultiplexingNumber
- New value for the property.public LbPool build()