Add builder pattern in Java & C#