Class NeutronListenerV2
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronListenerV2
-
- All Implemented Interfaces:
Serializable,Buildable<ListenerV2Builder>,ModelEntity,ListenerV2
public class NeutronListenerV2 extends Object implements ListenerV2
lbaas v2 listener- Author:
- emjburns
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronListenerV2.ListenerConcreteBuilderstatic classNeutronListenerV2.Listeners-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronListenerV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListenerV2Builderbuilder()IntegergetConnectionLimit()StringgetDefaultPoolId()StringgetDefaultTlsContainerRef()StringgetDescription()StringgetId()List<ListItem>getLoadBalancers()StringgetName()ListenerProtocolgetProtocol()IntegergetProtocolPort()List<String>getSniContainerRefs()StringgetTenantId()booleanisAdminStateUp()ListenerV2BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static ListenerV2Builder builder()
-
getLoadBalancers
public List<ListItem> getLoadBalancers()
- Specified by:
getLoadBalancersin interfaceListenerV2- Returns:
- The loadbalancers of the listener.
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUpin interfaceListenerV2- Returns:
- The administrative state of the listener, which is up (true) or down (false).
-
getDefaultPoolId
public String getDefaultPoolId()
- Specified by:
getDefaultPoolIdin interfaceListenerV2- Returns:
- The default pool id of the listener.
-
getConnectionLimit
public Integer getConnectionLimit()
- Specified by:
getConnectionLimitin interfaceListenerV2- Returns:
- The connection limit of the listener. -1 indicates an infinite limit.
-
getProtocolPort
public Integer getProtocolPort()
- Specified by:
getProtocolPortin interfaceListenerV2- Returns:
- The protocol of the listener.
-
getProtocol
public ListenerProtocol getProtocol()
- Specified by:
getProtocolin interfaceListenerV2- Returns:
- The protocol of the listener, which is TCP, HTTP, or HTTPS.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceListenerV2- Returns:
- Description for the listener.
-
getName
public String getName()
- Specified by:
getNamein interfaceListenerV2- Returns:
- listener name. Does not have to be unique.
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceListenerV2- Returns:
- tenantId. Owner of the listener. Only an administrative user can specify a tenant ID other than its own.
-
getDefaultTlsContainerRef
public String getDefaultTlsContainerRef()
- Specified by:
getDefaultTlsContainerRefin interfaceListenerV2- Returns:
- the default tls container ref
-
getSniContainerRefs
public List<String> getSniContainerRefs()
- Specified by:
getSniContainerRefsin interfaceListenerV2- Returns:
- the sni container refs
-
getId
public String getId()
- Specified by:
getIdin interfaceListenerV2- Returns:
- id. The unique ID for the listener.
-
toBuilder
public ListenerV2Builder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ListenerV2Builder>
-
-