Class AllowedDomain.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.AllowedDomain.Builder
-
- Enclosing class:
- AllowedDomain
public static class AllowedDomain.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowedDomainbuild()AllowedDomain.Buildercopy(AllowedDomain model)AllowedDomain.Builderhostnames(List<String> hostnames)Hostnames allowed by this domain rule.AllowedDomain.Builderports(List<Integer> ports)Ports allowed by this domain rule.
-
-
-
Method Detail
-
hostnames
public AllowedDomain.Builder hostnames(List<String> hostnames)
Hostnames allowed by this domain rule.- Parameters:
hostnames- the value to set- Returns:
- this builder
-
ports
public AllowedDomain.Builder ports(List<Integer> ports)
Ports allowed by this domain rule.- Parameters:
ports- the value to set- Returns:
- this builder
-
build
public AllowedDomain build()
-
copy
public AllowedDomain.Builder copy(AllowedDomain model)
-
-