Class CreatePoolOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.CreatePoolOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreatePoolOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createPool options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreatePoolOptions.Builder
Builder.static interface
CreatePoolOptions.HealthcheckRegion
Health check region of VSIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Gets the description.Boolean
enabled()
Gets the enabled.String
healthcheckRegion()
Gets the healthcheckRegion.List<String>
healthcheckSubnets()
Gets the healthcheckSubnets.Long
healthyOriginsThreshold()
Gets the healthyOriginsThreshold.String
instanceId()
Gets the instanceId.String
monitor()
Gets the monitor.String
name()
Gets the name.CreatePoolOptions.Builder
newBuilder()
New builder.String
notificationChannel()
Gets the notificationChannel.List<OriginInput>
origins()
Gets the origins.String
xCorrelationId()
Gets the xCorrelationId.
-
-
-
Method Detail
-
newBuilder
public CreatePoolOptions.Builder newBuilder()
New builder.- Returns:
- a CreatePoolOptions builder
-
instanceId
public String instanceId()
Gets the instanceId. The unique identifier of a service instance.- Returns:
- the instanceId
-
name
public String name()
Gets the name. Name of the load balancer pool.- Returns:
- the name
-
description
public String description()
Gets the description. Descriptive text of the load balancer pool.- Returns:
- the description
-
enabled
public Boolean enabled()
Gets the enabled. Whether the load balancer pool is enabled.- Returns:
- the enabled
-
healthyOriginsThreshold
public Long healthyOriginsThreshold()
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
-
origins
public List<OriginInput> origins()
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
-
monitor
public String monitor()
Gets the monitor. The ID of the load balancer monitor to be associated to this pool.- Returns:
- the monitor
-
notificationChannel
public String notificationChannel()
Gets the notificationChannel. The notification channel.- Returns:
- the notificationChannel
-
healthcheckRegion
public String healthcheckRegion()
Gets the healthcheckRegion. Health check region of VSIs.- Returns:
- the healthcheckRegion
-
healthcheckSubnets
public List<String> healthcheckSubnets()
Gets the healthcheckSubnets. Health check subnet CRN.- Returns:
- the healthcheckSubnets
-
xCorrelationId
public String xCorrelationId()
Gets the xCorrelationId. Uniquely identifying a request.- Returns:
- the xCorrelationId
-
-