VPC Creation in Java SDK

Hi,
I am looking for aws Java code example/project for creating VPC with subnets,CIDR,internet gateway,NAT,Routing table. Then Putting/associating ec2 instances with ELB and Auto Scaling.
Please share the project or code