Class RouteNextHopPatch

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.RouteNextHopPatch
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
RouteNextHopPatchRouteNextHopIP, RouteNextHopPatchVPNGatewayConnectionIdentity

public class RouteNextHopPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
If `action` is `deliver`, the next hop that packets will be delivered to (must not be `0.0.0.0`). For other `action` values, specify `0.0.0.0` or remove it by specifying `null`. At most two routes per `zone` in a table can have the same `destination` and `priority`, and only when each route has an `action` of `deliver` and `next_hop` is an IP address. Classes which extend this class: - RouteNextHopPatchRouteNextHopIP - RouteNextHopPatchVPNGatewayConnectionIdentity
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the address.
    Gets the href.
    id()
    Gets the id.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • address

      public String address()
      Gets the address. The sentinel IP address (`0.0.0.0`). This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in the future.
      Returns:
      the address
    • id

      public String id()
      Gets the id. The unique identifier for this VPN gateway connection.
      Returns:
      the id
    • href

      public String href()
      Gets the href. The URL for this VPN gateway connection.
      Returns:
      the href