Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.sql; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for SyncDirection.
/** * Defines values for SyncDirection. */
public final class SyncDirection extends ExpandableStringEnum<SyncDirection> {
Static value Bidirectional for SyncDirection.
/** Static value Bidirectional for SyncDirection. */
public static final SyncDirection BIDIRECTIONAL = fromString("Bidirectional");
Static value OneWayMemberToHub for SyncDirection.
/** Static value OneWayMemberToHub for SyncDirection. */
public static final SyncDirection ONE_WAY_MEMBER_TO_HUB = fromString("OneWayMemberToHub");
Static value OneWayHubToMember for SyncDirection.
/** Static value OneWayHubToMember for SyncDirection. */
public static final SyncDirection ONE_WAY_HUB_TO_MEMBER = fromString("OneWayHubToMember");
Creates or finds a SyncDirection from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding SyncDirection
/** * Creates or finds a SyncDirection from its string representation. * @param name a name to look for * @return the corresponding SyncDirection */
@JsonCreator public static SyncDirection fromString(String name) { return fromString(name, SyncDirection.class); }
Returns:known SyncDirection values
/** * @return known SyncDirection values */
public static Collection<SyncDirection> values() { return values(SyncDirection.class); } }