/** * Creates a {@link JcloudsContainerBuilder}. * * @return */ public static JcloudsContainerBuilder jclouds() { return new JcloudsContainerBuilder(CreateContainerOptionsBuilder.jclouds()); }
/** * Creates a {@link ChildContainerBuilder}. * * @param numberOfContainers The number of {@link Container}s that the builder will create. * @return */ public static ChildContainerBuilder child(int numberOfContainers) { return new ChildContainerBuilder( CreateContainerOptionsBuilder.child().number(numberOfContainers)); }
/** * Creates a {@link SshContainerBuilder}. * * @return */ public static SshContainerBuilder ssh() { return new SshContainerBuilder(CreateContainerOptionsBuilder.ssh()); }
/** * Creates an {@link SshContainerBuilder}. * * @param numberOfContainers The number of contaienrs the builder will create. * @return */ public static SshContainerBuilder ssh(int numberOfContainers) { return new SshContainerBuilder(CreateContainerOptionsBuilder.ssh().number(1)); }
/** * Creates a {@link JcloudsContainerBuilder} * * @param numberOfContainers The number of {@link Container}s the builder will create. * @return */ public static JcloudsContainerBuilder jclouds(int numberOfContainers) { return new JcloudsContainerBuilder( CreateContainerOptionsBuilder.jclouds().number(numberOfContainers)); }