Condividi tramite


ComputeRole Class

public final class ComputeRole
extends ExpandableStringEnum<ComputeRole>

Compute role type (IaaS or PaaS).

Field Summary

Modifier and Type Field and Description
static final ComputeRole IAAS

Static value IaaS for ComputeRole.

static final ComputeRole NONE

Static value None for ComputeRole.

static final ComputeRole PAAS

Static value PaaS for ComputeRole.

Constructor Summary

Constructor Description
ComputeRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeRole value.

Method Summary

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

Creates or finds a ComputeRole from its string representation.

static Collection<ComputeRole> values()

Gets known ComputeRole values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IAAS

public static final ComputeRole IAAS

Static value IaaS for ComputeRole.

NONE

public static final ComputeRole NONE

Static value None for ComputeRole.

PAAS

public static final ComputeRole PAAS

Static value PaaS for ComputeRole.

Constructor Details

ComputeRole

@Deprecated
public ComputeRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeRole value.

Method Details

fromString

public static ComputeRole fromString(String name)

Creates or finds a ComputeRole from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ComputeRole.

values

public static Collection<ComputeRole> values()

Gets known ComputeRole values.

Returns:

known ComputeRole values.

Applies to