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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePoolOptions.BuilderaddHealthcheckSubnets(String healthcheckSubnets)Adds an healthcheckSubnets to healthcheckSubnets.UpdatePoolOptions.BuilderaddOrigins(OriginInput origins)Adds an origins to origins.UpdatePoolOptionsbuild()Builds a UpdatePoolOptions.UpdatePoolOptions.Builderdescription(String description)Set the description.UpdatePoolOptions.Builderenabled(Boolean enabled)Set the enabled.UpdatePoolOptions.BuilderhealthcheckRegion(String healthcheckRegion)Set the healthcheckRegion.UpdatePoolOptions.BuilderhealthcheckSubnets(List<String> healthcheckSubnets)Set the healthcheckSubnets.UpdatePoolOptions.BuilderhealthyOriginsThreshold(long healthyOriginsThreshold)Set the healthyOriginsThreshold.UpdatePoolOptions.BuilderinstanceId(String instanceId)Set the instanceId.UpdatePoolOptions.Buildermonitor(String monitor)Set the monitor.UpdatePoolOptions.Buildername(String name)Set the name.UpdatePoolOptions.BuildernotificationChannel(String notificationChannel)Set the notificationChannel.UpdatePoolOptions.Builderorigins(List<OriginInput> origins)Set the origins.UpdatePoolOptions.BuilderpoolId(String poolId)Set the poolId.UpdatePoolOptions.BuilderxCorrelationId(String xCorrelationId)Set the xCorrelationId.
 
- 
- 
- 
Method Detail- 
buildpublic UpdatePoolOptions build() Builds a UpdatePoolOptions.- Returns:
- the new UpdatePoolOptions instance
 
 - 
addOriginspublic UpdatePoolOptions.Builder addOrigins(OriginInput origins) Adds an origins to origins.- Parameters:
- origins- the new origins
- Returns:
- the UpdatePoolOptions builder
 
 - 
addHealthcheckSubnetspublic UpdatePoolOptions.Builder addHealthcheckSubnets(String healthcheckSubnets) Adds an healthcheckSubnets to healthcheckSubnets.- Parameters:
- healthcheckSubnets- the new healthcheckSubnets
- Returns:
- the UpdatePoolOptions builder
 
 - 
instanceIdpublic UpdatePoolOptions.Builder instanceId(String instanceId) Set the instanceId.- Parameters:
- instanceId- the instanceId
- Returns:
- the UpdatePoolOptions builder
 
 - 
poolIdpublic UpdatePoolOptions.Builder poolId(String poolId) Set the poolId.- Parameters:
- poolId- the poolId
- Returns:
- the UpdatePoolOptions builder
 
 - 
namepublic UpdatePoolOptions.Builder name(String name) Set the name.- Parameters:
- name- the name
- Returns:
- the UpdatePoolOptions builder
 
 - 
descriptionpublic UpdatePoolOptions.Builder description(String description) Set the description.- Parameters:
- description- the description
- Returns:
- the UpdatePoolOptions builder
 
 - 
enabledpublic UpdatePoolOptions.Builder enabled(Boolean enabled) Set the enabled.- Parameters:
- enabled- the enabled
- Returns:
- the UpdatePoolOptions builder
 
 - 
healthyOriginsThresholdpublic UpdatePoolOptions.Builder healthyOriginsThreshold(long healthyOriginsThreshold) Set the healthyOriginsThreshold.- Parameters:
- healthyOriginsThreshold- the healthyOriginsThreshold
- Returns:
- the UpdatePoolOptions builder
 
 - 
originspublic UpdatePoolOptions.Builder origins(List<OriginInput> origins) Set the origins. Existing origins will be replaced.- Parameters:
- origins- the origins
- Returns:
- the UpdatePoolOptions builder
 
 - 
monitorpublic UpdatePoolOptions.Builder monitor(String monitor) Set the monitor.- Parameters:
- monitor- the monitor
- Returns:
- the UpdatePoolOptions builder
 
 - 
notificationChannelpublic UpdatePoolOptions.Builder notificationChannel(String notificationChannel) Set the notificationChannel.- Parameters:
- notificationChannel- the notificationChannel
- Returns:
- the UpdatePoolOptions builder
 
 - 
healthcheckRegionpublic UpdatePoolOptions.Builder healthcheckRegion(String healthcheckRegion) Set the healthcheckRegion.- Parameters:
- healthcheckRegion- the healthcheckRegion
- Returns:
- the UpdatePoolOptions builder
 
 - 
healthcheckSubnetspublic UpdatePoolOptions.Builder healthcheckSubnets(List<String> healthcheckSubnets) Set the healthcheckSubnets. Existing healthcheckSubnets will be replaced.- Parameters:
- healthcheckSubnets- the healthcheckSubnets
- Returns:
- the UpdatePoolOptions builder
 
 - 
xCorrelationIdpublic UpdatePoolOptions.Builder xCorrelationId(String xCorrelationId) Set the xCorrelationId.- Parameters:
- xCorrelationId- the xCorrelationId
- Returns:
- the UpdatePoolOptions builder
 
 
- 
 
-