Class GetLocalGatewayPlainArgs.Builder

  • Enclosing class:
    GetLocalGatewayPlainArgs

    public static final class GetLocalGatewayPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • id

        public GetLocalGatewayPlainArgs.Builder id​(@Nullable
                                                   java.lang.String id)
        Parameters:
        id - ID of the specific Local Gateway to retrieve.
        Returns:
        builder
      • region

        public GetLocalGatewayPlainArgs.Builder region​(@Nullable
                                                       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
      • state

        public GetLocalGatewayPlainArgs.Builder state​(@Nullable
                                                      java.lang.String state)
        Parameters:
        state - Current state of the desired Local Gateway. Can be either `"pending"` or `"available"`.
        Returns:
        builder
      • tags

        public GetLocalGatewayPlainArgs.Builder tags​(@Nullable
                                                     java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Mapping of tags, each pair of which must exactly match a pair on the desired Local Gateway. The arguments of this data source act as filters for querying the available Local Gateways in the current region. The given filters must match exactly one Local Gateway whose data will be exported as attributes.
        Returns:
        builder