ElasticPoolState Class

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

public class ElasticPoolState

Defines values for ElasticPoolState.

Field Summary

Modifier and Type Field and Description
final ElasticPoolState CREATING

Static value Creating for ElasticPoolState.

final ElasticPoolState DISABLED

Static value Disabled for ElasticPoolState.

final ElasticPoolState READY

Static value Ready for ElasticPoolState.

Constructor Summary

Constructor Description
ElasticPoolState(String value)

Creates a custom value for ElasticPoolState.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
ElasticPoolState fromString(String name)

Creates or finds a ElasticPoolState from its string representation.

int hashCode()
String toString()
Collection<ElasticPoolState> values()

Field Details

CREATING

public static final ElasticPoolState CREATING= fromString("Creating")

Static value Creating for ElasticPoolState.

DISABLED

public static final ElasticPoolState DISABLED= fromString("Disabled")

Static value Disabled for ElasticPoolState.

READY

public static final ElasticPoolState READY= fromString("Ready")

Static value Ready for ElasticPoolState.

Constructor Details

ElasticPoolState

public ElasticPoolState(String value)

Creates a custom value for ElasticPoolState.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

fromString

public static ElasticPoolState fromString(String name)

Creates or finds a ElasticPoolState from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ElasticPoolState

hashCode

public int hashCode()

toString

public String toString()

values

public static Collection values()

Returns:

known ElasticPoolState values

Applies to