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.GenericModelLoad balancer details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLoadBalancer.HealthHealthy state of the load balancer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AzPoolsItem>getAzPools()Gets the azPools.DategetCreatedOn()Gets the createdOn.List<String>getDefaultPools()Gets the defaultPools.StringgetDescription()Gets the description.StringgetFallbackPool()Gets the fallbackPool.StringgetHealth()Gets the health.StringgetId()Gets the id.DategetModifiedOn()Gets the modifiedOn.StringgetName()Gets the name.LonggetTtl()Gets the ttl.BooleanisEnabled()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
-
-