Partager via


InstancePoolLicenseType Class

public final class InstancePoolLicenseType
extends ExpandableStringEnum<InstancePoolLicenseType>

The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).

Field Summary

Modifier and Type Field and Description
static final InstancePoolLicenseType BASE_PRICE

Static value BasePrice for InstancePoolLicenseType.

static final InstancePoolLicenseType LICENSE_INCLUDED

Static value LicenseIncluded for InstancePoolLicenseType.

Constructor Summary

Constructor Description
InstancePoolLicenseType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstancePoolLicenseType value.

Method Summary

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

Creates or finds a InstancePoolLicenseType from its string representation.

static Collection<InstancePoolLicenseType> values()

Gets known InstancePoolLicenseType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASE_PRICE

public static final InstancePoolLicenseType BASE_PRICE

Static value BasePrice for InstancePoolLicenseType.

LICENSE_INCLUDED

public static final InstancePoolLicenseType LICENSE_INCLUDED

Static value LicenseIncluded for InstancePoolLicenseType.

Constructor Details

InstancePoolLicenseType

@Deprecated
public InstancePoolLicenseType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstancePoolLicenseType value.

Method Details

fromString

public static InstancePoolLicenseType fromString(String name)

Creates or finds a InstancePoolLicenseType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InstancePoolLicenseType.

values

public static Collection values()

Gets known InstancePoolLicenseType values.

Returns:

known InstancePoolLicenseType values.

Applies to