Compartilhar via


ScaleType Class

public final class ScaleType
extends ExpandableStringEnum<ScaleType>

The scale type applicable to the sku.

Field Summary

Modifier and Type Field and Description
static final ScaleType AUTOMATIC

Static value Automatic for ScaleType.

static final ScaleType MANUAL

Static value Manual for ScaleType.

static final ScaleType NONE

Static value None for ScaleType.

Constructor Summary

Constructor Description
ScaleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleType value.

Method Summary

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

Creates or finds a ScaleType from its string representation.

static Collection<ScaleType> values()

Gets known ScaleType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTOMATIC

public static final ScaleType AUTOMATIC

Static value Automatic for ScaleType.

MANUAL

public static final ScaleType MANUAL

Static value Manual for ScaleType.

NONE

public static final ScaleType NONE

Static value None for ScaleType.

Constructor Details

ScaleType

@Deprecated
public ScaleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleType value.

Method Details

fromString

public static ScaleType fromString(String name)

Creates or finds a ScaleType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScaleType.

values

public static Collection<ScaleType> values()

Gets known ScaleType values.

Returns:

known ScaleType values.

Applies to