SyncDirection Class

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

public class SyncDirection

Defines values for SyncDirection.

Field Summary

Modifier and Type Field and Description
final SyncDirection BIDIRECTIONAL

Static value Bidirectional for SyncDirection.

final SyncDirection ONE_WAY_HUB_TO_MEMBER

Static value OneWayHubToMember for SyncDirection.

final SyncDirection ONE_WAY_MEMBER_TO_HUB

Static value OneWayMemberToHub for SyncDirection.

Method Summary

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

Creates or finds a SyncDirection from its string representation.

Collection<SyncDirection> values()

Field Details

BIDIRECTIONAL

public static final SyncDirection BIDIRECTIONAL= fromString("Bidirectional")

Static value Bidirectional for SyncDirection.

ONE_WAY_HUB_TO_MEMBER

public static final SyncDirection ONE_WAY_HUB_TO_MEMBER= fromString("OneWayHubToMember")

Static value OneWayHubToMember for SyncDirection.

ONE_WAY_MEMBER_TO_HUB

public static final SyncDirection ONE_WAY_MEMBER_TO_HUB= fromString("OneWayMemberToHub")

Static value OneWayMemberToHub for SyncDirection.

Method Details

fromString

public static SyncDirection fromString(String name)

Creates or finds a SyncDirection from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding SyncDirection

values

public static Collection values()

Returns:

known SyncDirection values

Applies to