UnitType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.sql.UnitType

public final class UnitType
extends com.microsoft.rest.ExpandableStringEnum<UnitType>

Defines values for UnitType.

Field Summary

Modifier and Type Field and Description
static final UnitType BYTES

Static value bytes for UnitType.

static final UnitType BYTES_PER_SECOND

Static value bytesPerSecond for UnitType.

static final UnitType COUNT

Static value count for UnitType.

static final UnitType COUNT_PER_SECOND

Static value countPerSecond for UnitType.

static final UnitType PERCENT

Static value percent for UnitType.

static final UnitType SECONDS

Static value seconds for UnitType.

Constructor Summary

Constructor Description
UnitType()

Method Summary

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

Creates or finds a UnitType from its string representation.

static java.util.Collection<UnitType> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

BYTES

public static final UnitType BYTES

Static value bytes for UnitType.

BYTES_PER_SECOND

public static final UnitType BYTES_PER_SECOND

Static value bytesPerSecond for UnitType.

COUNT

public static final UnitType COUNT

Static value count for UnitType.

COUNT_PER_SECOND

public static final UnitType COUNT_PER_SECOND

Static value countPerSecond for UnitType.

PERCENT

public static final UnitType PERCENT

Static value percent for UnitType.

SECONDS

public static final UnitType SECONDS

Static value seconds for UnitType.

Constructor Details

UnitType

public UnitType()

Method Details

fromString

public static UnitType fromString(String name)

Creates or finds a UnitType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding UnitType

values

public static Collection values()

Returns:

known UnitType values

Applies to