public static class NeutronListenerV2.ListenerConcreteBuilder extends Object implements ListenerV2Builder
Constructor and Description |
---|
ListenerConcreteBuilder() |
ListenerConcreteBuilder(NeutronListenerV2 m) |
Modifier and Type | Method and Description |
---|---|
ListenerV2Builder |
adminStateUp(boolean adminStateUp)
Optional
|
ListenerV2 |
build()
Creates and return the Model Entity M
|
ListenerV2Builder |
connectionLimit(Integer connectionLimit)
Optional
The default value for this attribute will be -1, indicating an infinite limit.
|
ListenerV2Builder |
defaultTlsContainerRef(String tlsContainerRef)
Optional
Barbican container with tls policy
|
ListenerV2Builder |
description(String description)
Optional
|
ListenerV2Builder |
from(ListenerV2 in)
Creates a Builder using the param M as the default values
|
ListenerV2Builder |
loadBalancerId(String loadbalancerId)
The load balancer this listener will be provisioned on.
|
ListenerV2Builder |
name(String name)
Optional
|
ListenerV2Builder |
protocol(ListenerProtocol protocol) |
ListenerV2Builder |
protocolPort(Integer protocolPort)
The port in which the frontend will be listening.
|
ListenerV2Builder |
sniContainerRefs(List<String> sniContainerRefs)
Optional
Barbican container(s) with sni certificates
|
ListenerV2Builder |
tenantId(String tenantId) |
public ListenerConcreteBuilder()
public ListenerConcreteBuilder(NeutronListenerV2 m)
public ListenerV2 build()
Buildable.Builder
build
in interface Buildable.Builder<ListenerV2Builder,ListenerV2>
public ListenerV2Builder from(ListenerV2 in)
Buildable.Builder
from
in interface Buildable.Builder<ListenerV2Builder,ListenerV2>
public ListenerV2Builder loadBalancerId(String loadbalancerId)
ListenerV2Builder
loadBalancerId
in interface ListenerV2Builder
public ListenerV2Builder tenantId(String tenantId)
tenantId
in interface ListenerV2Builder
tenantId
- Owner of the listener. Only an administrative user can specify a
tenant ID other than its own.public ListenerV2Builder protocol(ListenerProtocol protocol)
protocol
in interface ListenerV2Builder
protocol
- The protocol of the VIP address. A valid value is TCP, HTTP,
or HTTPS.public ListenerV2Builder protocolPort(Integer protocolPort)
protocolPort
in interface ListenerV2Builder
public ListenerV2Builder adminStateUp(boolean adminStateUp)
adminStateUp
in interface ListenerV2Builder
adminStateUp
- The administrative state of the VIP. A valid value is true
(UP) or false (DOWN). Default is truepublic ListenerV2Builder name(String name)
name
in interface ListenerV2Builder
name
- Pool name. Does not have to be unique.public ListenerV2Builder description(String description)
description
in interface ListenerV2Builder
description
- Description for the pool.public ListenerV2Builder connectionLimit(Integer connectionLimit)
connectionLimit
in interface ListenerV2Builder
public ListenerV2Builder sniContainerRefs(List<String> sniContainerRefs)
sniContainerRefs
in interface ListenerV2Builder
public ListenerV2Builder defaultTlsContainerRef(String tlsContainerRef)
defaultTlsContainerRef
in interface ListenerV2Builder
Copyright © 2017. All rights reserved.