Class NeutronListenerV2.ListenerConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronListenerV2.ListenerConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<ListenerV2Builder,ListenerV2>
,ListenerV2Builder
- Enclosing class:
- NeutronListenerV2
public static class NeutronListenerV2.ListenerConcreteBuilder extends Object implements ListenerV2Builder
-
-
Constructor Summary
Constructors Constructor Description ListenerConcreteBuilder()
ListenerConcreteBuilder(NeutronListenerV2 m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerV2Builder
adminStateUp(boolean adminStateUp)
OptionalListenerV2
build()
Creates and return the Model Entity MListenerV2Builder
connectionLimit(Integer connectionLimit)
OptionalListenerV2Builder
defaultTlsContainerRef(String tlsContainerRef)
OptionalListenerV2Builder
description(String description)
OptionalListenerV2Builder
from(ListenerV2 in)
Creates a Builder using the param M as the default valuesListenerV2Builder
loadBalancerId(String loadbalancerId)
The load balancer this listener will be provisioned on.ListenerV2Builder
name(String name)
OptionalListenerV2Builder
protocol(ListenerProtocol protocol)
ListenerV2Builder
protocolPort(Integer protocolPort)
The port in which the frontend will be listening.ListenerV2Builder
sniContainerRefs(List<String> sniContainerRefs)
OptionalListenerV2Builder
tenantId(String tenantId)
-
-
-
Constructor Detail
-
ListenerConcreteBuilder
public ListenerConcreteBuilder()
-
ListenerConcreteBuilder
public ListenerConcreteBuilder(NeutronListenerV2 m)
-
-
Method Detail
-
build
public ListenerV2 build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<ListenerV2Builder,ListenerV2>
- Returns:
- M instance
-
from
public ListenerV2Builder from(ListenerV2 in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<ListenerV2Builder,ListenerV2>
- Returns:
- Builder
-
loadBalancerId
public ListenerV2Builder loadBalancerId(String loadbalancerId)
Description copied from interface:ListenerV2Builder
The load balancer this listener will be provisioned on. A tenant can only create listeners on load balancers authorized by policy (e.g. her own load balancers).- Specified by:
loadBalancerId
in interfaceListenerV2Builder
- Returns:
- ListenerV2Builder
-
tenantId
public ListenerV2Builder tenantId(String tenantId)
- Specified by:
tenantId
in interfaceListenerV2Builder
- Parameters:
tenantId
- Owner of the listener. Only an administrative user can specify a tenant ID other than its own.- Returns:
- ListenerV2Builder
-
protocol
public ListenerV2Builder protocol(ListenerProtocol protocol)
- Specified by:
protocol
in interfaceListenerV2Builder
- Parameters:
protocol
- The protocol of the VIP address. A valid value is TCP, HTTP, or HTTPS.- Returns:
- ListenerV2Builder
-
protocolPort
public ListenerV2Builder protocolPort(Integer protocolPort)
The port in which the frontend will be listening. Must be an integer in the range of 1-65535- Specified by:
protocolPort
in interfaceListenerV2Builder
- Returns:
- ListenerV2Builder
-
adminStateUp
public ListenerV2Builder adminStateUp(boolean adminStateUp)
Optional- Specified by:
adminStateUp
in interfaceListenerV2Builder
- Parameters:
adminStateUp
- The administrative state of the VIP. A valid value is true (UP) or false (DOWN). Default is true- Returns:
- ListenerV2Builder
-
name
public ListenerV2Builder name(String name)
Optional- Specified by:
name
in interfaceListenerV2Builder
- Parameters:
name
- Pool name. Does not have to be unique.- Returns:
- ListenerV2Builder
-
description
public ListenerV2Builder description(String description)
Optional- Specified by:
description
in interfaceListenerV2Builder
- Parameters:
description
- Description for the pool.- Returns:
- ListenerV2Builder
-
connectionLimit
public ListenerV2Builder connectionLimit(Integer connectionLimit)
OptionalThe default value for this attribute will be -1, indicating an infinite limit.
- Specified by:
connectionLimit
in interfaceListenerV2Builder
- Returns:
- ListenerV2Builder
-
sniContainerRefs
public ListenerV2Builder sniContainerRefs(List<String> sniContainerRefs)
OptionalBarbican container(s) with sni certificates
- Specified by:
sniContainerRefs
in interfaceListenerV2Builder
- Returns:
- ListenerV2Builder
-
defaultTlsContainerRef
public ListenerV2Builder defaultTlsContainerRef(String tlsContainerRef)
OptionalBarbican container with tls policy
- Specified by:
defaultTlsContainerRef
in interfaceListenerV2Builder
- Returns:
- ListenerV2Builder
-
-