public static class NeutronVip.VipContreteBuilder extends Object implements VipBuilder
Constructor and Description |
---|
VipContreteBuilder() |
VipContreteBuilder(NeutronVip m) |
Modifier and Type | Method and Description |
---|---|
VipBuilder |
address(String address)
Optional
|
VipBuilder |
adminStateUp(boolean adminStateUp)
Optional
|
Vip |
build()
Creates and return the Model Entity M
|
VipBuilder |
connectionLimit(Integer connectionLimit)
Optional
|
VipBuilder |
description(String description)
Optional
|
VipBuilder |
from(Vip in)
Creates a Builder using the param M as the default values
|
VipBuilder |
name(String name)
Optional
|
VipBuilder |
poolId(String poolId)
Optional
|
VipBuilder |
protocol(Protocol protocol) |
VipBuilder |
protocolPort(Integer protocolPort) |
VipBuilder |
sessionPersistence(SessionPersistence sessionPersistence)
Optional
|
VipBuilder |
subnetId(String subnetId)
Optional
|
VipBuilder |
tenantId(String tenantId) |
public VipContreteBuilder()
public VipContreteBuilder(NeutronVip m)
public Vip build()
build
in interface Buildable.Builder<VipBuilder,Vip>
public VipBuilder from(Vip in)
Buildable.Builder
from
in interface Buildable.Builder<VipBuilder,Vip>
public VipBuilder tenantId(String tenantId)
tenantId
in interface VipBuilder
tenantId
- Owner of the VIP. Only an admin user can specify a tenant ID
other than its own.public VipBuilder name(String name)
name
in interface VipBuilder
name
- Human-readable name for the VIP. Does not have to be unique.public VipBuilder description(String description)
description
in interface VipBuilder
description
- Human-readable description for the VIP.public VipBuilder subnetId(String subnetId)
subnetId
in interface VipBuilder
subnetId
- The ID of the subnet on which to allocate the VIP address.public VipBuilder address(String address)
address
in interface VipBuilder
address
- The IP address of the VIP.public VipBuilder protocol(Protocol protocol)
protocol
in interface VipBuilder
protocol
- The protocol of the VIP address. A valid value is TCP, HTTP,
or HTTPS.public VipBuilder protocolPort(Integer protocolPort)
protocolPort
in interface VipBuilder
protocolPort
- The port on which to listen to client traffic that is
associated with the VIP address. A valid value is from 1 to
65535.public VipBuilder poolId(String poolId)
poolId
in interface VipBuilder
poolId
- The pool identifierpublic VipBuilder sessionPersistence(SessionPersistence sessionPersistence)
sessionPersistence
in interface VipBuilder
sessionPersistence
- . Session persistence parameters for the VIP. Omit the
session_persistence parameter to prevent session persistence.
When no session persistence is used, the session_persistence
parameter does not appear in the API response. To clear
session persistence for the VIP, set the session_persistence
parameter to null in a VIP update request.public VipBuilder connectionLimit(Integer connectionLimit)
connectionLimit
in interface VipBuilder
connectionLimit
- The maximum number of connections allowed for the VIP. Value
is -1 if the limit is not set.public VipBuilder adminStateUp(boolean adminStateUp)
adminStateUp
in interface VipBuilder
adminStateUp
- The administrative state of the VIP. A valid value is true
(UP) or false (DOWN).Copyright © 2017. All rights reserved.