Class VPNServerPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.VPNServerPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClientAuthentication(VPNServerAuthenticationPrototype clientAuthentication) Adds a new element to clientAuthentication.addClientDnsServerIps(IP clientDnsServerIps) Adds a new element to clientDnsServerIps.addSubnets(SubnetIdentity subnets) Adds a new element to subnets.build()Builds a VPNServerPatch.certificate(CertificateInstanceIdentity certificate) Set the certificate.clientAuthentication(List<VPNServerAuthenticationPrototype> clientAuthentication) Set the clientAuthentication.clientDnsServerIps(List<IP> clientDnsServerIps) Set the clientDnsServerIps.clientIdleTimeout(long clientIdleTimeout) Set the clientIdleTimeout.clientIpPool(String clientIpPool) Set the clientIpPool.enableSplitTunneling(Boolean enableSplitTunneling) Set the enableSplitTunneling.Set the name.port(long port) Set the port.Set the protocol.subnets(List<SubnetIdentity> subnets) Set the subnets.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
-
addClientAuthentication
public VPNServerPatch.Builder addClientAuthentication(VPNServerAuthenticationPrototype clientAuthentication) Adds a new element to clientAuthentication.- Parameters:
clientAuthentication- the new element to be added- Returns:
- the VPNServerPatch builder
-
addClientDnsServerIps
Adds a new element to clientDnsServerIps.- Parameters:
clientDnsServerIps- the new element to be added- Returns:
- the VPNServerPatch builder
-
addSubnets
Adds a new element to subnets.- Parameters:
subnets- the new element to be added- Returns:
- the VPNServerPatch builder
-
certificate
Set the certificate.- Parameters:
certificate- the certificate- Returns:
- the VPNServerPatch builder
-
clientAuthentication
public VPNServerPatch.Builder clientAuthentication(List<VPNServerAuthenticationPrototype> clientAuthentication) Set the clientAuthentication. Existing clientAuthentication will be replaced.- Parameters:
clientAuthentication- the clientAuthentication- Returns:
- the VPNServerPatch builder
-
clientDnsServerIps
Set the clientDnsServerIps. Existing clientDnsServerIps will be replaced.- Parameters:
clientDnsServerIps- the clientDnsServerIps- Returns:
- the VPNServerPatch builder
-
clientIdleTimeout
Set the clientIdleTimeout.- Parameters:
clientIdleTimeout- the clientIdleTimeout- Returns:
- the VPNServerPatch builder
-
clientIpPool
Set the clientIpPool.- Parameters:
clientIpPool- the clientIpPool- Returns:
- the VPNServerPatch builder
-
enableSplitTunneling
Set the enableSplitTunneling.- Parameters:
enableSplitTunneling- the enableSplitTunneling- Returns:
- the VPNServerPatch builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the VPNServerPatch builder
-
port
Set the port.- Parameters:
port- the port- Returns:
- the VPNServerPatch builder
-
protocol
Set the protocol.- Parameters:
protocol- the protocol- Returns:
- the VPNServerPatch builder
-
subnets
Set the subnets. Existing subnets will be replaced.- Parameters:
subnets- the subnets- Returns:
- the VPNServerPatch builder
-