Class UpdateLoadBalancerOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.UpdateLoadBalancerOptions.Builder
-
- Enclosing class:
- UpdateLoadBalancerOptions
public static class UpdateLoadBalancerOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public UpdateLoadBalancerOptions build()
Builds a UpdateLoadBalancerOptions.- Returns:
- the new UpdateLoadBalancerOptions instance
-
addDefaultPools
public UpdateLoadBalancerOptions.Builder addDefaultPools(String defaultPools)
Adds an defaultPools to defaultPools.- Parameters:
defaultPools
- the new defaultPools- Returns:
- the UpdateLoadBalancerOptions builder
-
addAzPools
public UpdateLoadBalancerOptions.Builder addAzPools(AzPoolsItem azPools)
Adds an azPools to azPools.- Parameters:
azPools
- the new azPools- Returns:
- the UpdateLoadBalancerOptions builder
-
instanceId
public UpdateLoadBalancerOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the UpdateLoadBalancerOptions builder
-
dnszoneId
public UpdateLoadBalancerOptions.Builder dnszoneId(String dnszoneId)
Set the dnszoneId.- Parameters:
dnszoneId
- the dnszoneId- Returns:
- the UpdateLoadBalancerOptions builder
-
lbId
public UpdateLoadBalancerOptions.Builder lbId(String lbId)
Set the lbId.- Parameters:
lbId
- the lbId- Returns:
- the UpdateLoadBalancerOptions builder
-
name
public UpdateLoadBalancerOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the UpdateLoadBalancerOptions builder
-
description
public UpdateLoadBalancerOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the UpdateLoadBalancerOptions builder
-
enabled
public UpdateLoadBalancerOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the UpdateLoadBalancerOptions builder
-
ttl
public UpdateLoadBalancerOptions.Builder ttl(long ttl)
Set the ttl.- Parameters:
ttl
- the ttl- Returns:
- the UpdateLoadBalancerOptions builder
-
fallbackPool
public UpdateLoadBalancerOptions.Builder fallbackPool(String fallbackPool)
Set the fallbackPool.- Parameters:
fallbackPool
- the fallbackPool- Returns:
- the UpdateLoadBalancerOptions builder
-
defaultPools
public UpdateLoadBalancerOptions.Builder defaultPools(List<String> defaultPools)
Set the defaultPools. Existing defaultPools will be replaced.- Parameters:
defaultPools
- the defaultPools- Returns:
- the UpdateLoadBalancerOptions builder
-
azPools
public UpdateLoadBalancerOptions.Builder azPools(List<AzPoolsItem> azPools)
Set the azPools. Existing azPools will be replaced.- Parameters:
azPools
- the azPools- Returns:
- the UpdateLoadBalancerOptions builder
-
xCorrelationId
public UpdateLoadBalancerOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the UpdateLoadBalancerOptions builder
-
-