Share via


FreeTrialState Class

public final class FreeTrialState
extends ExpandableStringEnum<FreeTrialState>

The free trial state.

Field Summary

Modifier and Type Field and Description
static final FreeTrialState ACTIVE

The free trial is active and available for use.

static final FreeTrialState EXPIRED

The free trial has expired and is no longer available.

static final FreeTrialState NOT_APPLICABLE

The free trial is not applicable for this resource.

Constructor Summary

Constructor Description
FreeTrialState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreeTrialState value.

Method Summary

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

Creates or finds a FreeTrialState from its string representation.

static Collection<FreeTrialState> values()

Gets known FreeTrialState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final FreeTrialState ACTIVE

The free trial is active and available for use.

EXPIRED

public static final FreeTrialState EXPIRED

The free trial has expired and is no longer available.

NOT_APPLICABLE

public static final FreeTrialState NOT_APPLICABLE

The free trial is not applicable for this resource.

Constructor Details

FreeTrialState

@Deprecated
public FreeTrialState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreeTrialState value.

Method Details

fromString

public static FreeTrialState fromString(String name)

Creates or finds a FreeTrialState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FreeTrialState.

values

public static Collection<FreeTrialState> values()

Gets known FreeTrialState values.

Returns:

known FreeTrialState values.

Applies to