Class ConnectionState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ConnectionState>
com.azure.resourcemanager.peering.models.ConnectionState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ConnectionState extends com.azure.core.util.ExpandableStringEnum<ConnectionState>
The state of the connection.
  • Field Details

    • NONE

      public static final ConnectionState NONE
      Static value None for ConnectionState.
    • PENDING_APPROVAL

      public static final ConnectionState PENDING_APPROVAL
      Static value PendingApproval for ConnectionState.
    • APPROVED

      public static final ConnectionState APPROVED
      Static value Approved for ConnectionState.
    • PROVISIONING_STARTED

      public static final ConnectionState PROVISIONING_STARTED
      Static value ProvisioningStarted for ConnectionState.
    • PROVISIONING_FAILED

      public static final ConnectionState PROVISIONING_FAILED
      Static value ProvisioningFailed for ConnectionState.
    • PROVISIONING_COMPLETED

      public static final ConnectionState PROVISIONING_COMPLETED
      Static value ProvisioningCompleted for ConnectionState.
    • VALIDATING

      public static final ConnectionState VALIDATING
      Static value Validating for ConnectionState.
    • ACTIVE

      public static final ConnectionState ACTIVE
      Static value Active for ConnectionState.
  • Constructor Details

    • ConnectionState

      @Deprecated public ConnectionState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ConnectionState value.
  • Method Details

    • fromString

      public static ConnectionState fromString(String name)
      Creates or finds a ConnectionState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ConnectionState.
    • values

      public static Collection<ConnectionState> values()
      Gets known ConnectionState values.
      Returns:
      known ConnectionState values.