Class RoutingTablePatch.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public RoutingTablePatch build()
        Builds a RoutingTablePatch.
        Returns:
        the new RoutingTablePatch instance
      • addAcceptRoutesFrom

        public RoutingTablePatch.Builder addAcceptRoutesFrom​(ResourceFilter acceptRoutesFrom)
        Adds a new element to acceptRoutesFrom.
        Parameters:
        acceptRoutesFrom - the new element to be added
        Returns:
        the RoutingTablePatch builder
      • addAdvertiseRoutesTo

        public RoutingTablePatch.Builder addAdvertiseRoutesTo​(String advertiseRoutesTo)
        Adds a new element to advertiseRoutesTo.
        Parameters:
        advertiseRoutesTo - the new element to be added
        Returns:
        the RoutingTablePatch builder
      • acceptRoutesFrom

        public RoutingTablePatch.Builder acceptRoutesFrom​(List<ResourceFilter> acceptRoutesFrom)
        Set the acceptRoutesFrom. Existing acceptRoutesFrom will be replaced.
        Parameters:
        acceptRoutesFrom - the acceptRoutesFrom
        Returns:
        the RoutingTablePatch builder
      • advertiseRoutesTo

        public RoutingTablePatch.Builder advertiseRoutesTo​(List<String> advertiseRoutesTo)
        Set the advertiseRoutesTo. Existing advertiseRoutesTo will be replaced.
        Parameters:
        advertiseRoutesTo - the advertiseRoutesTo
        Returns:
        the RoutingTablePatch builder
      • routeDirectLinkIngress

        public RoutingTablePatch.Builder routeDirectLinkIngress​(Boolean routeDirectLinkIngress)
        Set the routeDirectLinkIngress.
        Parameters:
        routeDirectLinkIngress - the routeDirectLinkIngress
        Returns:
        the RoutingTablePatch builder
      • routeInternetIngress

        public RoutingTablePatch.Builder routeInternetIngress​(Boolean routeInternetIngress)
        Set the routeInternetIngress.
        Parameters:
        routeInternetIngress - the routeInternetIngress
        Returns:
        the RoutingTablePatch builder
      • routeTransitGatewayIngress

        public RoutingTablePatch.Builder routeTransitGatewayIngress​(Boolean routeTransitGatewayIngress)
        Set the routeTransitGatewayIngress.
        Parameters:
        routeTransitGatewayIngress - the routeTransitGatewayIngress
        Returns:
        the RoutingTablePatch builder
      • routeVpcZoneIngress

        public RoutingTablePatch.Builder routeVpcZoneIngress​(Boolean routeVpcZoneIngress)
        Set the routeVpcZoneIngress.
        Parameters:
        routeVpcZoneIngress - the routeVpcZoneIngress
        Returns:
        the RoutingTablePatch builder