Class VPNGatewayConnectionPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.VPNGatewayConnectionPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadminStateUp
(Boolean adminStateUp) Set the adminStateUp.build()
Builds a VPNGatewayConnectionPatch.deadPeerDetection
(VPNGatewayConnectionDPDPatch deadPeerDetection) Set the deadPeerDetection.distributeTraffic
(Boolean distributeTraffic) Set the distributeTraffic.establishMode
(String establishMode) Set the establishMode.ikePolicy
(VPNGatewayConnectionIKEPolicyPatch ikePolicy) Set the ikePolicy.ipsecPolicy
(VPNGatewayConnectionIPsecPolicyPatch ipsecPolicy) Set the ipsecPolicy.Set the name.Set the peer.Set the psk.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a VPNGatewayConnectionPatch.- Returns:
- the new VPNGatewayConnectionPatch instance
-
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
Set the distributeTraffic.- Parameters:
distributeTraffic
- the distributeTraffic- Returns:
- the VPNGatewayConnectionPatch builder
-
establishMode
Set the establishMode.- Parameters:
establishMode
- the establishMode- Returns:
- the VPNGatewayConnectionPatch builder
-
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
Set the name.- Parameters:
name
- the name- Returns:
- the VPNGatewayConnectionPatch builder
-
peer
Set the peer.- Parameters:
peer
- the peer- Returns:
- the VPNGatewayConnectionPatch builder
-
psk
Set the psk.- Parameters:
psk
- the psk- Returns:
- the VPNGatewayConnectionPatch builder
-