Esempio n. 1
0
 /** @see org.jclouds.openstack.nova.v2_0.options.CreateServerOptions#getSecurityGroupNames */
 public NovaTemplateOptions securityGroupNames(Iterable<String> securityGroupNames) {
   for (String groupName : checkNotNull(securityGroupNames, "securityGroupNames"))
     Preconditions2.checkNotEmpty(groupName, "all security groups must be non-empty");
   this.securityGroupNames = ImmutableSet.copyOf(securityGroupNames);
   return this;
 }
 /** Specifies the customizationScript used to run instances with */
 public VCloudTemplateOptions customizationScript(String customizationScript) {
   Preconditions2.checkNotEmpty(customizationScript, "customizationScript must be non-empty");
   this.customizationScript = customizationScript;
   return this;
 }