Class RouteTable

    • Constructor Detail

      • RouteTable

        public RouteTable()
    • Method Detail

      • setRouteTableId

        public void setRouteTableId​(String routeTableId)

        The ID of the route table.

        Parameters:
        routeTableId - The ID of the route table.
      • getRouteTableId

        public String getRouteTableId()

        The ID of the route table.

        Returns:
        The ID of the route table.
      • withRouteTableId

        public RouteTable withRouteTableId​(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.
      • setVpcId

        public void setVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
      • getVpcId

        public String getVpcId()

        The ID of the VPC.

        Returns:
        The ID of the VPC.
      • withVpcId

        public RouteTable withVpcId​(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.
      • getRoutes

        public List<Route> getRoutes()

        The routes in the route table.

        Returns:
        The routes in the route table.
      • setRoutes

        public void setRoutes​(Collection<Route> routes)

        The routes in the route table.

        Parameters:
        routes - The routes in the route table.
      • withRoutes

        public RouteTable withRoutes​(Route... routes)

        The routes in the route table.

        NOTE: This method appends the values to the existing list (if any). Use setRoutes(java.util.Collection) or withRoutes(java.util.Collection) if you want to override the existing values.

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

        public RouteTable withRoutes​(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.
      • getAssociations

        public List<RouteTableAssociation> getAssociations()

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

        Returns:
        The associations between the route table and one or more subnets.
      • setAssociations

        public void setAssociations​(Collection<RouteTableAssociation> associations)

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

        Parameters:
        associations - The associations between the route table and one or more subnets.
      • withAssociations

        public RouteTable withAssociations​(RouteTableAssociation... associations)

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

        NOTE: This method appends the values to the existing list (if any). Use setAssociations(java.util.Collection) or withAssociations(java.util.Collection) if you want to override the existing values.

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

        public RouteTable withAssociations​(Collection<RouteTableAssociation> associations)

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

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

        public List<Tag> getTags()

        Any tags assigned to the route table.

        Returns:
        Any tags assigned to the route table.
      • setTags

        public void setTags​(Collection<Tag> tags)

        Any tags assigned to the route table.

        Parameters:
        tags - Any tags assigned to the route table.
      • withTags

        public RouteTable withTags​(Tag... tags)

        Any tags assigned to the route table.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

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

        public RouteTable withTags​(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.
      • getPropagatingVgws

        public List<PropagatingVgw> getPropagatingVgws()

        Any virtual private gateway (VGW) propagating routes.

        Returns:
        Any virtual private gateway (VGW) propagating routes.
      • setPropagatingVgws

        public void setPropagatingVgws​(Collection<PropagatingVgw> propagatingVgws)

        Any virtual private gateway (VGW) propagating routes.

        Parameters:
        propagatingVgws - Any virtual private gateway (VGW) propagating routes.
      • withPropagatingVgws

        public RouteTable withPropagatingVgws​(PropagatingVgw... propagatingVgws)

        Any virtual private gateway (VGW) propagating routes.

        NOTE: This method appends the values to the existing list (if any). Use setPropagatingVgws(java.util.Collection) or withPropagatingVgws(java.util.Collection) if you want to override the existing values.

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

        public RouteTable withPropagatingVgws​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object