public static class NeutronLoadBalancerV2.LoadBalancerV2ConcreteBuilder extends Object implements LoadBalancerV2Builder
Constructor and Description |
---|
LoadBalancerV2ConcreteBuilder() |
LoadBalancerV2ConcreteBuilder(NeutronLoadBalancerV2 m) |
Modifier and Type | Method and Description |
---|---|
LoadBalancerV2Builder |
address(String vipAddress)
Optional
|
LoadBalancerV2Builder |
adminStateUp(boolean adminStateUp)
Optional
|
LoadBalancerV2 |
build()
Creates and return the Model Entity M
|
LoadBalancerV2Builder |
description(String description)
Optional
|
LoadBalancerV2Builder |
from(LoadBalancerV2 in)
Creates a Builder using the param M as the default values
|
LoadBalancerV2Builder |
name(String name)
Optional
|
LoadBalancerV2Builder |
provider(String provider)
Optional
|
LoadBalancerV2Builder |
subnetId(String vipSubnetId)
Optional
|
LoadBalancerV2Builder |
tenantId(String tenantId) |
public LoadBalancerV2ConcreteBuilder()
public LoadBalancerV2ConcreteBuilder(NeutronLoadBalancerV2 m)
public LoadBalancerV2 build()
build
in interface Buildable.Builder<LoadBalancerV2Builder,LoadBalancerV2>
public LoadBalancerV2Builder from(LoadBalancerV2 in)
from
in interface Buildable.Builder<LoadBalancerV2Builder,LoadBalancerV2>
public LoadBalancerV2Builder tenantId(String tenantId)
tenantId
in interface LoadBalancerV2Builder
tenantId
- Owner of the loadbalancer. Only an admin user can specify a tenant ID
other than its own.public LoadBalancerV2Builder name(String name)
name
in interface LoadBalancerV2Builder
name
- Human-readable name for the loadbalancer. Does not have to be unique.public LoadBalancerV2Builder description(String description)
description
in interface LoadBalancerV2Builder
description
- Human-readable description for the loadbalancer.public LoadBalancerV2Builder subnetId(String vipSubnetId)
subnetId
in interface LoadBalancerV2Builder
vipSubnetId
- The network on which to allocate the load balancer's vip address.
A tenant can only create load balancer vips on networks authorized by policy (e.g. her own networks or shared/provider networks).public LoadBalancerV2Builder address(String vipAddress)
address
in interface LoadBalancerV2Builder
vipAddress
- The IP address of the VIP.
If provided, the system will attempt to assign the load balancer's vip address to this.public LoadBalancerV2Builder adminStateUp(boolean adminStateUp)
adminStateUp
in interface LoadBalancerV2Builder
adminStateUp
- The administrative state of the VIP. A valid value is true
(UP) or false (DOWN).public LoadBalancerV2Builder provider(String provider)
LoadBalancerV2Builder
provider
in interface LoadBalancerV2Builder
provider
- Set the provider the load balancer will be provisioned withCopyright © 2017. All rights reserved.