Class CreateVpnServerRouteOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateVpnServerRouteOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createVpnServerRoute options.
    • Method Detail

      • vpnServerId

        public String vpnServerId()
        Gets the vpnServerId. The VPN server identifier.
        Returns:
        the vpnServerId
      • destination

        public String destination()
        Gets the destination. The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped.
        Returns:
        the destination
      • action

        public String action()
        Gets the action. The action to perform with a packet matching the VPN route: - `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. - `deliver`: deliver the packet to the target. - `drop`: drop the packet.
        Returns:
        the action
      • name

        public String name()
        Gets the name. The name for this VPN server route. The name must not be used by another route for the VPN server. If unspecified, the name will be a hyphenated list of randomly-selected words.
        Returns:
        the name