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.GenericModelThe createLoadBalancer options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateLoadBalancerOptions.BuilderBuilder.
-
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.Stringdescription()Gets the description.StringdnszoneId()Gets the dnszoneId.Booleanenabled()Gets the enabled.StringfallbackPool()Gets the fallbackPool.StringinstanceId()Gets the instanceId.Stringname()Gets the name.CreateLoadBalancerOptions.BuildernewBuilder()New builder.Longttl()Gets the ttl.StringxCorrelationId()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
-
-