Class LoadBalancerServerInstanceInfo
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.lbaas.LoadBalancerServerInstanceInfo
-
@ApiType("SoftLayer_Network_LBaaS_LoadBalancerServerInstanceInfo") public class LoadBalancerServerInstanceInfo extends Entity
SoftLayer_Network_LBaaS_LoadBalancerServerInstanceInfo specifies the application server, usually an IBM SoftLayer virtual server or bare metal system, to be assigned to a load balancer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancerServerInstanceInfo.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
privateIpAddress
Servers private IP addressprotected boolean
privateIpAddressSpecified
protected String
publicIpAddress
Servers public IP addressprotected boolean
publicIpAddressSpecified
protected Long
weight
Load balancing weight for a serverprotected boolean
weightSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description LoadBalancerServerInstanceInfo()
-
Method Summary
Modifier and Type Method Description String
getPrivateIpAddress()
String
getPublicIpAddress()
Long
getWeight()
boolean
isPrivateIpAddressSpecified()
boolean
isPublicIpAddressSpecified()
boolean
isWeightSpecified()
void
setPrivateIpAddress(String privateIpAddress)
void
setPublicIpAddress(String publicIpAddress)
void
setWeight(Long weight)
void
unsetPrivateIpAddress()
void
unsetPublicIpAddress()
void
unsetWeight()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
privateIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String privateIpAddress
Servers private IP address
-
privateIpAddressSpecified
protected boolean privateIpAddressSpecified
-
publicIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String publicIpAddress
Servers public IP address
-
publicIpAddressSpecified
protected boolean publicIpAddressSpecified
-
weight
@ApiProperty(canBeNullOrNotSet=true) protected Long weight
Load balancing weight for a server
-
weightSpecified
protected boolean weightSpecified
-
-
Method Detail
-
getPrivateIpAddress
public String getPrivateIpAddress()
-
setPrivateIpAddress
public void setPrivateIpAddress(String privateIpAddress)
-
isPrivateIpAddressSpecified
public boolean isPrivateIpAddressSpecified()
-
unsetPrivateIpAddress
public void unsetPrivateIpAddress()
-
getPublicIpAddress
public String getPublicIpAddress()
-
setPublicIpAddress
public void setPublicIpAddress(String publicIpAddress)
-
isPublicIpAddressSpecified
public boolean isPublicIpAddressSpecified()
-
unsetPublicIpAddress
public void unsetPublicIpAddress()
-
getWeight
public Long getWeight()
-
setWeight
public void setWeight(Long weight)
-
isWeightSpecified
public boolean isWeightSpecified()
-
unsetWeight
public void unsetWeight()
-
-