Class NeutronVip
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronVip
-
- All Implemented Interfaces:
Serializable,Buildable<VipBuilder>,ModelEntity,Vip
public class NeutronVip extends Object implements Vip
- Author:
- liujunpeng
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronVip.VipContreteBuilderstatic classNeutronVip.Vips-
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 NeutronVip()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VipBuilderbuilder()StringgetAddress()IntegergetConnectionLimit()StringgetDescription()StringgetId()StringgetName()StringgetPoolId()ProtocolgetProtocol()IntegergetProtocolPort()SessionPersistencegetSessionPersistence()StringgetStatus()StringgetSubnetId()StringgetTenantId()booleanisAdminStateUp()VipBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static VipBuilder builder()
-
toBuilder
public VipBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<VipBuilder>
-
getAddress
public String getAddress()
- Specified by:
getAddressin interfaceVip- Returns:
- The IP address of the VIP.
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUpin interfaceVip- Returns:
- The administrative state of the VIP. A valid value is true (UP) or false (DOWN).
-
getConnectionLimit
public Integer getConnectionLimit()
- Specified by:
getConnectionLimitin interfaceVip- Returns:
- connectionLimit.The maximum number of connections allowed for the VIP. Default is -1, meaning no limit.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceVip- Returns:
- Human-readable description for the VIP
-
getId
public String getId()
-
getName
public String getName()
-
getPoolId
public String getPoolId()
-
getProtocol
public Protocol getProtocol()
- Specified by:
getProtocolin interfaceVip- Returns:
- The protocol of the VIP address. A valid value is TCP, HTTP, or HTTPS.
-
getProtocolPort
public Integer getProtocolPort()
- Specified by:
getProtocolPortin interfaceVip- Returns:
- The port on which to listen to client traffic that is associated with the VIP address. A valid value is from 1 to 65535.
-
getSessionPersistence
public SessionPersistence getSessionPersistence()
- Specified by:
getSessionPersistencein interfaceVip- Returns:
- SessionPersistence.Session persistence parameters for the VIP. Omit the session_persistence parameter to prevent session persistence. When no session persistence is used, the session_persistence parameter does not appear in the API response. To clear session persistence for the VIP, set the session_persistence parameter to null in a VIP update request.
-
getStatus
public String getStatus()
-
getSubnetId
public String getSubnetId()
- Specified by:
getSubnetIdin interfaceVip- Returns:
- The ID of the subnet on which to allocate the VIP address.
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceVip- Returns:
- The Tenant Id.Owner of the VIP.
-
-