Class Pool
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.Pool
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Pool extends com.ibm.cloud.sdk.core.service.model.GenericModelLoad balancer pool details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePool.HealthHealthy state of the load balancer pool.static interfacePool.HealthcheckRegionHealth check region of VSIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedOn()Gets the createdOn.StringgetDescription()Gets the description.StringgetHealth()Gets the health.StringgetHealthcheckRegion()Gets the healthcheckRegion.List<String>getHealthcheckSubnets()Gets the healthcheckSubnets.List<PoolHealthcheckVsisItem>getHealthcheckVsis()Gets the healthcheckVsis.LonggetHealthyOriginsThreshold()Gets the healthyOriginsThreshold.StringgetId()Gets the id.DategetModifiedOn()Gets the modifiedOn.StringgetMonitor()Gets the monitor.StringgetName()Gets the name.StringgetNotificationChannel()Gets the notificationChannel.List<Origin>getOrigins()Gets the origins.BooleanisEnabled()Gets the enabled.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Identifier of the load balancer pool.- Returns:
- the id
-
getName
public String getName()
Gets the name. Name of the load balancer pool.- Returns:
- the name
-
getDescription
public String getDescription()
Gets the description. Descriptive text of the load balancer pool.- Returns:
- the description
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Whether the load balancer pool is enabled.- Returns:
- the enabled
-
getHealthyOriginsThreshold
public Long getHealthyOriginsThreshold()
Gets the healthyOriginsThreshold. The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool.- Returns:
- the healthyOriginsThreshold
-
getOrigins
public List<Origin> getOrigins()
Gets the origins. The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy.- Returns:
- the origins
-
getMonitor
public String getMonitor()
Gets the monitor. The ID of the load balancer monitor to be associated to this pool.- Returns:
- the monitor
-
getNotificationChannel
public String getNotificationChannel()
Gets the notificationChannel. The notification channel.- Returns:
- the notificationChannel
-
getHealth
public String getHealth()
Gets the health. Healthy state of the load balancer pool.- Returns:
- the health
-
getHealthcheckRegion
public String getHealthcheckRegion()
Gets the healthcheckRegion. Health check region of VSIs.- Returns:
- the healthcheckRegion
-
getHealthcheckSubnets
public List<String> getHealthcheckSubnets()
Gets the healthcheckSubnets. Health check subnet CRNs.- Returns:
- the healthcheckSubnets
-
getHealthcheckVsis
public List<PoolHealthcheckVsisItem> getHealthcheckVsis()
Gets the healthcheckVsis. Health check VSI information.- Returns:
- the healthcheckVsis
-
getCreatedOn
public Date getCreatedOn()
Gets the createdOn. the time when a load balancer pool is created.- Returns:
- the createdOn
-
getModifiedOn
public Date getModifiedOn()
Gets the modifiedOn. the recent time when a load balancer pool is modified.- Returns:
- the modifiedOn
-
-