Class RouteState.Builder

  • Enclosing class:
    RouteState

    public static final class RouteState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(RouteState defaults)
    • Method Detail

      • clientVpnEndpointId

        public RouteState.Builder clientVpnEndpointId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> clientVpnEndpointId)
        Parameters:
        clientVpnEndpointId - The ID of the Client VPN endpoint.
        Returns:
        builder
      • clientVpnEndpointId

        public RouteState.Builder clientVpnEndpointId​(java.lang.String clientVpnEndpointId)
        Parameters:
        clientVpnEndpointId - The ID of the Client VPN endpoint.
        Returns:
        builder
      • description

        public RouteState.Builder description​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A brief description of the route.
        Returns:
        builder
      • description

        public RouteState.Builder description​(java.lang.String description)
        Parameters:
        description - A brief description of the route.
        Returns:
        builder
      • destinationCidrBlock

        public RouteState.Builder destinationCidrBlock​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> destinationCidrBlock)
        Parameters:
        destinationCidrBlock - The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
        Returns:
        builder
      • destinationCidrBlock

        public RouteState.Builder destinationCidrBlock​(java.lang.String destinationCidrBlock)
        Parameters:
        destinationCidrBlock - The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
        Returns:
        builder
      • origin

        public RouteState.Builder origin​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> origin)
        Parameters:
        origin - Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
        Returns:
        builder
      • origin

        public RouteState.Builder origin​(java.lang.String origin)
        Parameters:
        origin - Indicates how the Client VPN route was added. Will be `add-route` for routes created by this resource.
        Returns:
        builder
      • region

        public RouteState.Builder region​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public RouteState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • targetVpcSubnetId

        public RouteState.Builder targetVpcSubnetId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> targetVpcSubnetId)
        Parameters:
        targetVpcSubnetId - The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN. Required for VPC-based Client VPN endpoints. Not applicable for Transit Gateway-based Client VPN endpoints.
        Returns:
        builder
      • targetVpcSubnetId

        public RouteState.Builder targetVpcSubnetId​(java.lang.String targetVpcSubnetId)
        Parameters:
        targetVpcSubnetId - The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN. Required for VPC-based Client VPN endpoints. Not applicable for Transit Gateway-based Client VPN endpoints.
        Returns:
        builder
      • transitGatewayAttachmentId

        public RouteState.Builder transitGatewayAttachmentId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> transitGatewayAttachmentId)
        Parameters:
        transitGatewayAttachmentId - The ID of the Transit Gateway attachment, if the route targets a Transit Gateway-based Client VPN endpoint.
        Returns:
        builder
      • transitGatewayAttachmentId

        public RouteState.Builder transitGatewayAttachmentId​(java.lang.String transitGatewayAttachmentId)
        Parameters:
        transitGatewayAttachmentId - The ID of the Transit Gateway attachment, if the route targets a Transit Gateway-based Client VPN endpoint.
        Returns:
        builder
      • type

        public RouteState.Builder type​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of the route.
        Returns:
        builder
      • type

        public RouteState.Builder type​(java.lang.String type)
        Parameters:
        type - The type of the route.
        Returns:
        builder