@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public enum TagValueType extends Enum<TagValueType> implements BmcEnum
Specifies which tag value types in the tagValues
field result in overrides of the
recommendation criteria. Allowed values are ANY
and VALUE
.
When the tagValueType
field value is ANY
, the tagValues
field should
be empty, which enforces overrides to the recommendation for resources with any tag values
attached to them. When the tagValueType
field value is VALUE
, the tagValues
field must include a specific value or list of values. Overrides to the recommendation
criteria only occur for resources that match the values in the tagKey
and the tagValues
fields.
For example, if the tagKey
value is B
, the tagValueType
value is
ANY
, and the tagValues
field is empty, overrides to the recommendation criteria
occur for any resources that have the tag key B. If the tagKey
value is B
, the
tagValueType
value is VALUE
, and the tagValues
value is s1
,
overrides to the recommendation criteria only occur for resources that have the tag key B with
the associated tag value s1.
Enum Constant and Description |
---|
Any |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Value |
Modifier and Type | Method and Description |
---|---|
static TagValueType |
create(String key) |
String |
getValue() |
static TagValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagValueType Value
public static final TagValueType Any
public static final TagValueType UnknownEnumValue
public static TagValueType[] values()
for (TagValueType c : TagValueType.values()) System.out.println(c);
public static TagValueType 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 static TagValueType create(String key)
Copyright © 2016–2024. All rights reserved.