OpenShiftAgentPoolProfileRole Class

public final class OpenShiftAgentPoolProfileRole
extends ExpandableStringEnum<OpenShiftAgentPoolProfileRole>

OpenShiftAgentPoolProfileRole represents the role of the AgentPoolProfile.

Field Summary

Modifier and Type Field and Description
static final OpenShiftAgentPoolProfileRole COMPUTE

Static value compute for OpenShiftAgentPoolProfileRole.

static final OpenShiftAgentPoolProfileRole INFRA

Static value infra for OpenShiftAgentPoolProfileRole.

Constructor Summary

Constructor Description
OpenShiftAgentPoolProfileRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OpenShiftAgentPoolProfileRole value.

Method Summary

Modifier and Type Method and Description
static OpenShiftAgentPoolProfileRole fromString(String name)

Creates or finds a OpenShiftAgentPoolProfileRole from its string representation.

static Collection<OpenShiftAgentPoolProfileRole> values()

Gets known OpenShiftAgentPoolProfileRole values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPUTE

public static final OpenShiftAgentPoolProfileRole COMPUTE

Static value compute for OpenShiftAgentPoolProfileRole.

INFRA

public static final OpenShiftAgentPoolProfileRole INFRA

Static value infra for OpenShiftAgentPoolProfileRole.

Constructor Details

OpenShiftAgentPoolProfileRole

@Deprecated
public OpenShiftAgentPoolProfileRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OpenShiftAgentPoolProfileRole value.

Method Details

fromString

public static OpenShiftAgentPoolProfileRole fromString(String name)

Creates or finds a OpenShiftAgentPoolProfileRole from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OpenShiftAgentPoolProfileRole.

values

public static Collection values()

Gets known OpenShiftAgentPoolProfileRole values.

Returns:

known OpenShiftAgentPoolProfileRole values.

Applies to