Package com.ibm.cloud.is.vpc.v1.model
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Gets the address.String
href()
Gets the href.String
id()
Gets the id.
-
-
-
Method Detail
-
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
-
-