Class CreateLoadBalancerOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.CreateLoadBalancerOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateLoadBalancerOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createLoadBalancer options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateLoadBalancerOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AzPoolsItem>
azPools()
Gets the azPools.List<String>
defaultPools()
Gets the defaultPools.String
description()
Gets the description.String
dnszoneId()
Gets the dnszoneId.Boolean
enabled()
Gets the enabled.String
fallbackPool()
Gets the fallbackPool.String
instanceId()
Gets the instanceId.String
name()
Gets the name.CreateLoadBalancerOptions.Builder
newBuilder()
New builder.Long
ttl()
Gets the ttl.String
xCorrelationId()
Gets the xCorrelationId.
-
-
-
Method Detail
-
newBuilder
public CreateLoadBalancerOptions.Builder newBuilder()
New builder.- Returns:
- a CreateLoadBalancerOptions builder
-
instanceId
public String instanceId()
Gets the instanceId. The unique identifier of a service instance.- Returns:
- the instanceId
-
dnszoneId
public String dnszoneId()
Gets the dnszoneId. The unique identifier of a DNS zone.- Returns:
- the dnszoneId
-
name
public String name()
Gets the name. Name of the load balancer.- Returns:
- the name
-
description
public String description()
Gets the description. Descriptive text of the load balancer.- Returns:
- the description
-
enabled
public Boolean enabled()
Gets the enabled. Whether the load balancer is enabled.- Returns:
- the enabled
-
ttl
public Long ttl()
Gets the ttl. Time to live in second.- Returns:
- the ttl
-
fallbackPool
public String fallbackPool()
Gets the fallbackPool. The pool ID to use when all other pools are detected as unhealthy.- Returns:
- the fallbackPool
-
defaultPools
public List<String> defaultPools()
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
-
azPools
public List<AzPoolsItem> azPools()
Gets the azPools. Map availability zones to pool IDs.- Returns:
- the azPools
-
xCorrelationId
public String xCorrelationId()
Gets the xCorrelationId. Uniquely identifying a request.- Returns:
- the xCorrelationId
-
-