Interface ListenerV2Builder
-
- All Superinterfaces:
Buildable.Builder<ListenerV2Builder,ListenerV2>
- All Known Implementing Classes:
OctaviaListenerV2.ListenerConcreteBuilder
public interface ListenerV2Builder extends Buildable.Builder<ListenerV2Builder,ListenerV2>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListenerV2BuilderadminStateUp(boolean adminStateUp)OptionalListenerV2BuilderconnectionLimit(Integer connectionLimit)OptionalListenerV2BuilderdefaultTlsContainerRef(String tlsContainerRef)OptionalListenerV2Builderdescription(String description)OptionalListenerV2BuilderloadBalancerId(String loadbalancerId)The load balancer this listener will be provisioned on.ListenerV2Buildername(String name)OptionalListenerV2BuilderprojectId(String projectId)ListenerV2Builderprotocol(ListenerProtocol protocol)ListenerV2BuilderprotocolPort(Integer protocolPort)The port in which the frontend will be listening.ListenerV2BuildersniContainerRefs(List<String> sniContainerRefs)Optional-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
projectId
ListenerV2Builder projectId(String projectId)
- Parameters:
projectId- the ID of the project/tenant that owns the resource- Returns:
- ListenerV2Builder
-
protocol
ListenerV2Builder protocol(ListenerProtocol protocol)
- Parameters:
protocol- The protocol of the VIP address. A valid value is TCP, HTTP, or HTTPS.- Returns:
- ListenerV2Builder
-
protocolPort
ListenerV2Builder protocolPort(Integer protocolPort)
The port in which the frontend will be listening. Must be an integer in the range of 1-65535- Returns:
- ListenerV2Builder
-
loadBalancerId
ListenerV2Builder loadBalancerId(String loadbalancerId)
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).- Returns:
- ListenerV2Builder
-
adminStateUp
ListenerV2Builder adminStateUp(boolean adminStateUp)
Optional- Parameters:
adminStateUp- The administrative state of the VIP. A valid value is true (UP) or false (DOWN). Default is true- Returns:
- ListenerV2Builder
-
name
ListenerV2Builder name(String name)
Optional- Parameters:
name- Pool name. Does not have to be unique.- Returns:
- ListenerV2Builder
-
description
ListenerV2Builder description(String description)
Optional- Parameters:
description- Description for the pool.- Returns:
- ListenerV2Builder
-
connectionLimit
ListenerV2Builder connectionLimit(Integer connectionLimit)
OptionalThe default value for this attribute will be -1, indicating an infinite limit.
- Returns:
- ListenerV2Builder
-
defaultTlsContainerRef
ListenerV2Builder defaultTlsContainerRef(String tlsContainerRef)
OptionalBarbican container with tls policy
- Returns:
- ListenerV2Builder
-
sniContainerRefs
ListenerV2Builder sniContainerRefs(List<String> sniContainerRefs)
OptionalBarbican container(s) with sni certificates
- Returns:
- ListenerV2Builder
-
-