public static enum VPC.InstanceTenancy extends Enum<VPC.InstanceTenancy>
Enum Constant and Description |
---|
DEDICATED |
DEFAULT
The valid tenancy of instances launched into the VPC
|
HOST |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VPC.InstanceTenancy |
fromValue(String v) |
String |
value() |
static VPC.InstanceTenancy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VPC.InstanceTenancy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VPC.InstanceTenancy DEFAULT
public static final VPC.InstanceTenancy DEDICATED
public static final VPC.InstanceTenancy HOST
public static final VPC.InstanceTenancy UNRECOGNIZED
public static VPC.InstanceTenancy[] values()
for (VPC.InstanceTenancy c : VPC.InstanceTenancy.values()) System.out.println(c);
public static VPC.InstanceTenancy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static VPC.InstanceTenancy fromValue(String v)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.