public enum PlacementAffinityRuleRuleScope extends Enum<PlacementAffinityRuleRuleScope>
Java class for PlacementAffinityRuleRuleScope.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PlacementAffinityRuleRuleScope">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="cluster"/>
<enumeration value="host"/>
<enumeration value="storagePod"/>
<enumeration value="datastore"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CLUSTER |
DATASTORE |
HOST |
STORAGE_POD |
| Modifier and Type | Method and Description |
|---|---|
static PlacementAffinityRuleRuleScope |
fromValue(String v) |
String |
value() |
static PlacementAffinityRuleRuleScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementAffinityRuleRuleScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementAffinityRuleRuleScope CLUSTER
public static final PlacementAffinityRuleRuleScope HOST
public static final PlacementAffinityRuleRuleScope STORAGE_POD
public static final PlacementAffinityRuleRuleScope DATASTORE
public static PlacementAffinityRuleRuleScope[] values()
for (PlacementAffinityRuleRuleScope c : PlacementAffinityRuleRuleScope.values()) System.out.println(c);
public static PlacementAffinityRuleRuleScope 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 PlacementAffinityRuleRuleScope fromValue(String v)
Copyright © 2018. All rights reserved.