Class RoutingTable

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.RoutingTable
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class RoutingTable extends com.ibm.cloud.sdk.core.service.model.GenericModel
RoutingTable.
  • Method Details

    • getAcceptRoutesFrom

      public List<ResourceFilter> getAcceptRoutesFrom()
      Gets the acceptRoutesFrom. The filters specifying the resources that may create routes in this routing table. The resources and types of filters supported by this property is expected to [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the acceptRoutesFrom
    • getAdvertiseRoutesTo

      public List<String> getAdvertiseRoutesTo()
      Gets the advertiseRoutesTo. The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these sources. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the advertiseRoutesTo
    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that this routing table was created.
      Returns:
      the createdAt
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this VPC routing table.
      Returns:
      the crn
    • getHref

      public String getHref()
      Gets the href. The URL for this routing table.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this routing table.
      Returns:
      the id
    • isIsDefault

      public Boolean isIsDefault()
      Gets the isDefault. Indicates whether this is the default routing table for this VPC.
      Returns:
      the isDefault
    • getLifecycleState

      public String getLifecycleState()
      Gets the lifecycleState. The lifecycle state of the routing table.
      Returns:
      the lifecycleState
    • getName

      public String getName()
      Gets the name. The name for this routing table. The name is unique across all routing tables for the VPC.
      Returns:
      the name
    • getResourceGroup

      public ResourceGroupReference getResourceGroup()
      Gets the resourceGroup. The resource group for this routing table.
      Returns:
      the resourceGroup
    • getResourceType

      public String getResourceType()
      Gets the resourceType. The resource type.
      Returns:
      the resourceType
    • isRouteDirectLinkIngress

      public Boolean isRouteDirectLinkIngress()
      Gets the routeDirectLinkIngress. Indicates whether this routing table is used to route traffic that originates from [Direct Link](https://cloud.ibm.com/docs/dl) to this VPC. Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.
      Returns:
      the routeDirectLinkIngress
    • isRouteInternetIngress

      public Boolean isRouteInternetIngress()
      Gets the routeInternetIngress. Indicates whether this routing table is used to route traffic that originates from the internet. Incoming traffic will be routed according to the routing table with two exceptions: - Traffic destined for IP addresses associated with public gateways will not be subject to routes in this routing table. - Routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.
      Returns:
      the routeInternetIngress
    • isRouteTransitGatewayIngress

      public Boolean isRouteTransitGatewayIngress()
      Gets the routeTransitGatewayIngress. Indicates whether this routing table is used to route traffic that originates from from [Transit Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC. Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.
      Returns:
      the routeTransitGatewayIngress
    • isRouteVpcZoneIngress

      public Boolean isRouteVpcZoneIngress()
      Gets the routeVpcZoneIngress. Indicates whether this routing table is used to route traffic that originates from subnets in other zones in this VPC. Incoming traffic will be routed according to the routing table with one exception: routes with an `action` of `deliver` are treated as `drop` unless the `next_hop` is an IP address in a subnet in the route's `zone` that is able to accept traffic. Therefore, if an incoming packet matches a route with a `next_hop` of a VPN gateway connection, the packet will be dropped.
      Returns:
      the routeVpcZoneIngress
    • getRoutes

      public List<RouteReference> getRoutes()
      Gets the routes. The routes for this routing table.
      Returns:
      the routes
    • getSubnets

      public List<SubnetReference> getSubnets()
      Gets the subnets. The subnets to which this routing table is attached.
      Returns:
      the subnets