Class VirtualIpAddress
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.loadbalancer.VirtualIpAddress
@ApiType("SoftLayer_Network_LoadBalancer_VirtualIpAddress") public class VirtualIpAddress extends Entity
The SoftLayer_Network_LoadBalancer_VirtualIpAddress data type contains all the information relating to a specific load balancer assigned to a customer account.
Information retained on the object itself is the virtual IP address, load balancing method, and any notes that are related to the load balancer. There is also an array of SoftLayer_Network_LoadBalancer_Service objects, which represent the load balancer services, explained more fully in the SoftLayer_Network_LoadBalancer_Service documentation.
Information retained on the object itself is the virtual IP address, load balancing method, and any notes that are related to the load balancer. There is also an array of SoftLayer_Network_LoadBalancer_Service objects, which represent the load balancer services, explained more fully in the SoftLayer_Network_LoadBalancer_Service documentation.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualIpAddress.Mask
static interface
VirtualIpAddress.Service
Each SoftLayer customer that has purchased a load balancer will have one defined in the SoftLayer_Network_LoadBalancer_VirtualIpAddress service.static interface
VirtualIpAddress.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that owns this load balancer.protected Item
billingItem
The current billing item for the Load Balancer.protected Long
connectionLimit
Connection limit on this VIP.protected boolean
connectionLimitSpecified
protected Long
customerManagedFlag
If false, this VIP and associated services may be edited via the portal or the API.protected Long
id
Unique ID for this object, used for the getObject method, and must be set if you are editing this object.protected boolean
idSpecified
protected String
loadBalancingMethod
The load balancing method that determines which server is used "next" by the load balancer.protected String
loadBalancingMethodFullName
A human readable version of loadBalancingMethod, intended mainly for API users.protected boolean
loadBalancingMethodFullNameSpecified
protected boolean
loadBalancingMethodSpecified
protected Boolean
managedResourceFlag
A flag indicating that the load balancer is a managed resource.protected GregorianCalendar
modifyDate
Date this load balancer was last modifiedprotected boolean
modifyDateSpecified
protected String
name
The name of the load balancer instanceprotected boolean
nameSpecified
protected String
notes
User-created notes on this load balancer.protected boolean
notesSpecified
protected Long
securityCertificateId
The unique identifier of the Security Certificate to be utilized when SSL support is enabled.protected boolean
securityCertificateIdSpecified
protected Long
serviceCount
A count of the services on this load balancer.protected List<LoadBalancerService>
services
the services on this load balancer.protected Long
sourcePort
This is the port for incoming traffic.protected boolean
sourcePortSpecified
protected String
type
The connection type of this VIP.protected boolean
typeSpecified
protected String
virtualIpAddress
The virtual, public-facing IP address for your load balancer.protected boolean
virtualIpAddressSpecified
-
Constructor Summary
Constructors Constructor Description VirtualIpAddress()
-
Method Summary
-
Field Details
-
account
The account that owns this load balancer. -
billingItem
The current billing item for the Load Balancer. -
customerManagedFlag
If false, this VIP and associated services may be edited via the portal or the API. If true, you must configure this VIP manually on the device. -
managedResourceFlag
A flag indicating that the load balancer is a managed resource. -
services
the services on this load balancer. -
connectionLimit
Connection limit on this VIP. Can be upgraded through the upgradeConnectionLimit() function -
connectionLimitSpecified
protected boolean connectionLimitSpecified -
id
Unique ID for this object, used for the getObject method, and must be set if you are editing this object. -
idSpecified
protected boolean idSpecified -
loadBalancingMethod
The load balancing method that determines which server is used "next" by the load balancer. The method is stored in an abbreviated form, represented in parentheses after the full name. Methods include: Round Robin (Value "rr"): Each server is used sequentially in a circular queue Shortest Response (Value "sr"): The server with the lowest ping at the last health check gets the next request Least Connections (Value "lc"): The server with the least current connections is given the next request Persistent IP - Round Robin (Value "pi"): The same server will be returned to a request during a users session. Servers are chosen through round robin. Persistent IP - Shortest Response (Value "pi-sr"): The same server will be returned to a request during a users session. Servers are chosen through shortest response. Persistent IP - Least Connections (Value "pi-lc"): The same server will be returned to a request during a users session. Servers are chosen through least connections. Insert Cookie - Round Robin (Value "ic"): Inserts a cookie into the HTTP stream that will tie that client to a particular balanced server. Servers are chosen through round robin. Insert Cookie - Shortest Response (Value "ic-sr"): Inserts a cookie into the HTTP stream that will tie that client to a particular balanced server. Servers are chosen through shortest response. Insert Cookie - Least Connections (Value "ic-lc"): Inserts a cookie into the HTTP stream that will tie that client to a particular balanced server. Servers are chosen through least connections. -
loadBalancingMethodSpecified
protected boolean loadBalancingMethodSpecified -
loadBalancingMethodFullName
A human readable version of loadBalancingMethod, intended mainly for API users. -
loadBalancingMethodFullNameSpecified
protected boolean loadBalancingMethodFullNameSpecified -
modifyDate
Date this load balancer was last modified -
modifyDateSpecified
protected boolean modifyDateSpecified -
name
The name of the load balancer instance -
nameSpecified
protected boolean nameSpecified -
notes
User-created notes on this load balancer. -
notesSpecified
protected boolean notesSpecified -
securityCertificateId
The unique identifier of the Security Certificate to be utilized when SSL support is enabled. -
securityCertificateIdSpecified
protected boolean securityCertificateIdSpecified -
sourcePort
This is the port for incoming traffic. -
sourcePortSpecified
protected boolean sourcePortSpecified -
type
The connection type of this VIP. Valid values are HTTP, FTP, TCP, UDP, and DNS. -
typeSpecified
protected boolean typeSpecified -
virtualIpAddress
The virtual, public-facing IP address for your load balancer. This is the address of all incoming traffic -
virtualIpAddressSpecified
protected boolean virtualIpAddressSpecified -
serviceCount
A count of the services on this load balancer.
-
-
Constructor Details
-
VirtualIpAddress
public VirtualIpAddress()
-
-
Method Details
-
getAccount
-
setAccount
-
getBillingItem
-
setBillingItem
-
getCustomerManagedFlag
-
setCustomerManagedFlag
-
getManagedResourceFlag
-
setManagedResourceFlag
-
getServices
-
getConnectionLimit
-
setConnectionLimit
-
isConnectionLimitSpecified
public boolean isConnectionLimitSpecified() -
unsetConnectionLimit
public void unsetConnectionLimit() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getLoadBalancingMethod
-
setLoadBalancingMethod
-
isLoadBalancingMethodSpecified
public boolean isLoadBalancingMethodSpecified() -
unsetLoadBalancingMethod
public void unsetLoadBalancingMethod() -
getLoadBalancingMethodFullName
-
setLoadBalancingMethodFullName
-
isLoadBalancingMethodFullNameSpecified
public boolean isLoadBalancingMethodFullNameSpecified() -
unsetLoadBalancingMethodFullName
public void unsetLoadBalancingMethodFullName() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getNotes
-
setNotes
-
isNotesSpecified
public boolean isNotesSpecified() -
unsetNotes
public void unsetNotes() -
getSecurityCertificateId
-
setSecurityCertificateId
-
isSecurityCertificateIdSpecified
public boolean isSecurityCertificateIdSpecified() -
unsetSecurityCertificateId
public void unsetSecurityCertificateId() -
getSourcePort
-
setSourcePort
-
isSourcePortSpecified
public boolean isSourcePortSpecified() -
unsetSourcePort
public void unsetSourcePort() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType() -
getVirtualIpAddress
-
setVirtualIpAddress
-
isVirtualIpAddressSpecified
public boolean isVirtualIpAddressSpecified() -
unsetVirtualIpAddress
public void unsetVirtualIpAddress() -
getServiceCount
-
setServiceCount
-
asService
-
service
-
service
-