UnitDefinitionType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<UnitDefinitionType>
      • com.microsoft.azure.management.sql.UnitDefinitionType

public class UnitDefinitionType

Defines values for UnitDefinitionType.

Field Summary

Modifier and Type Field and Description
final UnitDefinitionType BYTES

Static value Bytes for UnitDefinitionType.

final UnitDefinitionType BYTES_PER_SECOND

Static value BytesPerSecond for UnitDefinitionType.

final UnitDefinitionType COUNT

Static value Count for UnitDefinitionType.

final UnitDefinitionType COUNT_PER_SECOND

Static value CountPerSecond for UnitDefinitionType.

final UnitDefinitionType PERCENT

Static value Percent for UnitDefinitionType.

final UnitDefinitionType SECONDS

Static value Seconds for UnitDefinitionType.

Method Summary

Modifier and Type Method and Description
UnitDefinitionType fromString(String name)

Creates or finds a UnitDefinitionType from its string representation.

Collection<UnitDefinitionType> values()

Field Details

BYTES

public static final UnitDefinitionType BYTES= fromString("Bytes")

Static value Bytes for UnitDefinitionType.

BYTES_PER_SECOND

public static final UnitDefinitionType BYTES_PER_SECOND= fromString("BytesPerSecond")

Static value BytesPerSecond for UnitDefinitionType.

COUNT

public static final UnitDefinitionType COUNT= fromString("Count")

Static value Count for UnitDefinitionType.

COUNT_PER_SECOND

public static final UnitDefinitionType COUNT_PER_SECOND= fromString("CountPerSecond")

Static value CountPerSecond for UnitDefinitionType.

PERCENT

public static final UnitDefinitionType PERCENT= fromString("Percent")

Static value Percent for UnitDefinitionType.

SECONDS

public static final UnitDefinitionType SECONDS= fromString("Seconds")

Static value Seconds for UnitDefinitionType.

Method Details

fromString

public static UnitDefinitionType fromString(String name)

Creates or finds a UnitDefinitionType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding UnitDefinitionType

values

public static Collection values()

Returns:

known UnitDefinitionType values

Applies to