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. 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 add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.- 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 VPN connection's canonical URL.- Returns:
- the href
-
-