Package com.ibm.cloud.is.vpc.v1.model
Class CreateVpnServerRouteOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateVpnServerRouteOptions.Builder
-
- Enclosing class:
- CreateVpnServerRouteOptions
public static class CreateVpnServerRouteOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpnServerRouteOptions.Builder
action(String action)
Set the action.CreateVpnServerRouteOptions
build()
Builds a CreateVpnServerRouteOptions.CreateVpnServerRouteOptions.Builder
destination(String destination)
Set the destination.CreateVpnServerRouteOptions.Builder
name(String name)
Set the name.CreateVpnServerRouteOptions.Builder
vpnServerId(String vpnServerId)
Set the vpnServerId.
-
-
-
Method Detail
-
build
public CreateVpnServerRouteOptions build()
Builds a CreateVpnServerRouteOptions.- Returns:
- the new CreateVpnServerRouteOptions instance
-
vpnServerId
public CreateVpnServerRouteOptions.Builder vpnServerId(String vpnServerId)
Set the vpnServerId.- Parameters:
vpnServerId
- the vpnServerId- Returns:
- the CreateVpnServerRouteOptions builder
-
destination
public CreateVpnServerRouteOptions.Builder destination(String destination)
Set the destination.- Parameters:
destination
- the destination- Returns:
- the CreateVpnServerRouteOptions builder
-
action
public CreateVpnServerRouteOptions.Builder action(String action)
Set the action.- Parameters:
action
- the action- Returns:
- the CreateVpnServerRouteOptions builder
-
name
public CreateVpnServerRouteOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateVpnServerRouteOptions builder
-
-