Class PurgeByHostsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.caching_api.v1.model.PurgeByHostsOptions.Builder
-
- Enclosing class:
- PurgeByHostsOptions
public static class PurgeByHostsOptions.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 PurgeByHostsOptions.Builder
addHosts(String hosts)
Adds an hosts to hosts.PurgeByHostsOptions
build()
Builds a PurgeByHostsOptions.PurgeByHostsOptions.Builder
hosts(List<String> hosts)
Set the hosts.
-
-
-
Method Detail
-
build
public PurgeByHostsOptions build()
Builds a PurgeByHostsOptions.- Returns:
- the new PurgeByHostsOptions instance
-
addHosts
public PurgeByHostsOptions.Builder addHosts(String hosts)
Adds an hosts to hosts.- Parameters:
hosts
- the new hosts- Returns:
- the PurgeByHostsOptions builder
-
hosts
public PurgeByHostsOptions.Builder hosts(List<String> hosts)
Set the hosts. Existing hosts will be replaced.- Parameters:
hosts
- the hosts- Returns:
- the PurgeByHostsOptions builder
-
-