org.jclouds.vcloud.compute.strategy
Enum InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator
java.lang.Object
java.lang.Enum<InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator>
org.jclouds.vcloud.compute.strategy.InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator
- All Implemented Interfaces:
- Serializable, Comparable<InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator>
- Enclosing class:
- InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn
public static enum InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator
- extends Enum<InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator>
per john ellis at bluelock, vCloud Director 1.5 is more strict than earlier versions.
It appears to be 15 characters to match Windows' hostname limitation. Must be alphanumeric, at
least one non-number character and hyphens and underscores are the only non-alpha character
allowed.
INSTANCE
public static final InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator INSTANCE
values
public static InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator c : InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.ComputerNameValidator valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
validate
public void validate(@Nullable
String t)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 2009-2012 jclouds. All Rights Reserved.