Package com.ibm.cloud.is.vpc.v1.model
Class VPCDNSResolverPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.VPCDNSResolverPatch.Builder
-
- Enclosing class:
- VPCDNSResolverPatch
public static class VPCDNSResolverPatch.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 VPCDNSResolverPatch.Builder
addManualServers(DNSServerPrototype manualServers)
Adds a new element to manualServers.VPCDNSResolverPatch
build()
Builds a VPCDNSResolverPatch.VPCDNSResolverPatch.Builder
manualServers(List<DNSServerPrototype> manualServers)
Set the manualServers.VPCDNSResolverPatch.Builder
type(String type)
Set the type.VPCDNSResolverPatch.Builder
vpc(VPCDNSResolverVPCPatch vpc)
Set the vpc.
-
-
-
Method Detail
-
build
public VPCDNSResolverPatch build()
Builds a VPCDNSResolverPatch.- Returns:
- the new VPCDNSResolverPatch instance
-
addManualServers
public VPCDNSResolverPatch.Builder addManualServers(DNSServerPrototype manualServers)
Adds a new element to manualServers.- Parameters:
manualServers
- the new element to be added- Returns:
- the VPCDNSResolverPatch builder
-
manualServers
public VPCDNSResolverPatch.Builder manualServers(List<DNSServerPrototype> manualServers)
Set the manualServers. Existing manualServers will be replaced.- Parameters:
manualServers
- the manualServers- Returns:
- the VPCDNSResolverPatch builder
-
type
public VPCDNSResolverPatch.Builder type(String type)
Set the type.- Parameters:
type
- the type- Returns:
- the VPCDNSResolverPatch builder
-
vpc
public VPCDNSResolverPatch.Builder vpc(VPCDNSResolverVPCPatch vpc)
Set the vpc.- Parameters:
vpc
- the vpc- Returns:
- the VPCDNSResolverPatch builder
-
-