toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DirectConnectGatewayAssociationState.associating:
      return 'associating';
    case DirectConnectGatewayAssociationState.associated:
      return 'associated';
    case DirectConnectGatewayAssociationState.disassociating:
      return 'disassociating';
    case DirectConnectGatewayAssociationState.disassociated:
      return 'disassociated';
    case DirectConnectGatewayAssociationState.updating:
      return 'updating';
  }
}