Class UpdateLoadBalancerOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.UpdateLoadBalancerOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateLoadBalancerOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateLoadBalancer options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateLoadBalancerOptions.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
lbId()
Gets the lbId.String
name()
Gets the name.UpdateLoadBalancerOptions.Builder
newBuilder()
New builder.Long
ttl()
Gets the ttl.String
xCorrelationId()
Gets the xCorrelationId.
-
-
-
Method Detail
-
newBuilder
public UpdateLoadBalancerOptions.Builder newBuilder()
New builder.- Returns:
- a UpdateLoadBalancerOptions 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
-
lbId
public String lbId()
Gets the lbId. The unique identifier of a load balancer.- Returns:
- the lbId
-
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
-
-