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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VPNGatewayConnectionPatch.Builder
adminStateUp(Boolean adminStateUp)
Set the adminStateUp.VPNGatewayConnectionPatch
build()
Builds a VPNGatewayConnectionPatch.VPNGatewayConnectionPatch.Builder
deadPeerDetection(VPNGatewayConnectionDPDPatch deadPeerDetection)
Set the deadPeerDetection.VPNGatewayConnectionPatch.Builder
ikePolicy(VPNGatewayConnectionIKEPolicyPatch ikePolicy)
Set the ikePolicy.VPNGatewayConnectionPatch.Builder
ipsecPolicy(VPNGatewayConnectionIPsecPolicyPatch ipsecPolicy)
Set the ipsecPolicy.VPNGatewayConnectionPatch.Builder
name(String name)
Set the name.VPNGatewayConnectionPatch.Builder
peerAddress(String peerAddress)
Set the peerAddress.VPNGatewayConnectionPatch.Builder
psk(String psk)
Set the psk.VPNGatewayConnectionPatch.Builder
routingProtocol(String routingProtocol)
Set the routingProtocol.
-
-
-
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
-
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
-
peerAddress
public VPNGatewayConnectionPatch.Builder peerAddress(String peerAddress)
Set the peerAddress.- Parameters:
peerAddress
- the peerAddress- Returns:
- the VPNGatewayConnectionPatch builder
-
psk
public VPNGatewayConnectionPatch.Builder psk(String psk)
Set the psk.- Parameters:
psk
- the psk- Returns:
- the VPNGatewayConnectionPatch builder
-
routingProtocol
public VPNGatewayConnectionPatch.Builder routingProtocol(String routingProtocol)
Set the routingProtocol.- Parameters:
routingProtocol
- the routingProtocol- Returns:
- the VPNGatewayConnectionPatch builder
-
-