Package org.openstack4j.model.octavia
Interface ListenerV2
-
- All Superinterfaces:
Buildable<ListenerV2Builder>,ModelEntity,Serializable
- All Known Implementing Classes:
OctaviaListenerV2
public interface ListenerV2 extends ModelEntity, Buildable<ListenerV2Builder>
A listener for v2 loadbalancer- Author:
- wei
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetConnectionLimit()StringgetDefaultPoolId()StringgetDefaultTlsContainerRef()StringgetDescription()StringgetId()List<ListItem>getLoadBalancers()StringgetName()StringgetProjectId()ListenerProtocolgetProtocol()IntegergetProtocolPort()List<String>getSniContainerRefs()booleanisAdminStateUp()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- id. The unique ID for the listener.
-
getProjectId
String getProjectId()
- Returns:
- the ID of the project/tenant that owns the resource
-
getName
String getName()
- Returns:
- listener name. Does not have to be unique.
-
getDescription
String getDescription()
- Returns:
- Description for the listener.
-
getProtocol
ListenerProtocol getProtocol()
- Returns:
- The protocol of the listener, which is TCP, HTTP, or HTTPS.
-
getProtocolPort
Integer getProtocolPort()
- Returns:
- The protocol of the listener.
-
getConnectionLimit
Integer getConnectionLimit()
- Returns:
- The connection limit of the listener. -1 indicates an infinite limit.
-
getDefaultPoolId
String getDefaultPoolId()
- Returns:
- The default pool id of the listener.
-
getDefaultTlsContainerRef
String getDefaultTlsContainerRef()
- Returns:
- the default tls container ref
-
isAdminStateUp
boolean isAdminStateUp()
- Returns:
- The administrative state of the listener, which is up (true) or down (false).
-
-