Class UpdatePoolOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.UpdatePoolOptions.Builder
-
- Enclosing class:
- UpdatePoolOptions
public static class UpdatePoolOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePoolOptions.Builder
addHealthcheckSubnets(String healthcheckSubnets)
Adds an healthcheckSubnets to healthcheckSubnets.UpdatePoolOptions.Builder
addOrigins(OriginInput origins)
Adds an origins to origins.UpdatePoolOptions
build()
Builds a UpdatePoolOptions.UpdatePoolOptions.Builder
description(String description)
Set the description.UpdatePoolOptions.Builder
enabled(Boolean enabled)
Set the enabled.UpdatePoolOptions.Builder
healthcheckRegion(String healthcheckRegion)
Set the healthcheckRegion.UpdatePoolOptions.Builder
healthcheckSubnets(List<String> healthcheckSubnets)
Set the healthcheckSubnets.UpdatePoolOptions.Builder
healthyOriginsThreshold(long healthyOriginsThreshold)
Set the healthyOriginsThreshold.UpdatePoolOptions.Builder
instanceId(String instanceId)
Set the instanceId.UpdatePoolOptions.Builder
monitor(String monitor)
Set the monitor.UpdatePoolOptions.Builder
name(String name)
Set the name.UpdatePoolOptions.Builder
notificationChannel(String notificationChannel)
Set the notificationChannel.UpdatePoolOptions.Builder
origins(List<OriginInput> origins)
Set the origins.UpdatePoolOptions.Builder
poolId(String poolId)
Set the poolId.UpdatePoolOptions.Builder
xCorrelationId(String xCorrelationId)
Set the xCorrelationId.
-
-
-
Method Detail
-
build
public UpdatePoolOptions build()
Builds a UpdatePoolOptions.- Returns:
- the new UpdatePoolOptions instance
-
addOrigins
public UpdatePoolOptions.Builder addOrigins(OriginInput origins)
Adds an origins to origins.- Parameters:
origins
- the new origins- Returns:
- the UpdatePoolOptions builder
-
addHealthcheckSubnets
public UpdatePoolOptions.Builder addHealthcheckSubnets(String healthcheckSubnets)
Adds an healthcheckSubnets to healthcheckSubnets.- Parameters:
healthcheckSubnets
- the new healthcheckSubnets- Returns:
- the UpdatePoolOptions builder
-
instanceId
public UpdatePoolOptions.Builder instanceId(String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the UpdatePoolOptions builder
-
poolId
public UpdatePoolOptions.Builder poolId(String poolId)
Set the poolId.- Parameters:
poolId
- the poolId- Returns:
- the UpdatePoolOptions builder
-
name
public UpdatePoolOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the UpdatePoolOptions builder
-
description
public UpdatePoolOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the UpdatePoolOptions builder
-
enabled
public UpdatePoolOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the UpdatePoolOptions builder
-
healthyOriginsThreshold
public UpdatePoolOptions.Builder healthyOriginsThreshold(long healthyOriginsThreshold)
Set the healthyOriginsThreshold.- Parameters:
healthyOriginsThreshold
- the healthyOriginsThreshold- Returns:
- the UpdatePoolOptions builder
-
origins
public UpdatePoolOptions.Builder origins(List<OriginInput> origins)
Set the origins. Existing origins will be replaced.- Parameters:
origins
- the origins- Returns:
- the UpdatePoolOptions builder
-
monitor
public UpdatePoolOptions.Builder monitor(String monitor)
Set the monitor.- Parameters:
monitor
- the monitor- Returns:
- the UpdatePoolOptions builder
-
notificationChannel
public UpdatePoolOptions.Builder notificationChannel(String notificationChannel)
Set the notificationChannel.- Parameters:
notificationChannel
- the notificationChannel- Returns:
- the UpdatePoolOptions builder
-
healthcheckRegion
public UpdatePoolOptions.Builder healthcheckRegion(String healthcheckRegion)
Set the healthcheckRegion.- Parameters:
healthcheckRegion
- the healthcheckRegion- Returns:
- the UpdatePoolOptions builder
-
healthcheckSubnets
public UpdatePoolOptions.Builder healthcheckSubnets(List<String> healthcheckSubnets)
Set the healthcheckSubnets. Existing healthcheckSubnets will be replaced.- Parameters:
healthcheckSubnets
- the healthcheckSubnets- Returns:
- the UpdatePoolOptions builder
-
xCorrelationId
public UpdatePoolOptions.Builder xCorrelationId(String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the UpdatePoolOptions builder
-
-