class TokenTransformConfig {

    public static TokenTransformConfig fromSMSString(String stringRepresentation) {
        String[] tokens = stringRepresentation.split(REGEX_PIPE);
        if (tokens.length != 3) {
            throw new IllegalArgumentException("The SMS String representation of the TokenTransformConfig must be of format: " +
                    "input_token_type|output_token_type|true_or_false. The passed-in string: " + stringRepresentation);
        }
        return new TokenTransformConfig(tokens[0], tokens[1], Boolean.valueOf(tokens[2]));
    }

    public  TokenTransformConfig(TokenTypeId inputTokenType, TokenTypeId outputTokenType, boolean invalidateInterimOpenAMSession);
    public  TokenTransformConfig(String inputTokenType, String outputTokenType, boolean invalidateInterimOpenAMSession);

}