Interface RouteTable.Builder

    • Method Detail

      • associations

        RouteTable.Builder associations​(Collection<RouteTableAssociation> associations)

        The associations between the route table and one or more subnets or a gateway.

        Parameters:
        associations - The associations between the route table and one or more subnets or a gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associations

        RouteTable.Builder associations​(RouteTableAssociation... associations)

        The associations between the route table and one or more subnets or a gateway.

        Parameters:
        associations - The associations between the route table and one or more subnets or a gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • propagatingVgws

        RouteTable.Builder propagatingVgws​(Collection<PropagatingVgw> propagatingVgws)

        Any virtual private gateway (VGW) propagating routes.

        Parameters:
        propagatingVgws - Any virtual private gateway (VGW) propagating routes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • propagatingVgws

        RouteTable.Builder propagatingVgws​(PropagatingVgw... propagatingVgws)

        Any virtual private gateway (VGW) propagating routes.

        Parameters:
        propagatingVgws - Any virtual private gateway (VGW) propagating routes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeTableId

        RouteTable.Builder routeTableId​(String routeTableId)

        The ID of the route table.

        Parameters:
        routeTableId - The ID of the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routes

        RouteTable.Builder routes​(Collection<Route> routes)

        The routes in the route table.

        Parameters:
        routes - The routes in the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routes

        RouteTable.Builder routes​(Route... routes)

        The routes in the route table.

        Parameters:
        routes - The routes in the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routes

        RouteTable.Builder routes​(Consumer<Route.Builder>... routes)

        The routes in the route table.

        This is a convenience method that creates an instance of the Route.Builder avoiding the need to create one manually via Route.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #routes(List).

        Parameters:
        routes - a consumer that will call methods on Route.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #routes(java.util.Collection)
      • tags

        RouteTable.Builder tags​(Collection<Tag> tags)

        Any tags assigned to the route table.

        Parameters:
        tags - Any tags assigned to the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RouteTable.Builder tags​(Tag... tags)

        Any tags assigned to the route table.

        Parameters:
        tags - Any tags assigned to the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        RouteTable.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the route table.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • vpcId

        RouteTable.Builder vpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        RouteTable.Builder ownerId​(String ownerId)

        The ID of the Amazon Web Services account that owns the route table.

        Parameters:
        ownerId - The ID of the Amazon Web Services account that owns the route table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.