Package com.ibm.cloud.is.vpc.v1.model
Class VPNGatewayConnectionPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.VPNGatewayConnectionPatch.Builder
-
- Enclosing class:
- VPNGatewayConnectionPatch
public static class VPNGatewayConnectionPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
-
-
-
Method Detail
-
build
public VPNGatewayConnectionPatch build()
Builds a VPNGatewayConnectionPatch.- Returns:
- the new VPNGatewayConnectionPatch instance
-
adminStateUp
public VPNGatewayConnectionPatch.Builder adminStateUp(Boolean adminStateUp)
Set the adminStateUp.- Parameters:
adminStateUp
- the adminStateUp- Returns:
- the VPNGatewayConnectionPatch builder
-
deadPeerDetection
public VPNGatewayConnectionPatch.Builder deadPeerDetection(VPNGatewayConnectionDPDPatch deadPeerDetection)
Set the deadPeerDetection.- Parameters:
deadPeerDetection
- the deadPeerDetection- Returns:
- the VPNGatewayConnectionPatch builder
-
distributeTraffic
public VPNGatewayConnectionPatch.Builder distributeTraffic(Boolean distributeTraffic)
Set the distributeTraffic.- Parameters:
distributeTraffic
- the distributeTraffic- Returns:
- the VPNGatewayConnectionPatch builder
-
establishMode
public VPNGatewayConnectionPatch.Builder establishMode(String establishMode)
Set the establishMode.- Parameters:
establishMode
- the establishMode- Returns:
- the VPNGatewayConnectionPatch builder
-
ikePolicy
public VPNGatewayConnectionPatch.Builder ikePolicy(VPNGatewayConnectionIKEPolicyPatch ikePolicy)
Set the ikePolicy.- Parameters:
ikePolicy
- the ikePolicy- Returns:
- the VPNGatewayConnectionPatch builder
-
ipsecPolicy
public VPNGatewayConnectionPatch.Builder ipsecPolicy(VPNGatewayConnectionIPsecPolicyPatch ipsecPolicy)
Set the ipsecPolicy.- Parameters:
ipsecPolicy
- the ipsecPolicy- Returns:
- the VPNGatewayConnectionPatch builder
-
name
public VPNGatewayConnectionPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the VPNGatewayConnectionPatch builder
-
peer
public VPNGatewayConnectionPatch.Builder peer(VPNGatewayConnectionPeerPatch peer)
Set the peer.- Parameters:
peer
- the peer- Returns:
- the VPNGatewayConnectionPatch builder
-
psk
public VPNGatewayConnectionPatch.Builder psk(String psk)
Set the psk.- Parameters:
psk
- the psk- Returns:
- the VPNGatewayConnectionPatch builder
-
-