Class CreateVpcRoutingTableOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String vpcId)
        Instantiates a new builder with required properties.
        Parameters:
        vpcId - the vpcId
    • Method Detail

      • build

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

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

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

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

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

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

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

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

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