Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerPoolMember
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.LoadBalancerPoolMember
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LoadBalancerPoolMember extends com.ibm.cloud.sdk.core.service.model.GenericModel
LoadBalancerPoolMember.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LoadBalancerPoolMember.Health
Health of the server member in the pool.static interface
LoadBalancerPoolMember.ProvisioningStatus
The provisioning status of this member The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getHealth()
Gets the health.String
getHref()
Gets the href.String
getId()
Gets the id.Long
getPort()
Gets the port.String
getProvisioningStatus()
Gets the provisioningStatus.LoadBalancerPoolMemberTarget
getTarget()
Gets the target.Long
getWeight()
Gets the weight.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this member was created.- Returns:
- the createdAt
-
getHealth
public String getHealth()
Gets the health. Health of the server member in the pool. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the health
-
getHref
public String getHref()
Gets the href. The URL for this load balancer pool member.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this load balancer pool member.- Returns:
- the id
-
getPort
public Long getPort()
Gets the port. The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a listener with a single port. (If the traffic is received on a listener with a port range, the member will receive the traffic on the same port the listener received it on.) This port will also be used for health checks unless the `port` property of `health_monitor` property is specified.- Returns:
- the port
-
getProvisioningStatus
public String getProvisioningStatus()
Gets the provisioningStatus. The provisioning status of this member The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the provisioningStatus
-
getTarget
public LoadBalancerPoolMemberTarget getTarget()
Gets the target. The pool member target. Load balancers in the `network` family support virtual server instances. Load balancers in the `application` family support IP addresses. If the load balancer has route mode enabled, the member must be in a zone the load balancer has a subnet in.- Returns:
- the target
-
getWeight
public Long getWeight()
Gets the weight. The weight of the server member. This property will be present if the pool algorithm is `weighted_round_robin`.- Returns:
- the weight
-
-