Class LoadBalancer
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.LoadBalancer
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LoadBalancer extends com.ibm.cloud.sdk.core.service.model.GenericModel
Load balancer details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LoadBalancer.Health
Healthy state of the load balancer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AzPoolsItem>
getAzPools()
Gets the azPools.Date
getCreatedOn()
Gets the createdOn.List<String>
getDefaultPools()
Gets the defaultPools.String
getDescription()
Gets the description.String
getFallbackPool()
Gets the fallbackPool.String
getHealth()
Gets the health.String
getId()
Gets the id.Date
getModifiedOn()
Gets the modifiedOn.String
getName()
Gets the name.Long
getTtl()
Gets the ttl.Boolean
isEnabled()
Gets the enabled.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Identifier of the load balancer.- Returns:
- the id
-
getName
public String getName()
Gets the name. Name of the load balancer.- Returns:
- the name
-
getDescription
public String getDescription()
Gets the description. Descriptive text of the load balancer.- Returns:
- the description
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Whether the load balancer is enabled.- Returns:
- the enabled
-
getTtl
public Long getTtl()
Gets the ttl. Time to live in second.- Returns:
- the ttl
-
getHealth
public String getHealth()
Gets the health. Healthy state of the load balancer.- Returns:
- the health
-
getFallbackPool
public String getFallbackPool()
Gets the fallbackPool. The pool ID to use when all other pools are detected as unhealthy.- Returns:
- the fallbackPool
-
getDefaultPools
public List<String> getDefaultPools()
Gets the defaultPools. A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region.- Returns:
- the defaultPools
-
getAzPools
public List<AzPoolsItem> getAzPools()
Gets the azPools. Map availability zones to pool IDs.- Returns:
- the azPools
-
getCreatedOn
public Date getCreatedOn()
Gets the createdOn. The time when a load balancer is created.- Returns:
- the createdOn
-
getModifiedOn
public Date getModifiedOn()
Gets the modifiedOn. The recent time when a load balancer is modified.- Returns:
- the modifiedOn
-
-