Class AzPoolsItem.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.AzPoolsItem.Builder
-
- Enclosing class:
- AzPoolsItem
public static class AzPoolsItem.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzPoolsItem.Builder
addPools(String pools)
Adds an pools to pools.AzPoolsItem.Builder
availabilityZone(String availabilityZone)
Set the availabilityZone.AzPoolsItem
build()
Builds a AzPoolsItem.AzPoolsItem.Builder
pools(List<String> pools)
Set the pools.
-
-
-
Method Detail
-
build
public AzPoolsItem build()
Builds a AzPoolsItem.- Returns:
- the new AzPoolsItem instance
-
addPools
public AzPoolsItem.Builder addPools(String pools)
Adds an pools to pools.- Parameters:
pools
- the new pools- Returns:
- the AzPoolsItem builder
-
availabilityZone
public AzPoolsItem.Builder availabilityZone(String availabilityZone)
Set the availabilityZone.- Parameters:
availabilityZone
- the availabilityZone- Returns:
- the AzPoolsItem builder
-
pools
public AzPoolsItem.Builder pools(List<String> pools)
Set the pools. Existing pools will be replaced.- Parameters:
pools
- the pools- Returns:
- the AzPoolsItem builder
-
-