ReadWriteEndpointFailoverPolicy Class

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

public class ReadWriteEndpointFailoverPolicy

Defines values for ReadWriteEndpointFailoverPolicy.

Field Summary

Modifier and Type Field and Description
final ReadWriteEndpointFailoverPolicy AUTOMATIC

Static value Automatic for ReadWriteEndpointFailoverPolicy.

final ReadWriteEndpointFailoverPolicy MANUAL

Static value Manual for ReadWriteEndpointFailoverPolicy.

Method Summary

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

Creates or finds a ReadWriteEndpointFailoverPolicy from its string representation.

Collection<ReadWriteEndpointFailoverPolicy> values()

Field Details

AUTOMATIC

public static final ReadWriteEndpointFailoverPolicy AUTOMATIC= fromString("Automatic")

Static value Automatic for ReadWriteEndpointFailoverPolicy.

MANUAL

public static final ReadWriteEndpointFailoverPolicy MANUAL= fromString("Manual")

Static value Manual for ReadWriteEndpointFailoverPolicy.

Method Details

fromString

public static ReadWriteEndpointFailoverPolicy fromString(String name)

Creates or finds a ReadWriteEndpointFailoverPolicy from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ReadWriteEndpointFailoverPolicy

values

public static Collection values()

Returns:

known ReadWriteEndpointFailoverPolicy values

Applies to