public static enum InstanceAgentPluginConfigDetails.DesiredState extends Enum<InstanceAgentPluginConfigDetails.DesiredState>
Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the isMonitoringDisabled
and
isManagementDisabled
attributes must also be set to false.
Enum Constant and Description |
---|
Disabled |
Enabled |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static InstanceAgentPluginConfigDetails.DesiredState |
create(String key) |
String |
getValue() |
static InstanceAgentPluginConfigDetails.DesiredState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceAgentPluginConfigDetails.DesiredState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceAgentPluginConfigDetails.DesiredState Enabled
public static final InstanceAgentPluginConfigDetails.DesiredState Disabled
public static final InstanceAgentPluginConfigDetails.DesiredState UnknownEnumValue
public static InstanceAgentPluginConfigDetails.DesiredState[] values()
for (InstanceAgentPluginConfigDetails.DesiredState c : InstanceAgentPluginConfigDetails.DesiredState.values()) System.out.println(c);
public static InstanceAgentPluginConfigDetails.DesiredState 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 getValue()
public static InstanceAgentPluginConfigDetails.DesiredState create(String key)
Copyright © 2016–2022. All rights reserved.