Class OctaviaLoadBalancerV2.LoadBalancerV2ConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.octavia.domain.OctaviaLoadBalancerV2.LoadBalancerV2ConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<LoadBalancerV2Builder,LoadBalancerV2>
,LoadBalancerV2Builder
- Enclosing class:
- OctaviaLoadBalancerV2
public static class OctaviaLoadBalancerV2.LoadBalancerV2ConcreteBuilder extends Object implements LoadBalancerV2Builder
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerV2ConcreteBuilder()
LoadBalancerV2ConcreteBuilder(OctaviaLoadBalancerV2 m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancerV2Builder
address(String vipAddress)
OptionalLoadBalancerV2Builder
adminStateUp(boolean adminStateUp)
OptionalLoadBalancerV2
build()
Creates and return the Model Entity MLoadBalancerV2Builder
description(String description)
OptionalLoadBalancerV2Builder
from(LoadBalancerV2 in)
Creates a Builder using the param M as the default valuesLoadBalancerV2Builder
name(String name)
OptionalLoadBalancerV2Builder
networkId(String vipNetworkId)
OptionalLoadBalancerV2Builder
portId(String vipPortId)
OptionalLoadBalancerV2Builder
projectId(String projectId)
LoadBalancerV2Builder
provider(String provider)
OptionalLoadBalancerV2Builder
subnetId(String vipSubnetId)
Optional
-
-
-
Constructor Detail
-
LoadBalancerV2ConcreteBuilder
public LoadBalancerV2ConcreteBuilder()
-
LoadBalancerV2ConcreteBuilder
public LoadBalancerV2ConcreteBuilder(OctaviaLoadBalancerV2 m)
-
-
Method Detail
-
build
public LoadBalancerV2 build()
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<LoadBalancerV2Builder,LoadBalancerV2>
- Returns:
- M instance
-
from
public LoadBalancerV2Builder from(LoadBalancerV2 in)
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<LoadBalancerV2Builder,LoadBalancerV2>
- Returns:
- Builder
-
projectId
public LoadBalancerV2Builder projectId(String projectId)
- Specified by:
projectId
in interfaceLoadBalancerV2Builder
- Parameters:
projectId
- the ID of the project/tenant that owns the resource- Returns:
- LoadBalancerV2Builder
-
name
public LoadBalancerV2Builder name(String name)
Optional- Specified by:
name
in interfaceLoadBalancerV2Builder
- Parameters:
name
- Human-readable name for the loadbalancer. Does not have to be unique.- Returns:
- LoadBalancerV2Builder
-
description
public LoadBalancerV2Builder description(String description)
Optional- Specified by:
description
in interfaceLoadBalancerV2Builder
- Parameters:
description
- Human-readable description for the loadbalancer.- Returns:
- LoadBalancerV2Builder
-
networkId
public LoadBalancerV2Builder networkId(String vipNetworkId)
Optional- Specified by:
networkId
in interfaceLoadBalancerV2Builder
- Parameters:
vipNetworkId
- 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).- Returns:
- LoadBalancerV2Builder
-
subnetId
public LoadBalancerV2Builder subnetId(String vipSubnetId)
Optional- Specified by:
subnetId
in interfaceLoadBalancerV2Builder
- Parameters:
vipSubnetId
- The subnet on which to allocate the load balancer's vip address. A tenant can only create load balancer vips on subnets authorized by policy.- Returns:
- LoadBalancerV2Builder
-
portId
public LoadBalancerV2Builder portId(String vipPortId)
Optional- Specified by:
portId
in interfaceLoadBalancerV2Builder
- Parameters:
vipPortId
- The vip port.- Returns:
- LoadBalancerV2Builder
-
address
public LoadBalancerV2Builder address(String vipAddress)
Optional- Specified by:
address
in interfaceLoadBalancerV2Builder
- Parameters:
vipAddress
- The IP address of the VIP. If provided, the system will attempt to assign the load balancer's vip address to this.- Returns:
- LoadBalancerV2Builder
-
adminStateUp
public LoadBalancerV2Builder adminStateUp(boolean adminStateUp)
Optional- Specified by:
adminStateUp
in interfaceLoadBalancerV2Builder
- Parameters:
adminStateUp
- The administrative state of the VIP. A valid value is true (UP) or false (DOWN).- Returns:
- LoadBalancerV2Builder
-
provider
public LoadBalancerV2Builder provider(String provider)
Description copied from interface:LoadBalancerV2Builder
Optional- Specified by:
provider
in interfaceLoadBalancerV2Builder
- Parameters:
provider
- Set the provider the load balancer will be provisioned with
-
-