ReplicationState Class

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

public class ReplicationState

Defines values for ReplicationState.

Field Summary

Modifier and Type Field and Description
final ReplicationState CATCH_UP

Static value CATCH_UP for ReplicationState.

final ReplicationState PENDING

Static value PENDING for ReplicationState.

final ReplicationState SEEDING

Static value SEEDING for ReplicationState.

final ReplicationState SUSPENDED

Static value SUSPENDED for ReplicationState.

Constructor Summary

Constructor Description
ReplicationState(String value)

Creates a custom value for ReplicationState.

Method Summary

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

Creates or finds a ReplicationState from its string representation.

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

Field Details

CATCH_UP

public static final ReplicationState CATCH_UP= fromString("CATCH_UP")

Static value CATCH_UP for ReplicationState.

PENDING

public static final ReplicationState PENDING= fromString("PENDING")

Static value PENDING for ReplicationState.

SEEDING

public static final ReplicationState SEEDING= fromString("SEEDING")

Static value SEEDING for ReplicationState.

SUSPENDED

public static final ReplicationState SUSPENDED= fromString("SUSPENDED")

Static value SUSPENDED for ReplicationState.

Constructor Details

ReplicationState

public ReplicationState(String value)

Creates a custom value for ReplicationState.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

fromString

public static ReplicationState fromString(String name)

Creates or finds a ReplicationState from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ReplicationState

hashCode

public int hashCode()

toString

public String toString()

values

public static Collection values()

Returns:

known ReplicationState values

Applies to