Interface ClientVpnRoute.Builder

    • Method Detail

      • clientVpnEndpointId

        ClientVpnRoute.Builder clientVpnEndpointId​(String clientVpnEndpointId)

        The ID of the Client VPN endpoint with which the route is associated.

        Parameters:
        clientVpnEndpointId - The ID of the Client VPN endpoint with which the route is associated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationCidr

        ClientVpnRoute.Builder destinationCidr​(String destinationCidr)

        The IPv4 address range, in CIDR notation, of the route destination.

        Parameters:
        destinationCidr - The IPv4 address range, in CIDR notation, of the route destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetSubnet

        ClientVpnRoute.Builder targetSubnet​(String targetSubnet)

        The ID of the subnet through which traffic is routed.

        Parameters:
        targetSubnet - The ID of the subnet through which traffic is routed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ClientVpnRoute.Builder type​(String type)

        The route type.

        Parameters:
        type - The route type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • origin

        ClientVpnRoute.Builder origin​(String origin)

        Indicates how the route was associated with the Client VPN endpoint. associate indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route indicates that the route was manually added using the CreateClientVpnRoute action.

        Parameters:
        origin - Indicates how the route was associated with the Client VPN endpoint. associate indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route indicates that the route was manually added using the CreateClientVpnRoute action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ClientVpnRoute.Builder status​(ClientVpnRouteStatus status)

        The current state of the route.

        Parameters:
        status - The current state of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ClientVpnRoute.Builder description​(String description)

        A brief description of the route.

        Parameters:
        description - A brief description of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.