class NovaContext {

  public static ContextBuilder buildContext(NovaCredentials credentials) {
    Properties properties = new Properties();
    properties.setProperty(NovaProperties.AUTO_ALLOCATE_FLOATING_IPS, "true");
    Iterable<Module> modules = ImmutableSet.<Module>of(
            new SshjSshClientModule(),
            new SLF4JLoggingModule(),
            new EnterpriseConfigurationModule());

    ContextBuilder build = ContextBuilder.newBuilder("aws-ec2")
            .credentials(credentials.getAccountName(), credentials.getAccountPass())
            .endpoint(credentials.getEndpoint())
            .modules(modules)
            .overrides(properties);

    return build;
  }

  public  NovaContext(NovaCredentials credentials, ContextBuilder builder);

}