Class CreateVpcRoutingTableOptions

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

public class CreateVpcRoutingTableOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createVpcRoutingTable options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a CreateVpcRoutingTableOptions builder
    • vpcId

      public String vpcId()
      Gets the vpcId. The VPC identifier.
      Returns:
      the vpcId
    • acceptRoutesFrom

      public List<ResourceFilter> acceptRoutesFrom()
      Gets the acceptRoutesFrom. The filters specifying the resources that may create routes in this routing table. If specified, `resource_type` must be `vpn_gateway` or `vpn_server`.
      Returns:
      the acceptRoutesFrom
    • advertiseRoutesTo

      public List<String> advertiseRoutesTo()
      Gets the advertiseRoutesTo. The ingress sources to advertise routes to. Routes in the table with `advertise` enabled will be advertised to these sources.
      Returns:
      the advertiseRoutesTo
    • name

      public String name()
      Gets the name. The name for this routing table. The name must not be used by another routing table in the VPC. If unspecified, the name will be a hyphenated list of randomly-selected words.
      Returns:
      the name
    • routeDirectLinkIngress

      public Boolean routeDirectLinkIngress()
      Gets the routeDirectLinkIngress. If set to `true`, this routing table will be used to route traffic that originates from [Direct Link](https://cloud.ibm.com/docs/dl) to this VPC. The VPC must not already have a routing table with this property set to `true`. 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. If [Classic Access](https://cloud.ibm.com/docs/vpc?topic=vpc-setting-up-access-to-classic-infrastructure) is enabled for this VPC, and this property is set to `true`, its incoming traffic will also be routed according to this routing table.
      Returns:
      the routeDirectLinkIngress
    • routeInternetIngress

      public Boolean routeInternetIngress()
      Gets the routeInternetIngress. If set to `true`, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to `true`. 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
    • routeTransitGatewayIngress

      public Boolean routeTransitGatewayIngress()
      Gets the routeTransitGatewayIngress. If set to `true`, this routing table will be used to route traffic that originates from [Transit Gateway](https://cloud.ibm.com/docs/transit-gateway) to this VPC. The VPC must not already have a routing table with this property set to `true`. 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
    • routeVpcZoneIngress

      public Boolean routeVpcZoneIngress()
      Gets the routeVpcZoneIngress. If set to `true`, this routing table will be used to route traffic that originates from subnets in other zones in this VPC. The VPC must not already have a routing table with this property set to `true`. 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
    • routes

      public List<RoutePrototype> routes()
      Gets the routes. The prototype objects for routes to create for this routing table. If unspecified, the routing table will be created with no routes.
      Returns:
      the routes